Puybaret
Expert
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
|
|
Re: how does a funiture texture gets appled to a piece of furniture?
|
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.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
|
[Jul 22, 2010, 3:14:13 PM]
|
|
[Link]
|
|