RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.29k stars 1.26k forks source link

Need a tutorial on configuring lights/shadows for RenderEngineVtk #22060

Open SeanCurtis-TRI opened 1 day ago

SeanCurtis-TRI commented 1 day ago

Is your feature request related to a problem? Please describe. Configuring lighting in RenderEngineVtk can be tricky. It includes such interesting topics such as:

A tutorial to help end users understand how to better configure their lights would simultaneously better inform them of what is (and what is not) possible but also improve workflows so they can achieve a desired end result more efficieintly.

It can/should also include CameraConfig and RenderEngineVtkParams. Making mention of the other RenderEngine implementation is worthwhile but they need not be featured.

Describe the solution you'd like Add to our deepnote tutorials.

Describe alternatives you've considered n/a

Additional context ~One of the single greatest challenges is being able to show the rendered images in the tutorial. (Or, akin to meshcat, be able to stream them to some other URL so that the user can open another browser window to see the image.) However, embedded would be preferred.~ As pointed out below, embedded images has already been done.

jwnimmer-tri commented 1 day ago

One of the single greatest challenges is being able to show the rendered images in the tutorial.

The rendering_multibody_plant tutorial already has examples of render engine images displayed inline in the notebook. That's only still frames (not live video) but for a static tutorial that's the best we can do.

SeanCurtis-TRI commented 1 day ago

Blech. I skimmed the tutorial list too quickly. I should've at least looked in the 'r's for "rendering". Thanks.