I've created some illustrations showing different graphical projections.
I'm trying to figure out how to illustrate "cabinet projection" however.
The existing "cavalier projection" is nearly identical, except that
"cabinet projection" is half as long in the z direction. I could shrink
the model of the house along this axis, but I'd rather find a way that
only alters the camera statement. Any ideas?
Here is the camera code I use for "cabinet projection":
#local cam_area = 2 * 5/4;
#local cam_loca = vnormalize(-z/sind(045)+y-x) * cam_dist;
#local cam_dirc = vnormalize(+z/sind(045)-y+x);
#local cam_rgvc = +x * cam_area;
#local cam_upvc = +y * cam_area;
#local cam_tran = transform
translate +y * cam_move
// requires the updated version of "screen.inc" available here:
Set_Camera_Alt(cam_loca, cam_dirc, cam_rgvc, cam_upvc)
Post a reply to this message