I may be doing something wrong, but I changed the
vertex colors near the top of the GeometryByReferenceTest example for Java3D 1.2
and there doesnt seem to be any change in the compiled result. I did
notice that after clicking the transparency item, the 'Array' item switched to
my colors. But the indexed items do not. For the indexed items, I
suspect Java3D is picking up random colors for each vertex.
In short, can I set colors for INDEXED "by
reference" geometry arrays? Or is there a bug here in 1.2? I am
particularly interested in being able to set the color for each line segment of
an IndexedLineArray using the "by reference" modality.
|