This is a Horrible demo I modifie.
Each polygon must have its own set of independent
coordinates (vertex), but the source I have doesnot
take care about it.
So the shared vertex coordinates currupts some
textured faces.
Alessandro
import com.sun.j3d.utils.universe.*;
import com.sun.j3d.utils
Hi
Look at the constructor for GeometryInfo and then look at the javadoc
for it :)
You also probably want to be using 2D texture coords not 3D, unless you
really have 3D textures
HTH
Jeremy
--
Homepage: http://www.computerbooth.com/
Codepage: http://www.newdawnsoftware.com/
=
Hello!
Sorry to bother you again about this.
I have build a 3D-object with a couple of Shape3D objects, add them to a
TransformGroup. Now its time for the texture to the different
Shape3D-surfaces. So I guess that I have to start to set the cordinates for
the Texture before I chane my Appearance.