Re: how does a funiture texture gets appled to a piece of furniture?
by Puybaret » Thu Jul 22, 2010 3:14 pm
jjohnsson, texture corrdinates are computed with
TexCoordGeneration Java 3D class.
Look at setMaterialAndTexture method in
HomePieceOfFurniture3D class. If you want to see how texture coordinates are computed with TexCoordGeneration class in OBJECT_LINEAR mode, see generateTextureCoordinates in
OBJWriter class.