Print at Dec 16, 2025, 8:56:00 PM

Posted by Daniels118 at Jun 21, 2022, 9:08:53 AM
Re: Add "o" to OBJWriter output
The only thing I can see to change now is to have rooms separate the floor and ceiling, otherwise you can't easily see the aerial view without messing around

For anyone wondering, this can be wordarounded in Blender by simply turning on backface culling for the ceiling material.

An alternative could be to export each room 2 times as 2 separate objects, one with both ceiling and floors, and one with floor only (the Room3D constructor has a ignoreCeilingPart parameter that can be used for this purpose).

The third option is to use the second option, with the addition to select only the ceiling node:
Room3D room3D = new Room3D(room, home, false, true);
Node floor = room3D.getChild(0);
writer.writeNode(floor);
if (room.isCeilingVisible()) {
Node ceiling = room3D.getChild(1);
writer.writeNode(ceiling);
}