rohanpsingh / mujoco-python-viewer

Simple renderer for use with MuJoCo (>=2.1.2) Python Bindings.
BSD 2-Clause "Simplified" License
163 stars 24 forks source link

Added Con[V]ex Hull and Shad[O]ws Rendering #7

Closed rohit-kumar-j closed 2 years ago

rohit-kumar-j commented 2 years ago
from deepmind/mujoco/discussions/336 Normal Convex Hull
No Shadows Shadows
rohanpsingh commented 2 years ago

Hi @rohit-kumar-j Thanks for the PR.

This PR fails with the following:

AttributeError: 'MujocoViewer' object has no attribute 'callbacks'

Is it because I didn't merge PR #5 yet? If yes, could you please make it work with the main? Then, I'll make the changes for putting the callbacks in a separate file myself.

rohit-kumar-j commented 2 years ago

Made the changes. It should work now. Sorry about that. Callbacks were not ready yet.