Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

Feature requirement. Disable visualization for specific `group` defined in MJCF.

Open Riften opened this issue 2 months ago • 0 comments

Refer to Mujoco XMLReference, the group attribute of geom element is designed to

group: int, “0” This attribute specifies an integer group to which the geom belongs. The only effect on the physics is at compile time, when body masses and inertias are inferred from geoms selected based on their group; see inertiagrouprange attribute of compiler. At runtime this attribute is used by the visualizer to enable and disable the rendering of entire geom groups. It can also be used as a tag for custom computations.

But I can not disable the visualization for certain group when loading MJCF through genesis.morphs.MJCF. Is there any plan to implement such a feature in the future?

Riften avatar Dec 21 '24 12:12 Riften