7 ms·
Scratchapixel 4.0, Learn Computer Graphics Programming
- s3arch 2y agoAny alternative resources to learn Computer Graphics Programming from scratch and indepth?
- FrostKiwi 2y agoSpecifically regarding OpenGL, my starting point was https://learnopengl.com https://learnopengl.com
- bun_terminator 2y agoI 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.
- oldgradstudent 2y agoScratchpixel existed way before widespread generative AI. The content is great.
- jsheard 2y agoScratchapixel is the real deal but yeah, I know what you're saying. The "house styles" of services like Midjourney are so widely seen in scams and spam that they have become an automatic red flag. Doubly so when the material is supposed to be about non-AI means of creating images - why aren't you showing the actual product of following the course?
- Retr0id 2y agoI was also confused by that, it's a weird choice considering the articles themselves are full of original diagrams and illustrations that could easily have been used instead. The AI generated images are just visual noise.
- auggierose 2y agoI'd say your bullshit detector needs some readjustment. You can make nice images with AI, especially as chapter images.
- SapThePixelFox 2y agoAI-thumbnails will be removed soon.
- prmoustache 2y agoI would say generating chapter thumbnail images for a non artistic publication is probably the best use case for AI.
- meindnoch 2y agoIt isn't, because people associate these kinds of pictures with low-effort auto-generated clickbait and scams.
- ofrzeta 2y ago"people" as in "some people on HN"? Because I think as broader audience wouldn't necessarily mind or associate those images with scams.
- bun_terminator 2y agoAt face value yes, maybe. But low-quality content is increasingly associated with them, so the effective impact can easily get negative. I'd like to compare this to typical startup landing pages or doxygen documentations. Both can be spotted from a mile a way and are strongly correlated with padded and low quality content.
- susam 2y agoAn 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 results from light rays originating from luminous bodies like the sun, reflecting off objects and into our eyes, thereby forming visual images. This model marked a pivotal shift in the comprehension of light and vision, laying the groundwork for the modern scientific approach to studying light behavior. Indeed! If you are interested in reading more about this, I recommend the article “Light Through the Ages: Ancient Greece to Maxwell”[1]. It is a very fascinating article written by J J O’Connor and E F Robertson in 2002 that takes us through a journey of how our understanding of light has evolved over the last few millennia. [1] https://mathshistory.st-andrews.ac.uk/HistTopics/Light_1/ https://mathshistory.st-andrews.ac.uk/HistTopics/Light_1/
- lupire 2y agoAs 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/eyespages/eye.html http://web.stanford.edu/class/history13/earlysciencelab/body...
- jagged-chisel 2y ago> "...vision occurred through beams of light emitted from the eyes, interacting with the environment" How did they explain lanterns and torches in this theory?
- SapThePixelFox 2y agoThat'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.
- atan2 2y agoI would personally try to have some non-AI thumbnails. But that's just me.
- SapThePixelFox 2y ago)) The AI-thumbnails will be removed in a few weeks. Totally agree with you.
- ipsum2 2y agoThe thumbnails are fine imo.
- auggierose 2y agoWhat are you replacing it with?
- otteromkram 2y agoML thumbnails.
- Vegenoid 2y agoJust remove the images now, until you have real ones. I've seen several blogs/sites of decent quality and technical depth start throwing random semi-related generated images into their articles, and it just makes me immediately wary of BS. No images is better than AI-generated ones if you want your site to look like it was made with care and has good information on it.
- meindnoch 2y agoYuck, AI thumbnails.
- nuz 2y agoLooks great! I really have to supress my "AI thumbnails means low quality AI slop" sensors though because I've heard of this site before and know it's high quality.
- barrenko 2y agoVery similar to drawabox.com in the "feel".
- blondin 2y agoScratchapixel and Rougier's Python OpenGL (https://github.com/rougier/python-opengl https://github.com/rougier/python-opengl) are two books that i want to see completed one day...
- GaggiX 2y agoI just noticed that all the thumbnails are AI generated, I think most of them look quite good, only a few need to be replaced in my opinion: "What Do I Need to Get Started?", 8, 25, 26 look pretty bad; I would have chosen the same style as "1." and "2." and used it for all images as they do not have the typical AI look.
- deleted 2y ago[deleted]
- wpwpwpw 2y agoamazing
- beemoe 2y agoFrom the getting started section: > Terminals are part of the MacOS since it is Linux-based. This is not true. MacOS is based on Unix.
- SapThePixelFox 2y agoCorrect. This could be modified)
- al_borland 2y agoI noticed that too, then it mentioned that compilation should work on macOS and Linux, even though they use Windows. But then they compile to a .exe in the test example to make sure everything is working. This kind of makes it a non-starter for someone who doesn’t already have some idea what they’re doing.
- meindnoch 2y ago>MacOS is based on Unix. It't not "based on". MacOS is a Unix.
- karpour 2y agoQuality writing and sloppy ML-genrated thumbnails really don't fit together, but I saw you already announced that you will replace them with proper images, so this will be a nice resource overall!
- globalnode 2y agohave been waiting for the texturing chapter to be done for what feels like years now... i actually think it has been years.
- SapThePixelFox 2y agoWill work on that next then). It will be cool -- and worth the wait. Sorry if the project got on stall for some years. Life can be difficult some times and it was for me for all these years. Yet I put my heart into writing what's about 500.000 words now which is equivalent of roughly 8 books of 200 pages. All this for free since 2009). I understand your frustration, but hopefully with time and the community support (don't expect any of the corporations out there to help us in that process) we will get these topics covered. But as I am no millionaire, I can only work at the speed at which I can feed myself.
- globalnode 2y agosounds good!, i do very much appreciate all that you have written so far. its just that texturing is the one thing i really do find difficult and its frustrating its not there :) -- thanks again for all your hard work.
- torginus 2y agoHonestly - 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.
- brcmthrowaway 2y agoWhat would you recommend?
- SapThePixelFox 2y agoHum to familiarize yourself with shaders/rendering techniques, do you see any other way but to build academic/collegiate level knowledge on computer graphics? Would love to understand how you intent to achieve results without knowledge.