Hey B4P scouts!
I dont know if something like this is already posted somewhere around here, at least i didn't find any.
In the attachement there is the source code of a small "3D Engine" ( still a long way to go ^^)
It plots points (given as x,y,z) relative to a 3D center and connects all the pints with lines . I did a predefined "object" within the code:
A nice Cube^^
Furthermore its possible to rotate this thing with the directional buttons left bottom of the screen.
To my suprise it runs pretty "smooth" on my rx3715.
edit:// added some "AutoRot" where x,y axis are spinning by a timer, for demo purposes. In the editbox you can set up the rotation factor.
If you have any ideas or critics, please write
(especially on the question of how i can define where lines are drawn and where not)
I dont know if something like this is already posted somewhere around here, at least i didn't find any.
In the attachement there is the source code of a small "3D Engine" ( still a long way to go ^^)
It plots points (given as x,y,z) relative to a 3D center and connects all the pints with lines . I did a predefined "object" within the code:
A nice Cube^^
Furthermore its possible to rotate this thing with the directional buttons left bottom of the screen.
To my suprise it runs pretty "smooth" on my rx3715.
edit:// added some "AutoRot" where x,y axis are spinning by a timer, for demo purposes. In the editbox you can set up the rotation factor.
If you have any ideas or critics, please write
(especially on the question of how i can define where lines are drawn and where not)
Attachments
Last edited: