Live data from Hacker News

Scratchapixel 4.0, Learn Computer Graphics Programming

scratchapixel.com

41–50 of 56 posts

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#42

I know it probably doesn't relate to the content; but my bs/ai detector sounded the alarm after seeing the abundance of probably midjourney-generated chapter images.

Scratchpixel existed way before widespread generative AI. The content is great.

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#44

Earlier quoted context omitted.

> "...vision occurred through beams of light emitted from the eyes, interacting with the environment" How did they explain lanterns and torches in this theory?

Until you can observe that light doesn't travel instantaneously, it would be consistent to believe that a beam leaves your eyes, bounces off a surface, and informs you (as though it were a limb, perhaps) when it hits a light source.

Except that would never explain shadows. Why does my eye beam not let me see what is in shadow, if there is no such thing as light beams coming from a light source?

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#45

Earlier quoted context omitted.

> "...vision occurred through beams of light emitted from the eyes, interacting with the environment" How did they explain lanterns and torches in this theory?

I remember a guy who had a novel theory (mostly as a joke, I think) that light bulbs don't emit light, they simply suck away the darkness. He literally called lightbulbs "darksuckers."

Roger Wilcox, from the 1990s?

http://www.rogermwilcox.com/darksucker.html

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#46
post #5

An interesting excerpt from the section “3D Computer Graphics Primer”: > The understanding of light and how we perceive it has evolved significantly over time. Ancient Greek philosophers posited that vision occurred through beams of light emitted from the eyes, interacting with the environment. Contrary to this, the Arab scholar Ibn al-Haytham (c. 965-1039) introduced a groundbreaking theory, explaining that vision r…

As far back as Aristotle, anyone who put a moment's though into it realized that eye beams were nonsense. They are like modern superstrings - any theory that includes them works works just as well if you remove them and keep the rest of the theory.

http://web.stanford.edu/class/history13/earlysciencelab/body...

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#47
post #45

Earlier quoted context omitted.

I remember a guy who had a novel theory (mostly as a joke, I think) that light bulbs don't emit light, they simply suck away the darkness. He literally called lightbulbs "darksuckers."

Roger Wilcox, from the 1990s? http://www.rogermwilcox.com/darksucker.html

It was someone I knew IRL but I guess that's where they got it from

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#49

Honestly - mixed feelings. This looks more like a way to build up academic/collegiate level knowledge on computer graphics than a way of familiarizing yourself with shaders/rendering techniques. It is also woefully incomplete.

What would you recommend?

Re: Scratchapixel 4.0, Learn Computer Graphics Programming

#50
post #5

An interesting excerpt from the section “3D Computer Graphics Primer”: > The understanding of light and how we perceive it has evolved significantly over time. Ancient Greek philosophers posited that vision occurred through beams of light emitted from the eyes, interacting with the environment. Contrary to this, the Arab scholar Ibn al-Haytham (c. 965-1039) introduced a groundbreaking theory, explaining that vision r…

> "...vision occurred through beams of light emitted from the eyes, interacting with the environment" How did they explain lanterns and torches in this theory?

That's why the lessons are online. You can read through them and everything is explained there. In ray-tracing light most often travels from the eyes to the surface and from the surface to the lights (direct illumination). Various laws (such as as the inverse square and lambert-cosine laws) are applied to simulate reality.
Post reply on HN