I don't use TexCoordGeneration in the texture unit states. I generate the
 texture coordinates "by hand" when I calculates normals and coordinates
when
 I build the content of the geometry array.

 Creation of the TextureUnitState:

         TextureUnitState vTextureUnitState = new TextureUnitState();
         vTextureUnitState.setTexture(pTexture);
         vTextureUnitState.setTextureAttributes(  .... );
        .... No usage of TexCoordGeneration

  Building of geometry array:

                 // coordinates and normals....
                 vGeometryArray.setCoordinate(..);
                 vGeometryArray.setNormal(...);

                 // texture coordinates
                 for each texture unit state defined in Appeareance {
                     vGeometryArray.setTextureCoordinate(vCurrentTextureSet,
                         vGeometryArrayIndex,vTextureCoordinate);
                 }

 If the elements are -1 I get the same colorisation no matter if texture
 coordinates generated or not, when the geometry array are build.
>
> ----- Original Message -----
> From: "Charmaine Lee" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 18, 2001 8:44 PM
> Subject: Re: [JAVA3D] Semantics for texCoordSetMap - Strange
colorisation?!
>
>
> > Allan,
> >
> >         Did you specify TexCoordGeneration for the two texture unit
> states?
> >
> > Charmaine Lee
> > Java3D Team
> >

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