CONTROLS: press x,y,z keys to move camera in that axis and hold space while pressing to reverse direction press up,down,right arrows to animate camera --------------------- focal length: distance from screen to observer viewScale: how big the object appears preset: 0: free edit 1: cube 2: pyramid WIREFRAME EDITING: see inside to edit vertices and edges: vertices: points of the wireframe: formatted x,y,z where xyz are single digit whole numbers (max 9 vertices) edges: lines connecting vertices: formatted a,b where ab are single digit vertex indices starting from 1 as shown in the vertices array
this renderer uses simple 3D to 2D projection to plot the vertices and the pen tool to draw the edges. Hope you guys enjoy the wireframe editing capabilities! TODO: implement 3D rotation matrices around xyz axes to rotate the object freely