Remix.run Logo
▲ vivzkestrel 2 days ago

- first of all thank you for the absolute detail on this one

- when i searched books i only see web GL, open GL, directX, vulkan etc and most resources online are also dedicated to these

- are you aware of a resource that teaches these things from scratch like without using any of the libraries above, it explains all these coordinate spaces, then vector math associated and starts drawing / rendering 3d objects that may eventually turn into discussions of collisions, physics , raytracing, shaders etc? (eventually gamedev)

▲Frotag 2 days ago | parent | next [-]

No sorry, I don't remember seeing any all-in-one tutorials. For just the rendering / raytracing / shaders I remember using the OP and the github link below a lot.

https://natethegreat2525.github.io/projects/software_rendere...

▲vivzkestrel 2 days ago | parent [-]

- super appreciate, as a token of appreciation, i ll share some of my links in return

- https://danielchasehooper.com/posts/shapeup/ Making a 3D Modeler, in C, in a Week

- https://medium.com/@togunchan/building-a-simple-3d-graphics-... How I Built a Raycasting 3D Engine in C++ (Wolfenstein-Style)

- i still havent found that one tutorial to be honest that makes it all click like it starts at a point on the screen, explains all coordinate spaces, explains enough vector math, linear algebra, draws cubes, explains shaders, raytracers, textures, physics, collisions and literally ends up making a quake game or something putting everything brick by brick together

▲Frotag a day ago | parent [-]

> i still havent found that one tutorial

Yeah I haven't either. I think what's helped me the most (both for rendering and algorithms in general) is reading about the general idea and then trying to derive the process myself. I don't worry about the math as much as the intuition and this usually reveals what steps are optional or are some kind of tradeoff (eg optimizing for memory over cpu, etc).

In fact I went through this whole learning process recently while trying to make a DSL + interpreter for defining enemy behavior in my game. Almost forgot how satisfying it feels to rediscover an algorithm and compare notes with existing versions.

▲molybd3num 2 days ago | parent | prev [-]

this is rather 'all over the place' and only graphics, but still a very good resource https://www.scratchapixel.com/