Skip to main content
gamedev.net
🔒 Locked

BSp trees

Started by Bitem2k 1 reply 750+ views
Original Post
Bitem2k
Bitem2k
Here's my problem: Im writing a game engine and i wish to implement a bsp tree for collision detection and culling. My levels will consist of a number of .x file meshes that have been positioned in my level editior. Once i have all the mesh's loaded how do i add them to a bsp tree? all the examples i have seen, seem to require a list of polygons. If i retrieve the polygons from the vertex buffer of each mesh, how do i know where to put these in the tree? Thanks in advance.
Bliz23
Bliz23
I don't know if you've read this or if this helps but a good FAQ/article on BSP trees: http://www.gamedev.net/reference/articles/article657.asp
Bitem2k
Bitem2k
Thanks for replying.
Yeah i have allready looked at that but it doesnt help with my problem.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.