OpenGL 2.1+ Render with data returned form assimp library
Posted
by
Bình Nguyên
on Game Development
See other posts from Game Development
or by Bình Nguyên
Published on 2012-06-20T15:11:51Z
Indexed on
2012/06/20
15:26 UTC
Read the original article
Hit count: 379
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!
© Game Development or respective owner