Hi, Robert

Thanks for your advise, I think it's a near plan clipping problem. I've tried 
change the near plan param in setProjectionMatrixAsPerspective () from 0.000001 
to 1.0, but it didn't work. Could you give me some advise about how to fix this 
near plan clipping problem? Thanks.



litingbaotou
2008-04-21



发件人: Robert Osfield
发送时间: 2008-04-21 15:49:25
收件人: OpenSceneGraph Users
抄送: 
主题: Re: [osg-users] view-frustrum-culling problem in bigger scene

Hi Litingbaotou,
I can only guess that either small feature culling or near plane
clipping (done on the GPU) has clipped out the geometry, the later
being most probably the problem.  Move the camera around and observer
what happens - when you can see the plane and when you can't.  Once
you have a better handle on when you can see it you'll have a better
chance of diagnosing the problem.
One things I'd suggest its highly unlikely to be is view frustum
culling, near plan clipping is most likely.
Robert.
On Mon, Apr 21, 2008 at 8:10 AM, litingbaotou <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> In a small scene whose bounding sphere's radius is 300, I moved the eye
> point near to a plane( the distance is about 6 ), then the scene behind the
> plane could not be seen, this is a correct result.
>
> However, when the scene turned to bigger( 5000 * 5000 ), the eye point was
> at the same positon, but the scene behind the plane is visiable, it means
> the plane was culled. Besides, I tested that even I put the eye point
> further to the plane( the distance is about 20  ), the behind scene was
> still visiable.
>
> I'm using OSG2.3.7, and no ClipNode, just default visialbe culling. Could
> anyboby give me some hints? 3X!
>  ________________________________
>
> litingbaotou
> 2008-04-21
> _______________________________________________
>  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