> > From: Dola Woolfe [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 15, 2001 12:16 PM
> > To: [EMAIL PROTECTED]
> > Subject: [JAVA3D] setTextureCoordinate question
> >
> >
> > Hi,
> >
> > JBuilder complains that setTextureCoordinate(int,
> > Point3f) is deprecated. Is it really? Everybody seems
> > to be using it...

>From now on you should use TexCoord2f and TexCoord3f with
texture coordinates.  We shouldn't have used Point2f and
Point3f in the first place.  When we went to add 4D
texture coordinates, we ran into a problem because there
is no Point4f and it doesn't make sense to add it.

> Date: Wed, 15 Aug 2001 09:05:13 -0400
> From: DigitalSedition Developer Relations <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Deprecated TriangleArray.setCoordinate( index, coord[] )?
> To: [EMAIL PROTECTED]
>
> Hi folks, I was rebuilding some old code and I noticed that
> GeometryArray.setCoordinate( index, coord[] ) has been
> deprecated. I was curious to learn the reason for this...

Are you referring to the setTextureCoordinate* methods?  They
have all been replaced with methods that take an extra
parameter indicating the texture coordinate set, to support
multi-texture.  If you are just using one texture, just add
"0" as the first parameter of all your *textureCoordinate*
methods and the "deprecated" message should go away.

This is all in the javadoc.

-Paul

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