CST 325 - Module 2
Week 2,
The core concept of the module is rather fascinating. In short, we learned more about ray tracing, where we shoot a ray into what would be considered a pixel in an imaginary plane, which looks for something to “hit”, using that we draw the pixel based on what we hit. If there is a light source, we compare the point to the light source, and the hit objects normal to shade the pixel. However, if we want more detail, such as reflections, we can create another ray from the hit point and repeat the process recursively, then take the combinations of those colors and apply it to the pixel. This is also a similar process to casting shadows, except instead of looking for the color of the hit object, we are just interested if there is an object between the point and the light source. I also learned more about simple anti-aliasing which is just shooting out more rays per pixel in a certain pattern, then averaging the returning colors between each ray, then drawing the pixel.
This was all implemented in our programming assignment with my partner, and it went well.
Comments
Post a Comment