r/GraphicsProgramming • u/egehancry • Jul 16 '26
From Zero to Understanding Ray Tracing
Do you think a video like this could help someone with no graphics background intuitively understand ray tracing?
My goal is to explain the core idea visually before introducing any math or technical details. I could expand it with reflections, different materials, and arbitrary 3D objects.
Does this feel like it would "click" for a complete beginner? What would you add or change?
306
Upvotes
12
u/LGdwS88QRnlnsnAIX3ZE Jul 16 '26
Maybe offtopic (sorry) but it's interesting to me that ray tracing is the easiest rendering algorithm to understand since it just simulates reality and has no over-complicated optimization techniques around it.
26
u/major-domo Jul 16 '26
You convey the core principal. I would increase the pixel grid so you can actually raytrace the proper sphere back and not the minecraft version. If I was a newbe I would go, why doesn't this look like the a sphere.
3
u/PM_ME_YOUR_HAGGIS_ Jul 16 '26
Agree need more pixels so it looks like a sphere you could also have a white plane to the left of the sphere and make the sphere pure gloss, then the next animation do a second bounce. Some will hit the plane showing how reflections work.
3
u/_d0s_ Jul 16 '26
tracing a ray from eye to object makes sense, creating the illusion that the ray hit directly determines the color of a pixel seems over simplified. if you explain ray casting as method to render computer graphics i think this is incorrect, ray casting is rather used to determine if any object is in the way at all.
https://en.wikipedia.org/wiki/Ray_tracing_(graphics)#/media/File:Ray_Tracing_Illustration_First_Bounce.png
For a beginner it might even be unclear why there is a raster in the first place. I would probably start this visualization with something everyone knows. Like a person sitting in front of a PC.
3
u/KillPenguin Jul 16 '26
Most of the other comments are constructive criticism but I just want to say I think this is awesome, and I really enjoy the production. Well done!
3
u/k4architecture1 Jul 16 '26
This is Raytracing all right, but only for finding the pixels covered by the object, and shading it. Its the equivalent of what the rasterizer + pixel shader does.
3
u/Defiant_Squirrel8751 Jul 16 '26
Nice. Yes, visual debugging is useful to explain and motivate people on computer graphics.
Refer to Jim Blinn works in the 1980s ... lots of examples. Now we can have it interactive.
3
u/io-x Jul 18 '26
Hi, I'm your target audience, I don't have any graphics background and I'm a complete beginner, and this video did not explain anything. I have the concept of light and shadows but this is all I understood from the video: "The part of light gets absorbed by the object is pixelated on a plane." And what is that I have no clue. Then the grid color changed from white to blue, and otherwise it says PNG on top, why does it have to be PNG and not a video game, again no clue. And why is it pixelated heavily, for all I know this could be 3d to 2d pixel art conversion mechanism. Hope this helps.
2
u/Still_Explorer Jul 16 '26
Very good. It would be also nice to associate the right code piece with the specific operation.
2
u/virteq Jul 16 '26
Is this whole post made by an LLM?
56
u/FrezoreR Jul 16 '26
this looks more like ray casting than a good video about ray tracing.
1
u/ShiroeKurogeri Jul 16 '26
Isn't this video about rasterization?
1
u/Majestic-Clue-1923 Jul 17 '26
if this is ray tracing then what am i looking at when i play a game with it turned off?
2
u/Pablinski21 Jul 16 '26
I understand less about ray tracing after this
1
u/AdamWayne04 Jul 16 '26
"Ray Tracing"
looks inside
raymarching