🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Where can I find a good tutorial about drawing Quake 3 BSP files in OpenGL?

Started by
5 comments, last by JoeJ 3 years, 11 months ago

Hello,

I was working on my own game engine and I was wondering where I could find some information on drawing Quake 3 BSP files.

My biggest problem is that while I already have the file itself implemented, but I dont exactly know what part of the file I should be using with glDrawElements();

Thank you in advance!

Advertisement

You could do worse than look over the Quake III source code: https://github.com/id-Software/Quake-III-Arena

Also an overview here: https://fabiensanglard.net/quake3/renderer.php

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.

@undefined Ah thank you! I will definitely look in to that!

@undefined This one might also be useful - it's old as heck but the essentials are all there.

http://www.paulsprojects.net/opengl/q3bsp/q3bsp.html

SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

Promit said:

@undefined This one might also be useful - it's old as heck but the essentials are all there.

http://www.paulsprojects.net/opengl/q3bsp/q3bsp.html

I think this has some bug, so it can only import very few levels correctly. (I had used this for a long time)

This topic is closed to new replies.

Advertisement