www.xbdev.net xbdev - software development
Wednesday November 20, 2019
home | about | contact | Donations

     
 

3D File Formats

The bits and bytes...

 

Quake 3 BSP [Inside Level Data]
Author bkenwright@xbdev.net

 

Adding the necessary code so that we make use of the various texture information, and vertex normals and other additional graphical information, we can expand our demo so that we can see our level from the inside.  Neglecting any collision detection or bsp code - as we can add that in later.  We will sit ourselves in the level, and allow ourselves to move around using the cursor keys and mouse.  The most complicated part of the code is all the creating directx index and vertex buffers in our bsp.h file.

The demo is really quiet simple - it goes to show that with the basic of code and files you can create a nice little 3d world.  Once you add in collision detection, so your player can't escape from the level, then it starts to look more like a game.

 

Download Source Code (316kb)

 

 

 

 

 
 Visitor: 9534626  { 209.237.238.175 } Copyright (c) 2002-2017 xbdev.net - All rights reserved.
Designated tutorial and software are the property of their respective owners.