Hi,
I am trying to manually effect near and far clipping planes based on camera
altitude in my app. Essentially, I do this:
Camera()->getProjectionMatrixAsPerspective(_fov,_ratio,_near,_far);
Then based on some criteria, I might change the near or far clip planes.
_near = _nearNew;
_far - _far
Hi Mike,
Where and when are you updating the projection?
Also you can hook into the near-far computation callback to modify the
calculated values.
Cheers
Sebastian
Hi,
I am trying to manually effect near and far clipping planes based on camera
altitude in my app. Essentially, I do this:
Ca
In a post frame callback.
...
Thank you!
Cheers,
Mike
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65412#65412
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscen
3 matches
Mail list logo