Skip to content

Used to convert json files generated by procthor into usd files.

License

Notifications You must be signed in to change notification settings

zhiyuan-gao/procthor_model_usd_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

procthor_model_usd_converter

This repository is used to convert JSON files generated by procthor into USD files. Currently, it only supports Windows.

How to use this repo?

1. Clone the AI2-THOR repository

git clone https://github.com/allenai/ai2thor.git

2. Install the Unity 2020.3.25f1

3. Install the USD Package.

See the documentation of the package https://github.com/Unity-Technologies/usd-unity-sdk/blob/dev/package/com.unity.formats.usd/Documentation~/index.md. Don't forget to add the Assembly Definition References, see the https://github.com/allenai/ai2thor/tree/main/unity#add-third-party-plugin.

4. Enter the folder ai2thor/unity/Assets/Scripts, clone this repo here.

git clone https://github.com/zhiyuan-gao/procthor_model_usd_converter.git

5. Open Unity, add a new game object in an empty scene. Add the JsonReader script to the game object.

Input the json file path and the output folder's path. Click 'ReadJson'.

About

Used to convert json files generated by procthor into usd files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages