|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: how does a funiture texture gets appled to a piece of furniture? » » » » Post: Re: how does a funiture texture gets appled to a piece of furniture? |
Print at Dec 20, 2025, 6:44:50 PM |
| Posted by Puybaret at Jul 22, 2010, 3:14:13 PM |
|
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 |
|
|
Current timezone is GMT Dec 20, 2025, 6:44:50 PM |