Archived

This topic is now archived and is closed to further replies.

OpenGL BSP Tree Tutiral

This topic is 6201 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know of any opengl BSP tuts.?I checked out the one on www.mrgamemaker.com which is quite good but DirectX oriented.I''m not that intrested in the BSP compiler and renderer code itself but the code that creates the ''level'' which I could make myself,but just the idea of it bores me...(I know it sounds kinda lame but It won''t be usefull for anything else than testing the BSP compiler ) -=Jimmy=-

Share this post


Link to post
Share on other sites
Thanx nate...hmmm your other projects look intresting as well.Any idea where I can find some docs on leafy BSP Trees?I''m goinf to search the net,but just in case I come up with nothing.

-=Jimmy=-

Share this post


Link to post
Share on other sites
I don''t know of any off the top of my head, I lost all of my links a while ago. Just search Google or go here http://www.deja.com/usenet and search usenet, there is a lot of good stuff there.

Nate Miller
http://nate.scuzzy.net

Share this post


Link to post
Share on other sites
Thanx everybody.Mrgamemakers tutorial is very good indeed but unfortunately in D3D.Anyway I now have the level loading code running(using nate''s tutorial) so I''m going to try to code the bsp compiler and renderer.

-=Jimmy=-

Share this post


Link to post
Share on other sites
quote:
Original post by JimmyP

Does anyone know of any opengl BSP tuts.?I checked out the one on www.mrgamemaker.com which is quite good but DirectX oriented.I'm not that intrested in the BSP compiler and renderer code itself but the code that creates the 'level' which I could make myself,but just the idea of it bores me...(I know it sounds kinda lame but It won't be usefull for anything else than testing the BSP compiler )

-=Jimmy=-


I never really found an OpenGL-specific tutorial on BSP Trees and I had to write the entire thing myself (the OOP way :o).

The info I came across were the BSP FAQ (General BSP info), Mr-Gamemaker (Direct3D) and Exaflop.com (General). Nate Miller simply provided code (its not a tutorial) although it was very helpful in understanding the algorithms.

If anyone does come across a tutorial which is OpenGL specific let me know. I'm hoping NeHe will do one although it may be one long tutorial!


Edited by - DaWizard on December 21, 2000 11:11:11 AM

Share this post


Link to post
Share on other sites
My first BSP tree was one that I ported from Mr Gamemaker. If you can''t port his to opengl than give up and go home. just look for equivilants in opengl for the d3d stuff. Very little of it is written exclusivly for d3d(if you exclude types).

InFerN0

Not all who wander are lost...

Share this post


Link to post
Share on other sites

I have to agree with InFerN0.. my engine is currently using the
solid node bsptree from tutorial 1 on www.mr-gamemaker.com...
Im working on a new engine with a solid leaf bsptree(tutorial 2).
These tutorials are the best u can find on the subject,very easy
to understand..and the bsptree itself has nothing to do with
Direct3D.I had no problem making it work with openGL.

Share this post


Link to post
Share on other sites