danqua / bsp-viewer

Quake BSP map viewer using C++ and OpenGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quake BSP Viewer

QuakeStart

This viewer allows you to revisit original Quake (1996) maps. It is extreamly fast and only performs so many draw calls of how many textures are used in a single map. It features lightmaps and animated skies as well, what a lot of repositories on github don't do. The code is written in C++ and OpenGL 3.3.

There is also a small video that shows the viewer in action. https://www.youtube.com/watch?v=GT7dP5C2cZM

Building

This project uses just a batch file to compile the project. So in order to compile the project make sure you have Microsoft Visual C++ Build Tools installed on your machine. You also need to compile from the Developer Command Prompt or run the shell.bat to set the environment variables. All the dependencies are listed below. This project also makes use of a technique called SCU.

misc\shell.bat
code\build.bat

Dependencies

Make sure to have a look at the build.bat file on where to put the dependencies.

Controls

  • W - Move Forward
  • S - Move Backward
  • A - Strafe Left
  • D - Strafe Right
  • E - Move Upwards
  • Q - Move Downwards
  • LShift - Increase Speed

References

Through the development I used the original source code of Quake and the unofficial BSP specification as a reference guide.

About

Quake BSP map viewer using C++ and OpenGL


Languages

Language:C++ 82.2%Language:C 11.2%Language:GLSL 5.4%Language:Batchfile 1.2%