Simple 3D Projector 1.1.1HXCTCreations - Custom level - from Android
Displays wireframe of 2D perspective projection of 3D objects generated within the script.
Z: Rotate object in xz and yz plane
X: Rotate object in xy plane
F: Previous object
G: Next object
-Added edge thickness
-Rewrote the entire script, mainly on object data, it's more flexible now :)
-Because of new script, this no longer renders same edges multiple times :)
It has a lot of potential and can render any object! (As long as the object is low poly, too much face can cause lag) Post your suggestion for new objects!
Each object is a table and has two subtables, the first contains vertices datas and the second contains edge datas.
Each edge is a table containing two vertices ids.
Each vertex is a table containing x, y, and z coordinates.
Each vertex in the object is projected from a point, in the script defined by cam, which is a table containing x, y, and z coordinates and faces down the z axis.
using the projection function, it returns x and y coordinates of the vertex when displayed in 2D plane. With each vertex has its own (x,y) projected coordinates, the rendering function draws lines for every edge.
Views: 1801 Downloads: 783 Unique objects: 1 Total objects: 60
LEVEL ID: 22656