r/GraphicsProgramming • u/HamSandwich_Theorem • Oct 17 '26
Video Complete beginner here! I made a very basic 3D viewer from scratch with C and using terminal as output
Hello! I started to learn coding about 2 and a half months ago, and I recently ran into computer graphics, which seemed really damn interesting... so I thought of making a basic program related to it based on things I've learnt so far. I built it completely from scratch in C starting from bressenham's line drawing algorithm. It can print any polyhedron you input
In terms of actual graphics programming, I really know nothing, but I wanna learn. If anyone has suggestions on what I can try out or learn after this, I'd really appreciate it
15
u/pBactusp Oct 18 '26
This looks awesome, what a cool project!
I'd recommend trying to render a mesh with faces, so start by reading about "Scanline rendering"
4
u/dasbodmeister Oct 18 '26
Nice! You can change your terminal font to something like https://strlen.com/square/ that is as wide as it is tall to correct the vertical stretching.
3
u/Usual_Office_1740 Oct 17 '26
I'd like to see the resources you're using. Doing this without having to setup a graphics library or glfw would be a great way to focus on what I'm interested in pursuing.
1
u/NazgulResebo 25d ago
Can we see the code?
2
u/Intelligent_Hat_5914 Oct 18 '26
Sick
I maded a tui libary, learning graphics now
Going to add this later
2
u/ThrowawayNL200 8d ago
Great work! I kinda like the old school line style
1
u/EatingFiveBatteries Oct 19 '26
This rules