Computer Science Canada

3D Engine 0.1

Author:  copthesaint [ Sun Jan 22, 2012 9:23 pm ]
Post subject:  3D Engine 0.1

Hello compsci, I have spent the last week trying to learn how to make a 3D engine, from looking at others engines, to tutorials online, to a few books.
Ive made my first engine (does not include ambient lighting yet, I still have to learn ambient lighting) And my first engine is pretty user friendly, *I think :S.
So If you want you can comment, post tutorials for me Wink, and also I want to give credit for zren to his 3D engine because I did copy his monkey model. and I do not take credit for it.

Keys: Arrowkeys, move up ,down ,left ,right
I - in, O - out

Also It would be very appreciated if someone would tell me how to properly translate my object and change a 3D point to 2D. Look in the types3D file to see my failure.. lol

Author:  Alex C. [ Sun Jan 22, 2012 11:10 pm ]
Post subject:  RE:3D Engine 0.1

oooh... as soon as i'm done isus and exams i want to try it Very Happy

Author:  mirhagk [ Mon Jan 23, 2012 1:01 am ]
Post subject:  RE:3D Engine 0.1

Very nice, very impressed with what you can do with something as simple as turing. As for the 3d to 2d, technically you'd use a projection matrix. I'm not entirely sure how to properly construct one to be honest. I can find out for you if you want though.

Author:  copthesaint [ Mon Jan 23, 2012 7:12 am ]
Post subject:  RE:3D Engine 0.1

@mirhagk

Well Ill look through google and try to figure it out, I never thought of using 'projection matrix' and as search term in google, however now it seems I have a lot more to look at Wink thanks.

Author:  mirhagk [ Mon Jan 23, 2012 9:20 am ]
Post subject:  RE:3D Engine 0.1

no problem. It's essentially just another matrix to multiply the model by, but this one lets you control aspect ratio, field of view, as well as most things important to a camera.


: