Replacing textures

This topic has been viewed 2295 times and has 3 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
baggins
Posts: 13
Joined: Thu Jan 24, 2013 11:44 am

Replacing textures

Post by baggins »

When designing a home it is sometimes useful to change the texture of the walls to see the effect of using another type of brick or using some other kind of material.
I have found no other way of doing this apart from replacing the texture for every individual wall. (I know that I can select multiple walls, but with a multilevel home, this can be quite tedious).
I thought of doing a search and replace of the texture in the sh3d file, but couldn't quite figure out the structure of the file...

Any tips?

TIA
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Replacing textures

Post by Puybaret »

There's a need for multiple selection across multiple levels, but I didn't find the good feedback to show this kind of selection to the user yet. If it's technically possible, what about displaying some kind of indicator in the tab of the levels where some items are selected?
I thought of doing a search and replace of the texture in the sh3d file, but couldn't quite figure out the structure of the file...
The structure is simple: it's a zip file with a Home entry for the home data and numeric entries (0, 1, 2, 3...) for the 3D models files and the images used in the designed home.
So, you should create a backup of your sh3d file, open it with a zip utility (maybe changing its extension by zip first), and edit each of the entries until you find the image you want to replace. The biggest problem is that zip entries don't have any extension so it's not easy to guess if it's some text or an image. [:(]
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Replacing textures

Post by hansmex »

Multiple selection across more than one level could be achieved by holding the SHFT or CTRL-key while selecting. This is already possible in the furniture list (SHFT = sequential selection, CTRL = non-sequential), but it could be made possible also in the 2D window. SHFT would select only on one level, CTRL would enable selections over more than one level.

To show which selection is being made, my solution (for which I asked a few years ago) would be to introduce a furniture list with two tabs: (1) furniture and (2) walls/rooms.

Hans
Hans

new website - under constuction
hansdirkse.info
baggins
Posts: 13
Joined: Thu Jan 24, 2013 11:44 am

Re: Replacing textures

Post by baggins »

Thanks for the feedback.

I found out that for the particular home I am working on, the texture that I used for the outside of the walls is actually stored three times in the sh3d file...

As for selecting multiple walls: for this to work correctly, all walls need to be drawn in the same direction, if one only wants to change one side of the walls (as in my case).
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests