bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
http://bulletphysics.org
Other
12.72k stars 2.88k forks source link

Cannot render the whole URDF model with OpenGL3 #4618

Open SJTU-gzh opened 6 months ago

SJTU-gzh commented 6 months ago

Hello everyone: I am having some trouble rendering a robot URDF model in GUI mode with OpenGL3 visualizer. Part of the robot model is visually missing after a specific link, but physically all these missing links and joints can be controlled using p.setJointMotorControl2 (they can also be dragged directly in the GUI). When I use the OpenGL2 visualizer, it seems to be fine. So I guess something may have gone wrong when rendering with OpenGL3? I would like to have a fully rendered robot model with OpenGL3. Hope to get your advice, thanks very much!

SJTU-gzh commented 6 months ago

render with openGL3 (fail) Screenshot from 2024-05-24 11-46-49 render with OpenGL2 (success) Screenshot from 2024-05-24 11-47-10