According to the API, you need to use setInitialCoordIndex (not
setInitialVertexIndex) when the geometry is BY_REFERENCE.

Raffi

-----Original Message-----
From: Artur Biesiadowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 7:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Geometry by Reference Techniques


Zak Nixon wrote:

> If my default length of my array, and the number of points do not
> EXACTLY match up, what then? I have extra positions in my array that
> will point to null.
>
> My question: How do I fill up these last positions with valid
> vertices, but doesnt distort/mess up my original geometry?


GeometryArray.setValidVertexCount

if you want to have also unused vertices at start of array,

GeometryArray.setInitialVertexIndex

look in GeometryArray javadoc for exact interface.

Artur

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