(fwRenderOgre): add a depth technique to the VR
Description
Add a new technique to the volume rendering in order to display the depth of the volume.
- RayTracedVolumeDepth_FP: new fragment shader that displays the volume depth.
- OffScreenRenderWindowInteractorManager: fix the rendering by calling the specific target instead of all targets.
Remove a double connection in ::visuOgreAdaptor::SInteractorStyle
.
How to test it?
add compositors="Depth"
in OgreViewer/OgreGenericScene.xml
to the default layer of the SRender
<layer id="default" depth="2" transparency="HybridTransparency" numPeels="3" compositors="Depth"/>