Robert Osfield schrieb:

On 5/12/06, *Andreas Goebel* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Robert,

    sorry that I´m so dumb. I´m just too stupid to set up my own cull
    visitor, it crashes without me even using it.



YOu don't need to set up a CullVisitor, the standard osgUtil::CullVisitor that SceneView manages will automatically create an appropriate frustum when it encounters any CameraNode.

Ok, now it works!

I tried lots of combinations of cull settings, probably firstly in vain, because I used the SceneViews cull-visitor, having overlooked that SceneView is derived from CullSettings as well and takes the cullSettings directly.

Thanks a lot. I would sure like to have an OpenSceneGraph - book, there are always lots of things I just can´t figure out by reading the source-code.

Having said that - it´s probably not the best method for culling false shadows, because it´s not accurate enough. So I will have to think about aligning that texture.

Regards,

Andreas


--
Andreas Goebel

Visit http://www.raumgeometrie.de to take a look at Archimedes Geo3D, a program for dynamic geometry in three dimensions!

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to