You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create at least two mesh objects with different materials
2. Export to xmodel_export
3. Convert into xmodel and load into radiant
What is the expected output? What do you see instead?
Model should use the two materials like in Blender. But it uses the first
material for both.
Please use labels and text to provide additional information.
It's a mistake I made, I assumed Face.material_index referenced a global
material in bpy.data.materials, but it's actually an object's material slot
number. Need to rethink the material handling code.
Original issue reported on code.google.com by codem...@gmx.de on 28 Nov 2011 at 10:35
The text was updated successfully, but these errors were encountered:
Changed model v5 export: material index as 2nd value instead of 3rd (TRI 1 2 3
4).
3rd value unknown, can be higher than object and material count
4th value mostly 1, but rarely 0 ?!
Original comment by codem...@gmx.de on 30 Nov 2011 at 4:42
Original issue reported on code.google.com by
codem...@gmx.de
on 28 Nov 2011 at 10:35The text was updated successfully, but these errors were encountered: