Hi Ryan, If you want to create lighting model like sun, that's not important how far away your sun model. I think you are creating a sphere for representing sun model and you use same coordinate position for sun model and light source position.
You can prefer allocate light source position far away from your scene and allocate sun model closer for your scene. That's not change your sun models lightening operation if you want to see sun model when you look above the sky :) Or with simple changing on manipulator home position setting, you can set your asked viewing frustum. HTH.Best Regards. 2008/12/16 Ryan Morris <russell.co...@gmail.com> > OSG Community, > I'm experiencing a strange behavior when I do a setPosition on my > osg::Light. For one, I'm trying to create a sun like light and it doesn't > seem to work. but the real problem I'm having is that my viewer zooms way > out when I give my light a position like (0.0,0.0,100.0,1.0). Just an > example, but if any of the coordinates are larger than 50 or so the viewer > adjusts itself, even though i'm manually setting the camera. Any help would > be great! > -Rusty > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Ümit Uzun
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org