Open SeanCurtis-TRI opened 2 weeks ago
Is it possible to define camera body glTFs with backface culling or somesuch, so that sensors placed inside of them would just not see the mesh in the first place, no configuration changes required?
The recent model that prompted us to write this up has "doubleSided":true,
-- can we just change that to "false" and call it a day?
In a simulation with multiple cameras, we want the following:
There is no mechanism to intuitively satisfy all three goals. Realistic intrinsics/extrinsics would put the camera sensor on the interior of the camera geometry (which is where it is in the real world). As such, the GL sensor will see the camera geometry in its own image.
Possible solutions based on current technology:
<drake:accepting_renderer>
Possible alternatives:
<drake:accepting_renderer>
tag to accept a regular expression instead of literal string matching.RenderCamera
is not available at the renderer level.<sensor>
and<camera>
tags?The goal would be:
RenderEngine
instance to reduce runtime cost of updating state.