jskorepa / fbx

C++ Library for reading and writing FBX files
MIT License
291 stars 50 forks source link

I can't load fbx in 3dmax 2015 - wrong shading encoding #4

Open matheowis opened 5 years ago

matheowis commented 5 years ago

deferance

Left side comes from 3ds max, the right one is created via

file.read(prevFileName);
file.write(newName);

lines below 43A8 are from uint8_t footer[] static variable,


3F70 and 4278 should be created based of this part

{ "name": "Shading",
     "properties": [
          { "type": "C", "value": true }
     ]
 },

true should be represented as 'T'(54) not '.'(1)

matheowis commented 5 years ago

I fixed that https://github.com/matheowis/fbx