openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.85k stars 815 forks source link

Wired rendering result #767

Closed baoyufuyou closed 1 year ago

baoyufuyou commented 1 year ago

Describe the bug I firstly add one sphere in position(0.2,0.2,0.2) and with size 0.1. In +x axis +y axis and +z axis, there are cubes placed. image Then I rendered with mujoco_py.MjRenderContextOffscreen, image Current it seems already correct with the Y-axis mirroring. Close this issue To Reproduce

Expected behavior

I rendered with open3d with similar scene

render.setup_camera(42.50614595288023, [0, 0, 0], [0, 0, 1], [0, 1, 0])
# setup_camera(vertical_field_of_view, center, eye, up): sets camera view using bounding box of current geometry

image

Error Messages

Desktop (please complete the following information):

Environment

Additional context