Implement support for custom default materials

The support for custom default materials is implemented as a JSON
file passed via the command line. The default material specification
will override the defaults, except the toplevel default value.
This commit is contained in:
Jean Niklas L'orange
2018-09-20 15:58:24 +02:00
committed by Thomas Krijnen
parent 882d27fe25
commit dab3382b29
3 changed files with 63 additions and 3 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ namespace IfcGeom {
boost::optional<double>& Specularity() { return specularity; }
};
IFC_GEOM_API const SurfaceStyle* get_default_style(const std::string& ifc_type);
IFC_GEOM_API const SurfaceStyle* get_default_style(const std::string& ifc_type);
IFC_GEOM_API void set_default_style(const std::string& json_file);
}
#endif