Octrees questions...

Started by
4 comments, last by HexDump 22 years ago
I just read a tut about octrees. It seems not to be a really dificult subject but there''s something I can´t figure out. When I have done the space partitions, how should I assing a part of the mesh to a partition? and... what about if 1 poligon is have way 2 or more partitions?. That''s all :D Cheers, HexDump.
Advertisement
you have to divide the poly on the intersection point of the partitions and assign each part of the poly to the partition where it belongs, hope this helps


I have the same problem.

I think that splitting a Polygon in an octree isnt needed !

If a polygon crosses 2 or more cubes , that put the poly in all of the cubes (that are crossed by the poly)

I hope you undestand it

Maybe i am wrong !

Please people I need more information about this problem too

Cya so long
Hmmm
you do not need to split them...

if a poly fits into more than one partition, you should put it in the parent of this octet.

rapso->greets();
But what the hell is the octree for ?

does it help to the rendering ? some objects, or faces are out of the view or just behind other, so we could easily forget them ??

Does it like BSP ?


thanx

Educate the masses ! it''s one behavior !
Educate the masses ! it's one behavior !
Hey,

Octrees are great for visibility culling and collision detection. For visibilitly culling, you would think that an octree doesn''t help because all you need to do is check each poly against the viewing frustum and cull as needed. But, if you have a lot of poly''s in a scene, than you can test each node of the octree, and if it isn''t visible, than you don''t need to render anything in it, or any of its children. It helps to speed things up a bit.

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan Name: [email=darkswordtbj@hotmail.com]TheBlackJester[/email]Team: Wildfire Games
Projects O A.D.The Last Alliance

This topic is closed to new replies.

Advertisement