Skip to content

Unity editor extension for converting and exporting pretia map as ply point cloud

License

Notifications You must be signed in to change notification settings

drumath2237/PretiaMap2PLY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PretiaMap2PLY

About

Pretiaのマップファイルを.ply点群ファイルに変換するUnityエディタ拡張です。 CloudCompareとBlender2.79のplyインポータで確認済みです。 座標系の違いによって初期回転がかかっている可能性があります。

img

Tested Environments

  • Windows 10 Home
  • Unity 2020.3.20f1
  • Pretia SDK 0.5.1

Install

本パッケージはPretia SDKに依存しているので、 インストールする前にPretia SDKをインストールしてください。

本パッケージのインストールにはUnity Package Manager(UPM) を使用します。

GUIの場合

Pretia SDKをインストールしたうえで、 UPMのウィンドウから「Add package from git URL...」を押下し、 https://github.com/drumath2237/PretiaMap2PLY.git?path=/Packages/PretiaMap2PLYを指定します。

manifest.jsonを編集する場合

manifest.jsonのdependencyに本パッケージのURLを追記します。 この時Pretia SDKよりも下の行にあることを確認してください。

{
  "dependency":{
    "com.pretia.sdk": "0.5.1",
    "com.drumath2237.pretiamap2ply": "https://github.com/drumath2237/PretiaMap2PLY.git?path=/Packages/PretiaMap2PLY",
  }
}

Usage

上部のメニューからPretiaMap2PLY>Export Wizardを選択します。

img

するとウィンドウが開くので、 Selectボタンを押して.mapファイルを選択し、Exportボタンで保存場所を選択してエクスポートします。

Pretiaのマップは基本的に、Assets/Pretia/MapGroups/以下にダウンロードされます。

img

Contact

何かございましたらにー兄さんのTwitter までご連絡ください。

About

Unity editor extension for converting and exporting pretia map as ply point cloud

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages