Re: [osg-users] getDistanceToViewPoint not implemented in osgUtil::IntersectionVisitor

2009-03-19 Thread Robert Osfield
Hi Jason, This change would be appropriate. Although we might want to review the eye point management, and perhaps eye + view points as potentially they aren't the same. An stack for eye/viewpoint point might be need as well to cope with internal camera nodes. Robert. 2009/3/18 Jason Beverage

Re: [osg-users] getDistanceToViewPoint not implemented in osgUtil::IntersectionVisitor

2009-03-19 Thread Jason Beverage
Hi Robert, I was looking through CullVisitor and trying to get my head around the difference between the eye point and the viewpoint. Is the viewpoint stack is used to deal with internal camera nodes then? Then the eye point is the main camera's position while the view point would be used for

Re: [osg-users] getDistanceToViewPoint not implemented in osgUtil::IntersectionVisitor

2009-03-19 Thread Robert Osfield
Hi Jason, 2009/3/19 Jason Beverage jasonbever...@gmail.com Hi Robert, I was looking through CullVisitor and trying to get my head around the difference between the eye point and the viewpoint. Is the viewpoint stack is used to deal with internal camera nodes then? Then the eye point is

[osg-users] getDistanceToViewPoint not implemented in osgUtil::IntersectionVisitor

2009-03-18 Thread Jason Beverage
Hi Robert, I'm using LOD's in one of my apps to control the distance at which models first begin to appear and noticed that the IntersectionVisitor will still hit these nodes even if they are not visible. I tried setting the LODSelectionMode to USE_EYE_POINT_FOR_LOD_LEVEL_SELECTION but it still