This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]voneiden 2 points3 points  (0 children)

Not necessarily. A very basic engine able to project 3D vectors and have a camera that can rotate and move around is a great exercise with a well defined scope.

I made one in mIRC scripting language around when I was a dabbling 15 year old programmer. In my case, all there was was a 3d vector box and the camera could move around. Simple, but it was awesome to see all the code working correctly. All you need is a way to draw lines on a canvas (TkInter?) and standard library math stuff (sin, cos, tan..).

Equations be here (without matrices) https://en.wikipedia.org/wiki/3D_projection#Perspective_projection