Skip to content

Helper for perspective projection calculations - set up a camera and start projecting 3D points to 2D!

Notifications You must be signed in to change notification settings

cgiffard/Perspex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is Perspex.

It enables the projection of arbitrary 3D points to a 2D space - and has helper functions for offscreen and backface polygon culling (soon, view frustum culling.)

The demo shows you what's possible. Documentation coming. Code cleanup coming. Sorry.

Note: The demo deliberately collides objects to test depth sorting and (in future) occlusion culling. This is not a bug. Up the geometry resolution to (kill your computer) and see it work a little more nicely.

About

Helper for perspective projection calculations - set up a camera and start projecting 3D points to 2D!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published