protected GeometryInfo makeMesh() throws InvalidMeshException { parser.parse(); GeometryInfo mesh = org.bimserver.cobie.graphics3d.Utils.makeMesh(parser.getVertices(), parser.getNormals()); Utils.transformMesh(parser.getTransform(), mesh); return mesh; }
@Override public RenderData3D for3D() { if (for3D == null) { for3D = new RenderData3D( getSettings(), this, Utils.makeAppearance( getSettings().getPolygonSettings().toJ3DPolygonAttributes(), getColor())); } return for3D; }