isl-org / spear

SPEAR: A Simulator for Photorealistic Embodied AI Research
MIT License
224 stars 15 forks source link

export every editor property on every actor, export scene geometry, compute kinematic tree representation, compute collision geometry, compute mujoco scene representation #265

Closed mikeroberts3000 closed 5 months ago

mikeroberts3000 commented 7 months ago

This script outputs every property on every actor in the World Outliner in the following format. The output is quite verbose, so I'm only attaching the output for a couple of actors.

unreal_scene.json

mikeroberts3000 commented 6 months ago

Added separate pipeline script to export scene geometry.

mikeroberts3000 commented 6 months ago

Added separate script to visualize the exported scene geometry.

mikeroberts3000 commented 6 months ago

Screenshot (84)

mikeroberts3000 commented 6 months ago

Screenshot (85)

mikeroberts3000 commented 6 months ago

The pipeline now computes collision geometry in a separate pipeline stage.

mikeroberts3000 commented 6 months ago

Screenshot (89)

mikeroberts3000 commented 6 months ago

The pipeline now computes a functional MuJoCo scene in a separate pipeline stage.

mikeroberts3000 commented 6 months ago

Screenshot (91)

mikeroberts3000 commented 5 months ago

To set up the Python environment inside Unreal so it can run the scripts in the Content/Python folder, do the following steps from any command line, adjusting the paths as necessary for your machine. (As part of this PR, I will create a document explaining all the necessary steps to run the pipeline, including this setup.)

H:\code\local\UnrealEngine\UE_5.2\Engine\Binaries\ThirdParty\Python3\Win64\python.exe -m pip install --disable-pip-version-check --no-warn-script-location -e F:\code\github\spear\third_party\msgpack-rpc-python
H:\code\local\UnrealEngine\UE_5.2\Engine\Binaries\ThirdParty\Python3\Win64\python.exe -m pip install --disable-pip-version-check --no-warn-script-location -e F:\code\github\spear\python