No, that is just to move the initial view back from the origin where the square is 
located (and the back clipping plane is around 80 units). When using by-reference, 
nothing is displayed.

Sean


> -----Original Message-----
> From: Alejandro Allievi [mailto:allievi@;acm.org]
> Sent: Monday, October 21, 2002 9:01 AM
> To: Sean Sylvis
> Subject: RE: [JAVA3D] TriangleStripArray and by-reference
> 
> 
> Hi Sean,
> 
> Just a suggestion, it may not be the source of your problem.
> 
> Have you tried decreasing the z-coordinate of Vector3d(x,y,z)
> in:
> 
> // Adjust the view z-coordinate
> Vector3d vView = new Vector3d(0, 0, 30);
> 
> If I increase the view z-coord, the object disappears at some
> point. 
> 
> Alejandro
> 
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of Alejandro Allievi
> Sent: Monday, October 21, 2002 11:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] TriangleStripArray and by-reference
> 
> 
> 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".
> 
> 
> 

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