-----Original Message-----
From: Doug Twilleager [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 4:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Background Node/objects and Fog
Smith, Daniel wrote:
[EMAIL PROTECTED]" type="cite">So we'd have fog in both background, and the rest of the scenegraph? Not possible to add the node at a higher level?
No, because background geometry really is a completely independent subgraph that does not interact
with anything else in the scene graph.
[EMAIL PROTECTED]" type="cite">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.
You could try our tutorial, or some Java 3D course slides on our web site. There should be some
examples in there.
Doug.
[EMAIL PROTECTED]" type="cite">Thanks,Scott-----Original Message-----To get fog to apply to background geometry, you need a fog node in the background
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
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
Title: Background Node/objects and Fog
That
makes sense.
I'll
check the slides, I didn't see anything in the examples but it's been awhile
since I looked there.
I
can't believe I said "foggin". I'm not a redneck.
"fogginG."
Thanks,
Scott
- [JAVA3D] Background Node/objects and Fog Smith, Daniel
- Re: [JAVA3D] Background Node/objects and Fog Doug Twilleager
- Re: [JAVA3D] Background Node/objects and Fog Smith, Daniel
- Re: [JAVA3D] Background Node/objects and Fog Doug Twilleager
- Smith, Daniel
