Re: [JAVA3D] TriangleStripArray and By-Reference

2002-10-28 Thread Kelvin Chung
Sean Sylvis wrote: I sent this earlier and received minimal response. I ran the attached TestCase on a couple of systems (with the latest drivers) -- Win2000 with ATI Radeon, Win2000 with GeForce2, WinXP with SGI -- and all of them displayed the correct red sphere when using the DirectX implement

[JAVA3D] TriangleStripArray and By-Reference

2002-10-28 Thread Sean Sylvis
I sent this earlier and received minimal response. I ran the attached TestCase on a couple of systems (with the latest drivers) -- Win2000 with ATI Radeon, Win2000 with GeForce2, WinXP with SGI -- and all of them displayed the correct red sphere when using the DirectX implementation. I was una

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-22 Thread Kelvin Chung
White Morph wrote: Hi Kelvin, Thank you for your message. You proved my guess. Initially, I just thought all Shape3D objects using the same vertices array, so there is only one copy of vertex data in memory, if I change one vertex coordinates in one shape, other Shape3D objects sharing this vert

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-21 Thread White Morph
Hi Kelvin, Thank you for your message. You proved my guess. Initially, I just thought all Shape3D objects using the same vertices array, so there is only one copy of vertex data in memory, if I change one vertex coordinates in one shape, other Shape3D objects sharing this vertex will change thei

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-21 Thread Sean Sylvis
t: 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) > i

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-21 Thread Kelvin Chung
White Morph wrote: 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. If your graphics card does not support multisampling, Java3D OpenGL version will emulate it using

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-21 Thread Alejandro Allievi
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 pr

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-21 Thread Sean Sylvis
White Morph [mailto:whitemorph@;YAHOO.COM] > Sent: Monday, October 21, 2002 8: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 > thi

Re: [JAVA3D] TriangleStripArray and by-reference

2002-10-21 Thread White Morph
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

[JAVA3D] TriangleStripArray and by-reference

2002-10-18 Thread Sean Sylvis
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 TestCase.java Description: TestCase.java