Graphics Programming Weekly
jendrikillner.com
Graphics Programming Weekly
1–10 of 30 posts
Re: Graphics Programming Weekly
#2Re: Graphics Programming Weekly
#3Re: Graphics Programming Weekly
#4I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
Re: Graphics Programming Weekly
#5I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
- Write a software rasterizer
- Write a software ray tracer
You can do all that without exiting a programming language's standard library.
I wrote a simple ray tracer (primary rays only) in vanilla C89 in about 30 lines (if you don't count the PPM image library that I made):
https://github.com/d26900/JamaisVu/blob/main/tests.c
Lines 66 - 91.
Screenshot: https://raw.githubusercontent.com/d26900/JamaisVu/main/scree...
Here are great resources:
- https://www.scratchapixel.com/
- https://www.gabrielgambetta.com/computer-graphics-from-scrat...
- https://erkaman.github.io/posts/junior_graphics_programmer_i...?
Re: Graphics Programming Weekly
#6I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
What kinds of things would you ultimately like to make?
Re: Graphics Programming Weekly
#7I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
May I suggest my book? The full contents are online: https://gabrielgambetta.com/computer-graphics-from-scratch/
Edit: (If I wouldn't be so poor, I would donate to your cause as well.)
Re: Graphics Programming Weekly
#8I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
Re: Graphics Programming Weekly
#9I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
May I suggest my book? The full contents are online: https://gabrielgambetta.com/computer-graphics-from-scratch/
Re: Graphics Programming Weekly
#10I’ve always wanted to get into graphical programming but I always get hung up on creating anything. Shaders feel like black magic to me. And the tutorials are spread across many different technologies and techniques that it’s hard to determine where you should start.
Build a raytracer from scratch. It's a couple hundred lines of very straightforward C code, or much, much less with a higher level language. You will learn _a ton_ about the rendering pipeline, transformations, lighting, shading surfaces, etc. It is super satisfying the very first time you run and finally get some colorful shaded spheres floating in space--you'll remember that moment for a long time. This is just one…
But he has 2 more:
https://gamephysicsweekend.github.io/
And you can do a very simple one in much less than 30 lines in C. ;)
Edit: Oops, it was the wrong one... This is the right one:
Sorry!