Joined: Mar 24, 2012
Post Count: 3
Status:
Offline
adding texture to a box
Hello all, When I add a texture to a box, it stretches the texture image to the size of the box face, as opposed to replicating the image....any thoughts what I am doing wrong?
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: adding texture to a box
Textures applied to the box provided with Sweet Home 3D behave differently according to the way you selected the textures: - if you apply a texture globally on the box, i.e. by selecting a texture directly from the Modify texture dialog box, then the size of the texture will be taken into account and will be truncated or repeat itself, depending on the size of the box - if you apply a texture on one or more faces of a box, i.e. through the Furniture materials sub dialog box, then the texture will be resized to fit the given face(s) of the box.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Italia
Joined: May 12, 2017
Post Count: 65
Status:
Offline
Re: adding texture to a box
Hi, sorry for resuming this but I have a question on this... I want to draw wood pieces for an attic and those have the texture of different angle of different textures on sides, so I would like to create a box and repeat the texture on their sides, so what I'm asking is if I can do with blender or other software, because I tried but Did not manage to do, reading this post seems that is due to the sweet home behaviour and not on my models, am I right?
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: adding texture to a box
You can't prepare texture mappings in Blender that won't stretch textures in the exported OBJ file when you resize your imported piece. But you could use 3 (or more) boxes instead of one in Sweet Home 3D, one for the 4 front/top/back/bottom sides, and 2 (or more) thin ones for the left and right sides. Once grouped, the textures on the boxes will behave as you expect it when you resize the group (see the file attached to this post).
---------------------------------------- BeamWith3Boxes.sh3d
(66535 bytes)
(Download count: 123)
(Beam made of 3 boxes)
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator