Print at Dec 20, 2025, 2:17:58 AM

Posted by Puybaret at Feb 18, 2022, 11:04:43 AM
Re: Generate roof plugin
Dorin, about some roof parts which looks like missing, I always wondered if it wasn't due to the generated shapes which two faces wouldn't be visible (back and front faces). The default settings in Java 3D is to cull (hide) back faces. If you want to change this, just create an instance of PolygonAttributes, call setCullFace(PolygonAttributes.CULL_NONE) on it and use it to change the appearance of the shape with setPolygonAttributes.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator