HI Glenn,
The osg::Camera/RTT mechanism has explict support for inheriting the
parents view point for the purpose of LOD calculations. Simple use:
camera-setReferenceFrame(osg::Camera::ABSOLUTE_RF_INHERIT_VIEWPOINT);
This is what osgShadow does for making sure the shadows use the same
LOD's
Robert,
That works, thank you!
However... I found that the ClusterCullingCallback doesn't cooperate. It
looks like the CCC uses getEyePoint() to do its test. I changed it to use
getViewPoint() and it seems to work properly. Let me know whether you
concur, and if so I will submit the change.
Hi friends,
I have a graph under an RTT camera. That graph contains PagedLODs. Of
course, I want the cull traversal to load the PagedLODs based on my main
scene camera, and NOT based on the RTT camera's location.
I've tried a couple of things:
1) Calling CullVisitor::pushReferenceViewPoint on
On 10/4/2011 3:10 PM, Glenn Waldron wrote:
Hi friends,
I have a graph under an RTT camera. That graph contains PagedLODs. Of course,
I want the
cull traversal to load the PagedLODs based on my main scene camera, and NOT
based on the
RTT camera's location.
I've tried a couple of things:
4 matches
Mail list logo