|
 |
"Bald Eagle" <cre### [at] netscape net> wrote:
> MInvTransPoint(P, ray.Origin, Trans);
>
> MInvTransDirection(D, ray.Direction, Trans);
Now I can't really find if and where Trans gets defined as anything but an
Identity matrix in Line 776.
The sor gets created "at the origin" / around the y-axis,
so I'm now presuming that when we do
sor { ... translate <x, y, z>}
that the sor gets created and evaluated in its default position, and then all of
the results just get filtered through the translate transform as a
post-intersection process.
And if THAT's the case, then why do we have all of the transforms in the various
functions when we don't need them?
But then again, I could be missing something, and be completely wrong.
- BE
Post a reply to this message
|
 |