France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Wall two tone
You can try the recommendations in this document or create superimposed walls at different levels.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Hi to all, I'm new with SweetHome and starting with the same problem:
In the kids room I have a two-color painted wall. The 1st 120cm are painted with a kind of purple and the rest up to the ceiling is plain white. So I created a texture with both colors and imported it to SweetHome. In the import options I adjusted the height of the texture to the height of the wall (e.g. 250cm). The texture will be shown but the purpled tile is centered in the middle with TWO white stripes - one at the bottom and one at the top.
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Wall two tone
I guess it's because the room you created is at a upper or lower level, and the start point from which the texture is drawn is always at a 0 elevation, repeating itself from this point (even if the wall starts at a higher elevation). I could change this behavior by starting to draw the texture at the bottom of each wall. It would make life easier for you and others with the same problem, but it would be less handy for people who want to draw walls with the same texture at intermediate levels, and even create incompatibilities with what they obtained in previous versions.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Wall two tone
Since the change wasn't difficult, I made a test to evaluate whether it's worth it.
But I noticed two problems: - first, to get the result you expect (i.e. a texture that starts at the visible bottom of the wall), I have to take into account the thickness of the level floor (the parts surrounded with red in the above image). This is not really a problem... unless you want these parts to be visible because you create a mezzanine for example. - If the texture is applied using this new way on two walls on top of each other using a same pattern texture (for example a roughcast texture applied on the exterior wall sides of a house with two levels), the limit between the two walls will be visible if the pattern doesn't exactly ends where the upper wall starts. This issue could be avoided if you draw one very high wall instead of one wall at each level, but I'm pretty sure that many users don't create walls this way.
Actually, your issue reveals the need of an option in the wall modification pane that would let the user choose some offsets to apply to the texture along both axes. But, even if it's not so difficult to program, I fear it's out of the scope of a program like Sweet Home 3D.
If you look for an immediate solution, you should shift vertically your texture image of a value proportional to the elevation of the level divided by 250 (the height of your wall). Hope you can handle it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Hi Puybaret, thanks for your detailed answer. Puuhh, I didn't thought that this could be such an effort...
Hmmm...I think I know what you mean.
What about an additional option like "Start at bottom" for each wall side:
The dialog will be still not be overloaded with too many options and you can freely choose where to start drawing the texture. Inside walls should have this new option checked, so that the texture will be painted from "(start of current level)+floor tickness" and outside or exterior wall sides the option will not be checked, so you start painting from "(start of current level)+0".
...Arrghh... should have read your second post completely!!! But I see that both of us got to the same solution: The new property. Do you really think it would be too overloaded?
Imho I think that this would make it much easier for users creating a multi-level object insted of calculating the texture offset for each level ((level-1)*(wall height of level+floor thickness)".
Sample of dialog with new option (multi-language ;) )
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Wall two tone
Great you could do it.
About the new option, you probably didn't see it yet, but in the version 4.0, the wall modification pane will already grow:
At the moment, the best is to post a feature request referring to this subject. I'll post there a solution for programmers who really need this option.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator