Print at Dec 15, 2025, 7:16:47 PM

Posted by Keet at Dec 18, 2023, 4:21:12 PM
Re: Generate roof plugin
For this particular case there is no need to modify the roof in Blender, you just have to set to 90° the slope of all faces except the ones on the 2 sides, and make them transparent. Then decrease the elevation of the roof level until it matches the walls.
I tried that but I got all kinds of weird angles and slopes. Probably because I touched the wrong faces to set to 90°. I gave up when I couldn't get it right, all borders remained in the horizontal plane. Have you tried it with the room in the project I uploaded? I would like to see how that worked out because as said, I couldn't get the borders to follow the slopes in the higher point of the roof.

I have now recreated the roof by creating 7 shapes which proved to be incredibly easy and fast to do. I oriented all textures correctly and made hidden sides invisible before exporting each shape. Then I edited the obj files to fix the material names. After import I assembled them together and exported them as a single roof that can be correctly textured with just four material properties: Roof, Ceiling, Border, and Back. The resulting roof is also surprisingly small: only 5kB when exported with only colors, 98kB with three different textures. Now the roof is perfect and I didn't need Blender for that!

For those who didn't notice:
When creating furniture always use textures for all sides so you can fix the orientation if needed. Doesn't make a difference what texture you use as long as you can see that it is aligned as you want. After export/import replace all textures with colors and export again which makes the object a lot smaller. The important thing is that the orientations are preserved so when you replace a color with a texture it looks as intended. (My roof went from 98kB to only 5kB just by replacing textures with colors on the last export.)
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects