Page 1 of 1

Difference between Octree and mesh

Posted: Sat Feb 27, 2010 5:08 pm
by julescoder
Hi, can you guys tell me what is the difference between an Octree and mesh.
Even in IrrEdit, these two options exist and they both look to represent some sort of static mesh.
Can someone clarify, please ?

Posted: Sat Feb 27, 2010 8:35 pm
by d3jake
It's explained in the second example included in the SDK: http://irrlicht.sourceforge.net/docu/example002.html

Posted: Sun Feb 28, 2010 5:28 am
by Halifax
To get some conceptual information about it you could check out this page on octrees. Essentially they build the assertion that if a node isn't visible, then it's children are not visible. They can be used for other things as well besides just visibility algorithms. Furthermore, they are akin to other spatial division algorithms such as quadtrees, kd-trees, etc.

Posted: Sun Feb 28, 2010 5:03 pm
by julescoder
thanx for the link and reply.