Oops. Mixed up some API calls. Here is the correct explanation.

In the case of IndexedGeometryArray, setValidVertexCount() and
setInitialVertexIndex() apply to the index arrays.  For example, if your
coordinateIndices array has a length
of 10, and the initialVertexIndex is 2 and validVertexCount is 5, then the
coordinateIndices array from 2 to 6 will be rendered.


For GeometryStripArray, setValidVertexCount() and setInitialVertexIndex() are
ignored.

-Uma
Java3D Team



> Date: Fri, 10 Nov 2000 10:19:29 -0800 (PST)
> From: Uma Sabada <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] setValidVertexCount again
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> MIME-Version: 1.0
> Content-MD5: qQycjNFxI0KjGxUNqOCx3g==
>
> In the case of IndexedGeometryArray, setValidIndexCount() and
setInitialVertexIndex()
> apply to the index arrays.  For example, if your coordinateIndices array has a
length
> of 10, and the initialVertexIndex is 2 and validVertexCount is 5, then the
> coordinateIndices array from 2 to 6 will be rendered.
>
>
> For GeometryStripArray, setValidIndexCount() and setInitialVertexIndex() are
> ignored.
>
> -Uma
> Java3D Team
>
> > X-Warning: VM230.AKH-WIEN.AC.AT: Host LYMNAEA.imc.akh-wien.ac.at claimed to be
> akh-wien.ac.at
> > X-Accept-Language: de
> > MIME-Version: 1.0
> > Content-Transfer-Encoding: 7bit
> > Date: Fri, 10 Nov 2000 14:58:47 +0100
> > From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]>
> > Subject: [JAVA3D] setValidVertexCount again
> > To: [EMAIL PROTECTED]
> >
> > Hi again !
> > C'mon I'm sure one of you can answer this question (this is my 3rd try)
> > at least the engineers from sun.
> > Or are this questions too simple ? (But there have been answers to much
> > simpler questions on this list)
> >
> > I' ve just a question about how setValidVertexCount( ) works in
> > IndexedGeometryArray class.
> > The documentation says:
> >
> > Sets the valid vertex count for this GeometryArray object. This count
> > specifies the
> > number of vertices actually used in  rendering or other operations such
> > as picking and collision. This attribute is
> > initialized to vertexCount.
> >
> > What is the function of this method in IndexedGeometryArray classes or
> > is this method just ignored ?
> > What happens if I use indices of vertices over the range of the valid
> > vertex count ?
> > Why is there no equivalent method setValidIndexCount( ) which allows me
> > to specify
> > the number of indices rendered ?
> >
> > Same questions for setInitialVertexIndex().
> >
> > How do I change the number of stripes rendered in GeometryStripArrays ?
> >
> > ===========================================================================
> > 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