Operating System: Windows, Linux
Render System: OpenGL 3+
Blender Version: 2.8
I've created a simple textured cube in Blender 2.80 and created the corresponding *.mesh and *.material file(s) using the blender2ogre exported.
I use the following code to attempt loading my Blender exported model:
Code: Select all
Ogre::MeshManager& meshMgr = Ogre::MeshManager::getSingleton();
Ogre::MeshPtr mesh = meshMgr.create("cube.mesh", "General");//Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);
Ogre::Item* item = sceneManager->createItem(mesh);
Running this I get:
Code: Select all
Mesh: Loading cube.mesh.
Corrupted chunk detected! Stream name: 'cube.mesh' Chunk id: 36864
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material Materi
al must use shaders in HlmsLowLevel::calculateHashFor at C:\Users\joel\Documents\projects\ogre-next-2.1\OgreMain\src\Ogr
eHlmsLowLevel.cpp (line 154)
Compiler error: unknown error in Material.material(18): token "normalise_normals" is not recognized
Compiler error: unknown error in Material.material(23): token "transparent_sorting" is not recognized
Couldn't apply datablock '[Value 0x00000005]' to this renderable. Using default one. Check previous log messages to see
if there's more information.
Code: Select all
Mesh: Loading cube.mesh.
Corrupted chunk detected! Stream name: 'cube.mesh' Chunk id: 36864
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material Materi
al must use shaders in HlmsLowLevel::calculateHashFor at C:\Users\joel\Documents\projects\ogre-next-2.1\OgreMain\src\Ogr
eHlmsLowLevel.cpp (line 154)
Couldn't apply datablock '[Value 0x00000005]' to this renderable. Using default one. Check previous log messages to see
if there's more information.
Code: Select all
Couldn't apply datablock '[Value 0x00000005]' to this renderable. Using default one. Check previous log messages to see
if there's more information.
Could somebody please shine some light on this?