Difference between Octree and mesh

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
julescoder
Posts: 34
Joined: Thu Feb 18, 2010 5:24 pm

Difference between Octree and mesh

Post 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 ?
d3jake
Posts: 198
Joined: Sat Mar 22, 2008 7:49 pm
Location: United States of America

Post by d3jake »

It's explained in the second example included in the SDK: http://irrlicht.sourceforge.net/docu/example002.html
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post 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.
TheQuestion = 2B || !2B
julescoder
Posts: 34
Joined: Thu Feb 18, 2010 5:24 pm

Post by julescoder »

thanx for the link and reply.
Post Reply