include-engine
include-engine copied to clipboard
Maybe an issue
Hi, Just I read your code (I didn't test it)
In your : include-engine/include-engine/fbx.cpp
Line : 741
if(auto * node = find_maybe(obj.node->children, "LayerElementNormal")) normals = layer_info{*node, "Normals", "NormalIndex"};
Isn't rather "NormalsIndex" instead "NormalIndex" ?
After some research it seems that no because "NormalIndex" doesn't exit in FBX documentation : http://download.autodesk.com/us/fbx/20112/FBX_SDK_HELP/index.html
You can see "NormalsIndex" in a .fbx by exporting a simple cube from Blender to .dae then convert it to .fbx with official FBX convertor : http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=22694909