Hi Dag,

   MultiTexture has been added to Java3D 1.2 beta 1. A GeometryArray
   object or an IndexedGeometryArray object can now include multiple
   sets of texture coordinates. A TexCoordSetMap can then be defined to map
   a texture coordinate set to a particular texture unit. The texCoordSet
   parameter in setTextureCoordinateIndex is used to specify which
   texture coordinate set that the specified texture coordinate is applied
   to. If your app does not use multi-texture unit and you are using the new
   setTextureCoordinateIndex interface, then set texCoordSet to 0.

   Please refer to the spec for more details on the multi texture specification.

   Hope this helps.


Charmaine Lee
Java3D Engineering Team


> X-Accept-Language: en
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Tue, 25 Jan 2000 15:49:53 +0100
> From: Dag Magne Ulvang <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Texturing IndexedTriangleStripArray in 1.2B1
> To: [EMAIL PROTECTED]
>
> Hello.
>
> I have a application that textures a height-grid built using
> IndexedTriangleStripArray.
>
> In 1.2B1 the method:
>
> setTextureCoordinateIndices(int index, int[] texCoordIndices)
>
> is deprecated and replaced by
>
> setTextureCoordinateIndex(int texCoordSet, int index, int texCoordIndex)
>
> I am a little confused by this first parameter texCoordSet, and also my
> textured trianglestrips has disappeared!
>
> Can anyone explain what has changed?
>
> Dag Magne Ulvang
>
> ===========================================================================
> 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