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().
Uma Sabada schrieb:
> Kenneth:
> Your interpretation is correct. In Java3D 1.2 there was bug that
> prevented it from working correctly. This bug is fixed in the soon to be
> released 1.2.1 beta1. For your reference, here is the bugid and description.
>
> 4338910 - change in valid vertex count not reflected in rendering when dlist is
> used.
>
> -Uma
> Java3D Team
Does the method setInitialVertexIndex() work correct ? If so, a possible workaround
for the bug would be to set the vertices starting at the highest index down to 0
and use setInitialVertexIndex(x), which prevent rendering of the vertices from 0 to
x-1. Am I right ?
===========================================================================
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".