nGL icon indicating copy to clipboard operation
nGL copied to clipboard

3D graphics lib for Ndless (and possibly other systems)

nGL

3D graphics library for Ndless (and possibly other systems). It's not a complete 3D engine, so there's no collision detection, animation etc.

Features

  • Fixed-function pipeline like OpenGL
  • Matrix stack with custom size
  • 3D transformations, like translation, rotation and scaling
  • Perspective with custom FOV
  • Depth buffer that can also be read from
  • Fast blitting of TEXTUREs
  • Fast sine and cosine using LUTs
  • Safe and fast mode
  • Texture mapping, with transparency

Used in crafti, the winner of 2014's ticalc.org POTY contest! crafti!

Tutorial

You can find a tutorial in the Tutorial subfolder.