[comp.graphics] 'nother "obvious" question about ray-tracing

jet@karazm.math.uh.edu (J. Eric Townsend) (09/24/90)

I'm curious as to how you actually generate "eye-rays".  Given 3space,
with the eye a point in 3space and some window with resolution (max,maxy);
I suspect I should build a vector from the eye to a point (X,Y) in the
window plane.  So if I have Plane = (Xp,Yp,Zp) and Eye = (Xe,Ye,Ze)
(with i,j,k unit):

	v = | Xp - Xe| i  + | Yp - Ye| j   +  | Zp - Ze| k

This might seem like a painfully obvious question, but I'm (re)learning
math as a function of programming. :-)

In case you're curious, I'm writing a simple exhaustive ray-tracer
to drive various parallel memory management system benchmarks.  I
hope that it will grow into a "real" parallel raytracer (future
thesis plans :-).
--
J. Eric Townsend -- University of Houston Dept. of Mathematics (713) 749-2120
Internet: jet@uh.edu
Bitnet: jet@UHOU
Skate UNIX(r)