by Peter Wilson (25 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (20 Votes)
This 3D application shows you just how simple 3D computer graphics can be to program. Pure VB code and the only mathematics is division. Simple hey?
Objects that are far away, appear smaller. Thus simply divide our 3D object's X and Y coordinates by it's Z coordinate.
NewPixelX = X / Z
NewPixelY = Y / Z
That's all you need for 3D computer graphics, and that's all this program does.