Jump to content
  • Advertisement
Sign in to follow this  
Shmuel

OpenGL Question about the best way to organize a 3d game

This topic is 4951 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

Hi, I'm currently making a 3D game with SDL and OpenGL. Each of the levels will have buildings with slanted roofs, some stairs and other remotely interesting details. What sort of filetypes and systems (bsp for example) should I be looking into to pull this off? I'm pretty sure I want to use .md3 file format for the models, but I'm not sure what to use for the levels and also does anyone know of any good tutorials for building a camera class, loading models and loading 3D levels. I'm a pretty experienced C++ programmer and have enough experience with OpenGL so I can probably understand most of the tutorials. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
You might want to use one of existing graphics engines like OGRE or OpenSceneGraph.

Or, if you're willing to learn things from inside, I'd recommend organizing your scene geometry into some kind of loose oct-tree. You mentioned, you're going to have buildings in your scene, so most probably occlusion culling is what you'd be interested in as it can very quickly cull away big parts of your scene and is especially well suited for cities etc.

Besides, you can find a lot of interesting articles in Gamedev's article section (including camera class and similar stuff).

Good luck! :-)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!