www.xbdev.net
xbdev - software development
Friday March 29, 2024
home | contact | Support | 3D File Formats The bits and bytes... | 3D File Formats The bits and bytes...
>>
     
 

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)

 

 

 

 

 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2024 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.