Skip to content
/ nGL Public

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

Notifications You must be signed in to change notification settings

Vogtinator/nGL

Repository files navigation

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.