RTRay Tracing MIT-ITinraytracingmitit.hashnode.dev·Apr 30, 2023 · 6 min readRays, Camera and a BackgroundThe Ray Class All ray tracing programs have a class called "ray" and a way to calculate the color seen along that ray. A ray is like a line in 3D space with a starting point (the "origin") and a direction. You can move along the ray by plugging in a ...00
RTRay Tracing MIT-ITinraytracingmitit.hashnode.dev·Apr 30, 2023 · 4 min readThe vector 3 classMost graphics programs have classes for storing vectors and colors, typically 4D with a homogeneous coordinate for geometry and an alpha channel for transparency. However, for simplicity, we will use a single vec3 class for all purposes, including co...00
RTRay Tracing MIT-ITinraytracingmitit.hashnode.dev·Apr 9, 2023 · 5 min readRendering the 1st ImagePPM Image Format The PPM (or Portable Pix Map) image format is encoded in human-readable text. Below is a brief synopsis of the format which will aid you in being able to load a PPM image. If you are interested in more information, the formal image s...00
RTRay Tracing MIT-ITinraytracingmitit.hashnode.dev·Apr 9, 2023 · 2 min readA brief Intro to Ray TracingIntroduction Ray tracing is a powerful technique used in computer graphics to create highly realistic images by simulating the behavior of light. It is widely used in industries such as film, architecture, and video games to produce stunning visual e...00