Hi,

well.. I've tried to creat a Fog object, but some problems hapenned. (sth like "class 
Fog abstract..etc")

Then I used ExponencialFog class which fragment I'm writing below.

There are some another classes using Fog which is LinearFog, that has similar 
parameters

ExponentialFog fg = new ExponentialFog(0.0f,0.76f,0.01f,3.0f); // (red, green, blue, 
density)
        fg.setInfluencingBounds(bounds);// bounds is a BoundingSphere object
        objeto.addChild(fg);// objeto is a BranchGroup

Good Lucky!



-------------------------------------
Rodrigo Alves Miquelin

Engenharia de Computa��o 99 - UFSCar

"Have a nice Day!"
-------------------------------------

________________________________________________________________________
--> get your free, private gURLmail account at http://www.gURLmail.com!!

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to