Hi,

 I have actually problem with the far/near plan, by using the osgEarth, I want 
to reprensent for example an object on the earth that could be of the size of 
1meter, of course by computing the near plan and the far plan  by moving close 
to the box the object is clipped, after reading some topic on the forum I try 
to apply the method by setting 2 camera , they share the same graphic context, 
for one I define DO_NOT_COMPUTE_NEAR_FAR for the other one 
COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES, then when a redraw is needed , I look 
for the position of the camera and if its close to the earth for example I 
switch to the camera that dont have the compute near far, and if you zoom out i 
switch the camera again to have the one that compute the near far automatically.

The problem I get is after 2 changement of camera , atioglxx crash without 
further information...  is there something wrong in the way I am doing it ?



Thank you!

Cheers,
Thomas

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24962#24962





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to