google-deepmind / mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.
https://mujoco.org
Apache License 2.0
8.27k stars 827 forks source link

Mesh Rendering Issues #2095

Closed ilileun closed 2 months ago

ilileun commented 2 months ago

Issue 1: Mesh Rendering Problem with Large Numbers of Objects

When spawning objects randomly at desired locations (10-30 objects), everything works fine. However, when spawning 40 or more objects, the meshes don't render correctly. For example, a lemon that should be yellow appears white, indicating that its mesh isn't being applied properly. Current Behavior

Spawning 10-30 objects works correctly
Spawning 40+ objects results in incorrect mesh rendering

Expected Behavior

All objects should render correctly regardless of the number spawned

Question

Is there a way to resolve this issue and ensure proper mesh rendering when spawning larger numbers of objects?

rgb_image_20240926_192000