Multiple BSDF references for OBJ shape
This is George Kopanas, I am working on creating an exporter from 3DS Max to Mitsuba XML and I came up to this problem:
I am trying to reference multiple BSDFs inside an obj shape like this:
<bsdf id="AE22_002_77" name="AE22_002_77" type="twosided">
<shape type="shapegroup" id="AE22_002_tree_001_high.obj">
<string name="filename" value="AE22_002_tree_001_high.obj"/>
The .obj has the corresponding names of the materials to the objects to be assigned but instead of every object getting the correct material, all the objects get assigned to the first material. If I copy paste the BSDFs declaration instead of referencing them the materials get assigned correctly, so I am assuming I am not referencing something correctly or there is a limitation in the number of references that can be handled.