Live plotting/ Draw objects in scene #446
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
IIUC you mean that you want to draw 3D objects directly in the scene, correct? |
Beta Was this translation helpful? Give feedback.
-
In that case you can follow the patterns in The place to follow down from There is a fairly straighforward |
Beta Was this translation helpful? Give feedback.
In that case you can follow the patterns in
engine_vis_visualize.c
.The place to follow down from
simulate
, btw, is themjv_updateScene
call.There is a fairly straighforward
mjvScene
struct, you add geoms to it and they get rendered. Please excuse the abnormally longmjv_addGeoms
function... we should break it up 🙂