Skip to content

doomhack/Potato3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potato3d

A simple, fast 3d renderer for stuff with slow processors.

Still very much a work in progress.

Currently uses BSP to sort and cull polygons.

Very little division in the hot path. I've been able to use a reciprocal table to get rid of most division.

All math execept for one time set-up stuff is fixed point. Can also use float or doubles by just changing a #define.

Renders textures perspective-correctish. Perspective correct tex corodinates are computed every 16px and linear interpolated from there.

Rendering is front-to-back with no Z-buffer and zero overdraw. But the span buffering is still a performance hog.

About

Simple, fast, fixed point 3d library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages