A downloadable project for Windows and Linux

I have always wondered how in the world we take 3D spatial information and somehow display that in a way that makes sense to us on our flat 2D screens. Curiosity got the best of me one day and I booted up a quick Processing instance because I thought surely this was only a few hours-long task, plus I couldn't be bothered to implement line drawing myself-- I have been here for a week and a half :/. However, It was an enjoyable and informative experience. Without further ado, I present projection-based rendering in Processing, built with nothing more than the built-in *line* function (not using any of the built-in P3D functions here!).

Controls

  • Forward: ^ or W
  • Backward:  v or S
  • Right: > or D
  • Left: < or A
  • Up: Shift
  • Down: Ctrl
  • Switching Scenes: Press 1 for the cube scene, 2 for the fish scene, and 3 for the jet scene
  • Toggling Optimizations: Press 'f' to toggle frustum culling and 'b' to toggle backface culling

Github: https://github.com/Joel-CA/projectionBasedRenderingInProcessing/tree/main

Download

Download
windows-amd64.zip 137 MB
Download
linux-amd64.zip 4.9 MB

Install instructions

Unzip your download and run the executable.

Leave a comment

Log in with itch.io to leave a comment.