William F Pokorny <ano### [at] anonymous org> wrote:
> 1) I cannot find 'D = ray.Direction;' in my yuqk code? Where and in what
> version of source code are you seeing this?
Right because that line is not explicitly there.
D is implicitly defined as the ray direction.
Then in line 256 we do: len = D.length();
Which is why we need to get rid of the y component for reasons explained.
So really what we need is an extra line that REdefines the _projected_ ray
direction as D = <D.x, 0, D.y> before that length and normalization take place.
- BW
Post a reply to this message
|