Skip to content

3dgoose/WIPE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIPE

WIPE is a 3D graphics renderer written purely C99 with little dependencies.

It's fast, simple and portable : it should work fine on any machine having OpenGL 1.5 and SDL2.

wipeLogo

Features

  • Written in C99
  • Anti-Aliasing
  • Custom 3D model format

Design

I decided to use fixed pipeline OpenGL because it's much simpler than writing shaders. I will try to do many effects without them !

This engine isn't meant to be used to make the next Alan Wake, with bleeding edge technology like ray tracing or PBR. Instead, it's meant for Quake-3 like graphics !

External dependencies

To compile, you must have :

  • SDL2
  • GLU
  • OpenGL 1.5 (or higher)

Libraries used

Thanks to the developers of SDL2 ! Every lib is the copyright of its respective... copyright holder?

Getting the engine

Compiling

You can either use make or CMake :

mkdir build
cd build
cmake .. # Use MinGW makefiles if on Windows
make
cp docs/Makefile.old Makefile
make

Technical info

Maps and models

WIPE got its own geometry format : Wipe Models, tailored for this engine. It's a binary file containing vertices, faces and textures.

Examples

See demo.c for a live example !

Progress so far

  • Camera
  • Movement
  • Coordinates display
  • VBO drawing
  • Models
  • Light
  • Maps
  • Optimization

License and contribution

This project is published under the Zlib license.

Credits and mention is not mandatory, though greatly appreciated.


Releases

No releases published

Contributors