hi gaoming,

i believe you misunderstand the use of the geometryinfo class :
you can give your indexedtrianglearray as input to a geometryinfo object
do some processing on your array (ie generate normals)
then retrieve the modified version of your indexedtrianglearray from the geometryinfo object
I suggest you look at the geometryinfo example in the sun tutorials to get a clean explanation :)
I believe it is chapter 2 or something , near the loader classes

gaoming fu wrote:

 

Hi, Mattie:

Thank you very much. My understanding is that the NormalGenerator works only for  GeometryInfo and GeometryInfo does not support setCapability(). Is this true? I want to give the users opportunity to change the color of side faces and height of polyhedrons. So I used  IndexedTriangleArray instead of GeometryInfo.

Gaoming

Reply via email to