|
Ok, in response to the message below. Thank
you for responding to my question! Your response was very helpful
actually. It does turn out that my problem was due to (a bug?) with
Transparency and overlapping objects. The problem occurs even if the
Appearance of your objects which are "overlapping" has a TransparencyAttribute
set (even if the transparency on all objects is 0.0f ). This kinda sux
though, since I was planning on having one of the objects in my group being
semi-transparent. Anyone have any suggestions on how to work around this
problem?
----- Original Message -----
Sent: Friday, October 22, 1999 6:18
PM
Subject: Re: [JAVA3D] Problem with
grouping several objects
Are any of your objects partially transparent? I heard
there was a defect with how translucent objects were drawn when
overlapping each other.
This bug you're seeing might not have anything to do
with the fact that your Shape3D's happen to be in the same
group.
- Anselm Hook
Hi All,
I'm wondering if anyone out there has some
insight on this. I created a class which defines several different
custom Shape3D objects. All of these objects in the class are add to a
single 'Group' object, and the getShape() of this class returns the Group
object. This is so that I can add the single large group of objects as
"one" Shape to the scene graph and transformations on that group will affect
the entire object.
My problem is that for some reason, when I
create one of these objects and add it to my scene, some of the
"individual" Shape3D objects from the original class seem to "overlap" each
other. The group as a whole still transforms as one object, but the
individual pieces that make up the group this problem. For
example, a large cube-like object seems to cover a plane-like object,
even though the plane is closer to the viewer (z-buffer). Does anyone
know why this might happen? Any help would be
appreciated.
Steve
Grenier
|