Hi,

I tried the code too and it works.  As White Morph pointed out
below,  vView.setSceneAntialiasingEnable(true) makes it very
slow.  Any ideas why that is?

Alejandro

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of White Morph
Sent: Monday, October 21, 2002 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] TriangleStripArray and by-reference


Sean,

I tried your code in both cases, it works. I didn't see any problem. One
thing is: " vView.setSceneAntialiasingEnable(true); " makes even this
simplest program very slow.

I have a similar question about using BY_REFERENCE, I don't know if you had
experience with it. My question is: Suppose I have a single array of
vertices, and multiple Shape3D objects using Indexed geometryArrays, they
also have BY_REFERENCE vertex format. Each Shape3D object will refer to the
single array of vertices, but they may have different set of vertex indices
array. In this case, if I change the coodinates of one vertex in one shape,
if this vertex is shared by other shapes, I suppose all those shapes will
change their geometry shape too, but it seems to me, they don't.  I am not
sure if that's the way Java3D actually behaves or not.

Thank you,  ----white

>Has anyone had any trouble with using TriangleStripArrays and coordinates
by-reference? For me, the attached test case does not display anything when
using the coordinates by-reference. Is this a bug or am I making a mistake?
>
>Sean
>

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

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