Jan
08-14-2002, 02:28 AM
I am working on my new engine and now i have a question about how i should do my BSP-Tree:
Should i store the polys in the tree nodes or only in the leafs? Up to now i stored them in the tree nodes, which makes the tree much smaller. However i read something about "Leafy BSP-Trees", where the polys are only stored in the leafs. I heard Quake uses this because it also uses PVS. So is it necessary to use leafy BSP-Trees to be able to use PVS or can i do this as well with "normal" BSP-Trees?
I am a bit confused because i am thinking of how to create a leafy BSP-Tree. It doesn´t seem to work, because the way i would do it, i always get more than one (not coplanar) poly in some leafs, which is wrong.
Thanks in advance.
Jan.
Should i store the polys in the tree nodes or only in the leafs? Up to now i stored them in the tree nodes, which makes the tree much smaller. However i read something about "Leafy BSP-Trees", where the polys are only stored in the leafs. I heard Quake uses this because it also uses PVS. So is it necessary to use leafy BSP-Trees to be able to use PVS or can i do this as well with "normal" BSP-Trees?
I am a bit confused because i am thinking of how to create a leafy BSP-Tree. It doesn´t seem to work, because the way i would do it, i always get more than one (not coplanar) poly in some leafs, which is wrong.
Thanks in advance.
Jan.