I'm working on robotics and I'm using Assimp due to its importer capabilities.
I'm using assimp-3.0.1270, under ubuntu 12.04.
In a C++ program that uses openGL for rendering in GLUT windows, I'm trying to import .blend files, so I use an Assimp::Importer to read the file, and then, between glNewList() and glEndList() I call recursive_render(scene, scene->mRootNode), in a similar way it is done at assimp sample program file samples/SimpleOpenGL/Sample_SimpleOpenGL.c.
But anything is load into gl list, so anything is rendered. I've realized that inside the function recursive_render(), varible nd->mNumMeshes is 0, so the loop is completely skipped and therefore no GL drawing is preformed ?
I've tested it with different .blend models download from the cloud.
Is this issue known ? Is it a problem of how 3D models have been built ?
Currently not. I will open an issue report for your observation to check if this is an issue.
Thanks for reporting it!
See https://github.com/assimp/assimp/issues/235 to track your issue.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.