Hi Robert, I'm checking osg 1.2 version of the file osglight.cpp. Comment out lines 255 to 293. I've attached the modified file.
Thanks, Martin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, January 17, 2007 2:57 PM To: osg users Subject: Re: [osg-users] osglight Hi Martin, Which lines did you change? I have just reviewed the osglight.cpp example (in CVS) can can't spot what you might have commented back in. Robert. On 1/17/07, Martin Tapp <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm playing around with the osglight demo and found that if "geode" in > "createRoom" is commented out, then the scene's center becomes light > zero's position. How can I move the scene (mouse trackball move) with > respect to the scene's center without having the scene being offsetted > by the light's position? In other words, I'm trying to have a global > light which I can move without affecting the scene's position and > which is independent from the viewer. > > Thanks, > > Martin > _______________________________________________ > 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/
osglight.cpp
Description: osglight.cpp
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
