Live data from Hacker News

Learn computer graphics from scratch and for free

scratchapixel.com

11–20 of 40 posts

Re: Learn computer graphics from scratch and for free

#12

One of my goals this year is to write a basic software 3D renderer from first principles. No game engine, no GPU. I'm looking forward to it.

build-your-own-x*, a popular compilation of "well-written, step-by-step guides for re-creating our favorite technologies from scratch", contains some.

* https://github.com/codecrafters-io/build-your-own-x

Re: Learn computer graphics from scratch and for free

#14

One of my goals this year is to write a basic software 3D renderer from first principles. No game engine, no GPU. I'm looking forward to it.

OP's link is a good one, but if you want a different perspective (heh), there's https://gabrielgambetta.com/computer-graphics-from-scratch/i..., also from scratch, also for free. The name clash is unfortunate, I don't really know who started using it earlier :(

Re: Learn computer graphics from scratch and for free

#16
post #5

Graphics have been a blind spot for me for pretty much my entire career. I more or less failed upward into where I am now (which ended up being a lot of data and distributed stuff). I do enjoy doing what I do and I think I'm reasonably good at it so it's hardly a "bad" thing, but I (like I think a lot of people here) got into programming because I wanted to make games. Outside of playing with OpenGL as a teenager to…

Try WebGL or better, WebGPU. It's so much easier and all the concepts you learn are applicable to other APIs. https://webgpufundamentals.org or https://webgl2fundamentals.org I'd choose webgpu over webgl2 as it more closely resembles current mondern graphics APIs like Metal, DirectX12, Vulkan.

I concur; just last month I started with `wgpu` (the Rust bindings for WebGPU) after exclusively using OpenGL (since 2000, I think? via Delphi 2). Feels a bit verbose at first (with all the pipelines/bindings setup), but once you have your first working example, it's smooth sailing from there. I kind of liked (discontinued) `glium`, but this is better.

Re: Learn computer graphics from scratch and for free

#17
You can now post a link of a website into an LLM and turn it into an interactive resource. I did this but with a 1000 page PDF today to help me learn more about game engines. Best way to do it if you don't want it to become another PDF / bookmark that is forgotten.

Re: Learn computer graphics from scratch and for free

#18
post #9

I really enjoy the website content and appreciate the hard work to create it. Also, thank you to the author for taking action on the HN feedback last year about the AI thumbnails that used to be all over this site. [0] [0] https://news.ycombinator.com/item?id=40622209

There's still an obnoxious slop image front-and-center, full of nonsense typos. Not a good look for any educational resource.

Re: Learn computer graphics from scratch and for free

#20
post #5

Graphics have been a blind spot for me for pretty much my entire career. I more or less failed upward into where I am now (which ended up being a lot of data and distributed stuff). I do enjoy doing what I do and I think I'm reasonably good at it so it's hardly a "bad" thing, but I (like I think a lot of people here) got into programming because I wanted to make games. Outside of playing with OpenGL as a teenager to…

Vulkan isn't a graphics API, it's a low level GPU API. Graphics just happens to be one of the functions that GPUs can handle. That can help understand why Vulkan is the way it is.
Post reply on HN