OpenGL 2.1+ Render with data returned form assimp library
- by Bình Nguyên
I have just readed this tutorial about load a 3D model file: http://www.lighthouse3d.com/cg-topics/code-samples/importing-3d-models-with-assimp/#comment-14551. Its render routine uses a recursive_render function to scan all node.
My question:
What is a aiNode struct store?
What different form this method and above method:
for (int i=0; imNumMesh; ++i) {
draw scene-mMeshes[i];
}
Thanks for reading!