During the last few days I have recompiled ogre3d (version 1.12.11) to let it use the assimp library and then generate the Codec_Assimp plugin.
The main goal was to understand if it is duable to go with fbx, collada and blender models/meshes by letting the AssimpMeshLoader do its job.
Not less important was to understand if models taken from the Unity asset store could be easily loaded in an Ogre 3d scene.
The result unfortunately seems to be not so much promising.
The models that I have used are not coming from the asset store (as they are not for free) - before paying for one of those packages I ve choosen to give a try to few ones coming from the free3d website.
Only half of them are being rendered and all of them have issues with materials.
Please note that the AssimpMeshLoader I am using is the last one patched with the 'resource group' addition.
This is the Assimp loader console output:
Ogre Version: :1.12.11:
Operating System: :win32:
Render System: :OpenGL:
Code: Select all
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Info, T2912: FBX: generating full transformation chain for node: Object061
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Object061
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Info, T2912: FBX: generating full transformation chain for node: Object081
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Object081
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Info, T2912: FBX: generating full transformation chain for node: Object065
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Object065
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Info, T2912: FBX: generating full transformation chain for node: Plane014
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Plane014
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Info, T2912: FBX: generating full transformation chain for node: Object058
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Object058
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Info, T2912: FBX: generating full transformation chain for node: Object088
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Object088
Info, T2912: FBX: generating full transformation chain for node: Object059
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Object059
Error, T2912: FBX: no material assigned to mesh, setting default material
Ogre: Assimp: Error, T2912: FBX: no material assigned to mesh, setting default material
Skipping one or more lines with the same contents
Ogre: Assimp: Skipping one or more lines with the same contents
Info, T2912: FBX: generating full transformation chain for node: Base HumanLPlatform
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Base HumanLPlatform
Info, T2912: FBX: generating full transformation chain for node: Base HumanRPlatform
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Base HumanRPlatform
Info, T2912: FBX: generating full transformation chain for node: VRayStereoscopic001
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: VRayStereoscopic001
Info, T2912: FBX: generating full transformation chain for node: Camera001
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Camera001
Info, T2912: FBX: ignoring property link - no docs on why this is ignored
Ogre: Assimp: Info, T2912: FBX: ignoring property link - no docs on why this is ignored
Info, T2912: FBX: generating full transformation chain for node: Camera001.Target
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Camera001.Target
Info, T2912: FBX: generating full transformation chain for node: Plane017
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Plane017
Info, T2912: FBX: generating full transformation chain for node: Plane018
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Plane018
Info, T2912: FBX: generating full transformation chain for node: Plane019
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Plane019
Assimp: Info, T2912: FBX: generating full transformation chain for node: Plane020
Assimp: Info, T2912: FBX: generating full transformation chain for node: Camera002
Assimp: Info, T2912: FBX: ignoring property link - no docs on why this is ignored
Assimp: Info, T2912: FBX: generating full transformation chain for node: Camera002.Target
Info, T2912: FBX: generating full transformation chain for node: Plane020
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Plane020
Info, T2912: FBX: generating full transformation chain for node: Camera002
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Camera002
Info, T2912: FBX: ignoring property link - no docs on why this is ignored
Ogre: Assimp: Info, T2912: FBX: ignoring property link - no docs on why this is ignored
Info, T2912: FBX: generating full transformation chain for node: Camera002.Target
Ogre: Assimp: Info, T2912: FBX: generating full transformation chain for node: Camera002.Target
Info, T2912: Entering post processing pipeline
Ogre: Assimp: Info, T2912: Entering post processing pipeline
Assimp: Info, T2912: Entering post processing pipeline
Info, T2912: RemoveRedundantMatsProcess finished. Removed 3 redundant and 0 unused materials.
Ogre: Assimp: Info, T2912: RemoveRedundantMatsProcess finished. Removed 3 redundant and 0 unused materials.
Assimp: Info, T2912: RemoveRedundantMatsProcess finished. Removed 3 redundant and 0 unused materials.
Error, T2912: Failed to triangulate polygon (no ear found). Probably not a simple polygon?
Ogre: Assimp: Error, T2912: Failed to triangulate polygon (no ear found). Probably not a simple polygon?
Assimp: Error, T2912: Failed to triangulate polygon (no ear found). Probably not a simple polygon?
Skipping one or more lines with the same contents
Ogre:
Assimp: Skipping one or more lines with the same contents
Assimp: Skipping one or more lines with the same contents
Info, T2912: TriangulateProcess finished. All polygons have been triangulated.
Ogre: Assimp: Info, T2912: TriangulateProcess finished. All polygons have been triangulated.
Assimp: Info, T2912: TriangulateProcess finished. All polygons have been triangulated.
Warn, T2912: Found 288 degenerated primitives
Ogre: Assimp: Warn, T2912: Found 288 degenerated primitives
Assimp: Warn, T2912: Found 288 degenerated primitives
Skipping one or more lines with the same contents
Ogre: Assimp: Skipping one or more lines with the same contents
Many thanks!