Re: [osg-users] Fog problem

2008-07-10 Thread Robert Osfield
Hi Eric, What happens when you run: osgprecipitation lz.osg Robert. On Thu, Jul 10, 2008 at 11:22 AM, Eric ZAREMBA [EMAIL PROTECTED] wrote: Hi, Since yesterday, I have a problem with fog. When I turn it one, my scene becomes black, even if I deactivate the lighting. It is very

Re: [osg-users] Fog problem

2008-07-10 Thread Eric ZAREMBA
 : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Robert Osfield Envoyé : jeudi 10 juillet 2008 13:00 À : OpenSceneGraph Users Objet : Re: [osg-users] Fog problem Hi Eric, What happens when you run: osgprecipitation lz.osg Robert. On Thu, Jul 10, 2008 at 11:22 AM, Eric ZAREMBA [EMAIL

Re: [osg-users] Fog problem

2008-07-10 Thread Robert Osfield
On Thu, Jul 10, 2008 at 12:29 PM, Eric ZAREMBA [EMAIL PROTECTED] wrote: Now, I think it is normal to obtain undefined result if I enable fog without set the other attributes... But I still ask me why it worked until yesterday, since I introduced precipitation two weeks ago! I can't answer

Re: [osg-users] Fog problem

2008-07-10 Thread Paul Martz
Now, I think it is normal to obtain undefined result if I enable fog without set the other attributes... If you enable fog, behavior is defined. In OpenGL, the defaults are: FOG_MODE is EXP FOG_DENSITY is 1.0 FOG_COLOR is 0,0,0,0 FOG_COORDINATE_SOURCE is FRAGMENT_DEPTH I don't believe

Re: [osg-users] Fog problem

2008-07-10 Thread Jean-Sébastien Guay
Hello Eric, Computers drive me crazy! good will be the retirment, I will breed rabits. I don't have any input into your specific problem, but I just wanted to let you know you made my day with that line! My co-workers liked it too. :-) J-S --