Understanding the Games101 Ray Tracing Code Framework
Scene Setup in main.cpp
The main entry point constructs a complete scene with geometric objects and light sources:
#include "Scene.hpp"
#include "Sphere.hpp"
#include "Triangle.hpp"
#include "Light.hpp"
#include "Renderer.hpp"
int main()
{
Scene scene(1280, 960);
auto sphere1 = std::ma ...
Posted on Fri, 22 May 2026 21:21:44 +0000 by crazykid
Coordinate Systems and Projection Matrix Debugging in Games 101 Assignment 1
Coordinate Systems and Transformations
A coordinate system provides a framework for describing spatial information. Typically, a local frame is established with the observer at the origin, allowing descriptions like "three meters ahead." However, in a shared environment, multiple observers lead to conflicting descriptions (e.g., " ...
Posted on Fri, 08 May 2026 15:30:08 +0000 by chaddsuk