Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1887 times and has 3 replies Next Thread
baggins
Newbie




Joined: Jan 24, 2013
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Replacing textures

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
[Apr 18, 2013, 10:58:09 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Replacing textures

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. sad
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Apr 19, 2013, 9:56:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status: Offline
Reply to this Post  Reply with Quote 
Re: Replacing textures

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
[Apr 19, 2013, 12:35:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
baggins
Newbie




Joined: Jan 24, 2013
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Re: Replacing textures

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).
[Apr 19, 2013, 3:33:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved