google-deepmind / google-deepmind/mujoco

API function on Python Viewer to inject textures independently from mjModel

Open
#2,362 3 comments 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
15.2k
Forks
1.8k
Avg merge
10d 16h
Merged PRs (30d)
25

Description

### The feature, motivation and pitch

The ability to add a new geom to the user_scn in the Python viewer is quite powerful in building and updating all sort of visualization needs -- from annotation to sensor data viz. We have been using this functionality extensively.

For a newly added geom, we also want to add and use a new user texture & material. This feature is currently not supported. This is a missed opportunity as it can unlock a wide variety of cool visualization features on top on simulation which should be lean and thin.

After discussion with @yuvaltassa and @saran-t, it was proposed that we use "a new API function to inject textures and materials independently from mjModel".

Starting this request to track the developments.

### Alternatives

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.