Created Wavefront obj to sdf converter, to make it easier to import complex obj models with many materials. See kitchen for example.
Fix in tinyobj, make sure material is initialized Add fatihrmutfak kitchen model, for Virtual Reality and some research
This commit is contained in:
@@ -536,6 +536,7 @@ LoadObj(
|
||||
// material
|
||||
std::map<std::string, material_t> material_map;
|
||||
material_t material;
|
||||
InitMaterial(material);
|
||||
|
||||
int maxchars = 8192; // Alloc enough size.
|
||||
std::vector<char> buf(maxchars); // Alloc enough size.
|
||||
|
||||
Reference in New Issue
Block a user