hello,

short info: I have a problem with intersecting GeometryArrays. help me
please.

long version:
in case there are 2 geometryArrays having intersecting parts (they share
partly the same location), how is decided which one is actually to be
rendered? which will be visible?

example:
let's take the easyContent GeomInfoApp.java example from sun. there are
faces and surrounding edges. the faces and the edges share common
coordinateData. the problem is more visible when you add a lineArray
located inside a face (within the same plane) (and maybe increase the
lineWidth to let's say 5.0f). now move the objects (by an auto morphing
or some RotateMouseBehavior, doesn't matter). the lines are flickery (I
don't know if that is the correct keyword for it). the effect is
independent of the order in which the correspondent 2 shape3Ds are added
to the transformGroup. it seems to me that most of the time a line
inside a face will be visible, but with reduced linewidth...and there
are moments when parts of the line are completely vanishing into the
face. how can I give the edges a higher priority over the faces, so that
in the intersection areas they are favored?

the only 'solution' I see would be to slightly modify the vertices data
so the 2 arrays actually do not intersect, but are only touching. but
this is not so very nice.

sorry if I missed s.th. in the archives or faqs.

--kb

===========================================================================
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