To add to what Vladimir has said:
When using texture mapping, texture coordinates are assigned to the
vertices of the geometry to specify the orientation of the texture
image. Usually, this is done by hand. If you use a TexCoordGeneration
object in the appearance bundle the texture coordinates are assigned
at runtime. This is useful to save programming (of the texture
coordinates) and for other applications.
The TexCoordGeneration object is capable of assigning texture
coordinates as objects move to allow a visual object to 'move
through' the texture. You can't (easily) accomplish this any
other way.
TexCoordGeneration is covered in some detail in The Java 3D API
Tutorial in (the soon to be published) chapter 7.
Chapter 7 explains the three generation modes of the class and is
accompanied by example programs as well.
Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
java.sun.com/products/javamedia/3d/collateral
I'll be sure to make sure that an announcement will be made to the
list when Chapter 7 is published.
BTW, Chapter 7 is the last chapter in the tutorial (as it stands).
If you have comments, questions, or suggestions for future work
please email [EMAIL PROTECTED]
--
-----
Dennis J Bouvier
[EMAIL PROTECTED]
Vladimir Olenin wrote:
>
> This class is for Texture coords generation when u set texture on some
> shape. U can find info in many different places, among which are
> Java3D spec, Java3D documentation and Dave's tutorial at
> http://www.sdsc.edu/~nadeau/Courses/VR99/.
>
> -=V=-
> >-------<=============>-------<
> Join in Java community now!
> http://JavaCafe.VirtualAve.net/
> >-------<=============>-------<
>
> In your previous letter u wrote:
> --------------------------------
> T> What is TexCoordGeneration for? What is the form of this class?
> T> Where can I get more information about this class and how to use it??
>
> T> thanks,
>
> T> Tria
>
> ===========================================================================
> 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".