I am trying to figure out how to apply a texture map to various polyhedra
which I define (i.e. not using built in primatives) like the tetrahedron,
octahedron, cube, icosahedron, etc.

I want to use the earth.jpg texture (Earth image) used by the Java Demo
ConicWorld.

I can't figure out how to define the vertex coordinates to map the rectangle
of the texture image onto the polyhedra.  So I thought I would try
TexCoordGeneration, but I can't seem to figure out the correct parameters to
use.  I get multiple copies of the texture image, rather than one world
image projected (wrapped) onto the polyhedron.

Does anyone have an example of using a texture map to wrap around a shape
once?

Also, I have my polyhedra spinning like in ConicWorld.  Using
TexCoordGeneration, the texture *does not spin* as the polyhedron is spun.
This is a cool effect, but not what I want.  I want the texture to spin with
the object.

Any help?  How do you take the rectange of the texture map and wrap it
around the polyhedra to make it look like the World projected onto the
polyhedra?  (Particularly when the North/South Poles are not vertices of the
polyhedron.)

Cheers,
Bob Gray

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