In my experience, auto compute of near/far seems to not deal with ortho
projections too well. Does the problem go away if you switch to perspective?
Does the problem go away if you disable near/far auto compute?

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Andrew
Cunningham
Sent: Friday, May 22, 2009 10:56 AM
To: [email protected]
Subject: [osg-users] Driving me crazy...setting viewMatrix manually
causesGeodes to get culled

Hi,
I am not using any of the osg manipulators - I am taking full control of the
ortho projection and the viewer's camera viewmatrix using
camera->setProjectionMatrixAsOrtho() and camera->setViewMatrix().

As I rotate the model about the origin various Geodes vanish and reappear (
not being simply clipped, they pop-in and out) despite turning culling off
in the camera. This is not a backfacing polygon issue as the Geodes vanish
when not facing directly towards or away from the camera and they are closed
geometries.

If I disable my code and revert to a standard osg:: manipulator , the
problem disappears.

I suppose I am doing things behind osg's back that it does not like - but
what?


Thank you!

Cheers,
Andrew

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





_______________________________________________
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