Hi

Sounds like it could be a bounding sphere/box issue 

How are you loading and creating the point cloud ?

You might possibly have one or more errant points that are out side the
range/volume of all the other points of a geode

Depending on how your loading/creating the geodes,  you should check the
bounding box/spheres against the expected
Extents of the point cloud for the geode etc...



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Powers
Sent: Thursday, April 24, 2008 12:08 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Point cloud culling/paging

I should mention that perfect square sections of the point cloud will be
missing.   

 
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Powers
Sent: Thursday, April 24, 2008 11:39 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Point cloud culling/paging

Thanks for the reply.

I thought the near clippling plane might have been the problem but its not
clipping the terrain adjacent to the points.

It also makes me wonder why this would only happen if the terrain is
visible.

I've set my near clipping plane to .1 and the far to 1000.
The camera I'm using is the default one created by the viewer. 

double fovY, aspectRatio, near, far;
mcam->getProjectionMatrixAsPerspective(fovY, aspectRatio, near, far); 
mcam->setProjectionMatrixAsPerspective(fovY, aspectRatio, .1, 1000);

mcam
->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
mcam ->setCullingMode(osg::CullSettings::NO_CULLING);

Even with these settings the problem still occurs.

Any other Ideas?
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, April 24, 2008 11:25 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Point cloud culling/paging

On Thu, Apr 24, 2008 at 4:22 PM, Robert Osfield <[EMAIL PROTECTED]>
wrote:
> HI Steve,
>
>  It's much more likely that near plane clipping is at fault than  
> culling, unless your bounding volume for the point clouds is not  
> correct.

I should clarify, when I said "near plane clipping is at fault" I didn't
mean to imply that it might be a bug lurking, but that even normal near
plane clipping by can result in parts of the scene looking like they are
being culled.  The near and far planes are totally under your control so if
you want you can set them explictly to what you want.  So rather than a bug
is just an aspect of OpenGL/OSG rendering that one has to be aware of and
mange accoridingly.

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


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

Reply via email to