TRPG

trpg is my current project. It is a real time 3D rendering engine written in C. It uses OpenGL for rendering and SDL for windowing and input. It is licensed unde the GPL. I'm currently rewriting the renderer to support both a VRAM and geometry caching scheme and on an API independent shader library to replace all transformation and rasterization calls in the renderer.

Source

Here is the source code from last night's snapshot (provided the reliability of my internet provider :) ). Here is the source from the previous version.

Features

  • Octree spatial subdivision
  • Occlusion culling
  • Cg Shader support
  • Scriptable particle engine
  • Custom Blender exporter
  • Normal mapping
  • API independent shader library

Screens

Here are various screens from different stages of development.