Hi Cristina,

Take it with the grain of salt, as I am not completely sure if this is similar problem, but we saw a cases where some StateAttributes set in graph nested cameras did not work. Usually solution was adding a group to the camera and setup the stateset and scene there. Can you check if this works for you ?

If I recall correctly I did small research and noticed that stateset in the camera are applied before camera is switched to its rendering surface. I don't exactly understand why this could cause problems but the method described above was usually avoiding the trouble.

Cheers,
Wojtek Lewandowski

----- Original Message ----- From: "Tueller,Shayne R Civ USAF AFMC 519 SMXS/MXDEC" <[email protected]>
To: <[email protected]>
Sent: Monday, June 01, 2009 10:31 PM
Subject: Re: [osg-users] Set fog in the canera StateSet


_______________________________________________
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