(no title)
i45_n5
|
4 years ago
Let's just say that I want to create text file with 3d coordinates of an object (cube or sphere),
and my software renderer shoould read this file and display it on the screen. And I can zoom in/out,
change coordinates of vertecies with a mouse, rotate and move it.
This cube can be wired or colored and if it wired I want to see which edges are visible and which are not.
And to render this cube I want to use only setpixel/drawline functions from win api or sdl.
Thanks for the links.
pfranz|4 years ago
[1] https://en.wikipedia.org/wiki/Wavefront_.obj_file
[2] https://en.wikipedia.org/wiki/Netpbm#PPM_example
[3] https://github.com/nothings/stb
[4] https://github.com/ssloy/tinyraycaster/wiki/Part-4:-SDL
[5] https://lazyfoo.net/tutorials/SDL/index.php
i45_n5|4 years ago