Hi Andreas, thanks for your suggestion...

> I ran into just the same problem a few days ago. I wasn't sure if this
> is a real bug and wasn't able (because of time manners of my project) to
> create a test program - maybe you can. A workaround may be to use a
> simple TriangleArray instead of a TriangeStripArray. It uses more Memory
> but the result should be fine :-)

Yeah, I can do that workaround for some cases, but for some reasons I
use the
com.sun.j3d primitives like cylinder and sphere to generate my geometry.
Then
i read the geometry from these and do my stuff.

Unfortunately the cylinders create TraingleStripArrays for their bodies
(and
for completeness TriangleFanArrays for the bottom and top geometry)

A workaround would therefore mean:

* generate cylinder with sun primitive classes
* read geometry from the generated shapes
* for TriangleStripArrays:
        * convert the TriangleStripArray to a TriangleFanArray
          (uff, that sounds nasty to me, you have to keep track of normals aso)
* be happy

So for the nasty part, i hope some sun boy/girl keeps me from doing
stuff like that
by enabling the picking for TriangleStripArrays.


Best regards
Karsten
begin:vcard
n:Fries;Karsten
tel;work:+49-6221-4038-384
x-mozilla-html:FALSE
org:Lion Bioscience AG
adr:;;Waldhoferstrasse 98;Heidelberg;;;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-cpt:;24864
fn:Karsten Fries
end:vcard

Reply via email to