obj2sdf, add option to merge shapes with same materials, add support for transparent objects

tiny_obj_loader, load the "d" and "Tr" transparant tag
This commit is contained in:
erwincoumans
2017-11-04 19:17:20 -07:00
parent 5701b5b152
commit 493d7bc94d
3 changed files with 371 additions and 119 deletions

View File

@@ -22,6 +22,7 @@ typedef struct
float transmittance[3];
float emission[3];
float shininess;
float transparency;
std::string ambient_texname;
std::string diffuse_texname;