Render 3d object to 2d surface (embedded system)
- by Martin Berger
i am working on an embedded system of a sort, and in some free time i would like to test its drawing capabilities.
System in question is ARM Cortex M3 microcontroller attached to EasyMX Stellaris board. And i have a small 320x240 TFT screen :)
Now, i have some free time each day and i want to create rotating cube.
Micro C PRO for ARM doesnt have 3d drawing capabilities, which means it must be done in software.
From the book Introduction to 3D Game Programming with DirectX 10 i know matrix algebra for transformations but that is cool when you have DirectX to set camera right.
I gues i could make 2d object to rotate, but how would i go with 3d one?
Any ideas and examples are welcome. Although i would prefer advices. I'd like to understand this.