tritree/scenetree KDtree balancing ?

Feature requests, bug reports and related discussion
Post Reply
1 post • Page 1 of 1
User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Fri Nov 24, 2006 9:30 pm

I think it's more complicated than just taking the sqrt.
There are other issues that need to be considered as well, such as instancing, and non-mesh primitives.
For example, lets say you want a forest with 10000 trees.
Then you would want a kd-tree for the tree model, and a global kdtree to speed up the tracing of rays thru the forest. But in this case you only have to have the tree kd-tree once in memory, so it makes sense to split it up in this way.

Post Reply
1 post • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests