NVlabs / sim-web-visualizer

Web Based Visualizer for Simulation Environments
MIT License
305 stars 9 forks source link

how to adjust the point of view in the web visualizer? #4

Open xwong22 opened 10 months ago

xwong22 commented 10 months ago

Hi, thanks for the amazing work. I have finished setting up your sapien example (run_sapien_viz.py), but I have been experiencing difficulties in adjusting the point of view.

May i know how to adjust the initial point of view in the visualizer? Each time I run the code, it initializes in a awkward view point. I'm not sure if I made any mistake. Please advise, thank you!

Here is my initial point of view image

After zooming out, I realize the actual scene is on the right and is rotated. image

Even after rotating, I couldnt achieve a great point of view to observe the simulation. image

xwong22 commented 10 months ago

For your information, I have been trying to execute DexArt on sim-web-visualizer. I modified DexArt random_action.py using run_sapien_viz.py as reference. If I restart the meshcat-server and run the maniskill example, it works fine, but after running DexArt on sim-web-visualizer, this error occurs. Is there anything else I need to modify? Thank you in advance for your reply