Computer Graphics, Python, Mathematics, Game Development, Game Design.
when to stop tracing reflected rays). Reflected ray Before we’re able to code this, we need to find the reflected ray direction. We can compute a reflected ray the following way: eq. 9 — reflection fig. 7— reflection diagram where, R is the normalized reflected ray; V is a direction unit vector of