Rasterization : Projection...(giving our image depth)
by
bkenwright@xbdev.net
Lets say we have our data...loads and loads of x,y,z values, which we've
either read in from a file or generated them....now how do we go about rendering
these points to the screen so that we get a 3D appearance? Well there are
two main ways...orthographic and perspective... in orthographic we just throw
the z value away and would more or less render to the screen... well thats the
simple explanation.
In perspective, we divide our x and y values by there z value in
essence....its a slight bit more complicated but that a basic theory. We
will have to take some things into account for our final version, such as Field
of view and screen size.... but just hold on to your pc, and we'll get you
through it :)
|