On 9/8/06, Joakim Simonsson <[EMAIL PROTECTED]> wrote:
>From the osgEphemeris documentation:
Could you try the following? Instead of calling this on Sphere, call it on the EphemerisModel itself. In the Viewer code, main.cpp about line 92, insert this:
ephemerisModel->setCullingActive(false);
... and see if that gives you the results you need. If it is, well set that in the ephemerisModel constructor for the default behavior. Let me know.
-don
Hi,
(I hope it's ok to discuss osgEphemeris on this list)
>From the osgEphemeris documentation:
For discussion on osgEphemeris, its use, questions, contributions to improving it, please join the osg-users list .
I am playing around with osgEphemeris. It seems that when I set the
skyDomeRadius to 10000 meters, and position the viewer outside this radius
the entire skydome is culled. Even if the skyDome moves with eyepoint.
In Sphere.cpp @ Line 67:
osg::Geode *geode = new osg::Geode;
If I disable the culling of that Geode, everything works perfectly:
geode->setCullingActive(false);
Is this the best way to ensure that the sky doesn't get culled?
Could you try the following? Instead of calling this on Sphere, call it on the EphemerisModel itself. In the Viewer code, main.cpp about line 92, insert this:
ephemerisModel->setCullingActive(false);
... and see if that gives you the results you need. If it is, well set that in the ephemerisModel constructor for the default behavior. Let me know.
-don
--
Joakim Simonsson
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
