Title: Background Node/objects and Fog
So we'd have fog in both background, and the rest of the scenegraph?  Not possible to add the node at a higher level?
 
Regarding oriented shapes, thats what I suspected.
 
I suspected the "scope" in the fog node is what I needed.  Is there any good docs on use of scoping?  All the Sun docs I've looked over is pretty vague regarding that area.  I basically need to skip foggin on a couple of nodes.
 
Thanks,
Scott
-----Original Message-----
From: Doug Twilleager [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 3:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Background Node/objects and Fog

To get fog to apply to background geometry, you need a fog node in the background
geometry scene graph.

To get better control of fog application, try using the scoping methods in the Fog nodes.
This will allow you to limit their scope to certain subgraphs.

And, we didn't put OrientedShape3D in the list of invallid background geometry nodes,
but they will not work as expected because of transform issues.

Doug Twilleager
Java 3D Team
Sun Microsystems

Smith, Daniel wrote:
[EMAIL PROTECTED]" type="cite">

If I'm not shunned from the list for the console comments I just posted (lol), I have a question...

Has anyone been able to work around fog not showing up on background nodes, or absolutely showing on everything else?  I should also ask is there even an advantage to using a background node, compared to translating your background geometry manually?   Is a background node shape  equidistant from the viewpoint, and therefore would have fog applied evenly over it's entire area?  Will cousin Bill find true love?

More specifically, I want to control fog over certain objects, and I don't want my sun/moon/cloud/etc oriented shape 3d's to be fogged... and it gets very tricky to keep those objects close enough to not be fogged, but far enough not to sink into terrain or other objects... I've seen some leaf references in the docs but not sure how they work... so really I want the fogging to skip them.  And I don't want them to be part of the background nodes (I can't seem to get that to work with orientedshape3d's).


Scott


Reply via email to