02-22-2024, 11:03 PM
(02-22-2024, 02:21 PM)bplus Wrote:(02-22-2024, 03:53 AM)PhilOfPerth Wrote: ...
All a bit above me, but just curious: is the .7 (in line 15) sqrt(2)/2, by any chance?
.7 came from vince
Quote:hello B+,
there are two options, the easiest is parallel projection and the trickier but more realistic one is perspective projection
say you have 3D coord variables x, y, z and you wish to convert them to 2D coords, lets call them p, q
for parallel:
p = x + 0.7*z
q = y + 0.7*z
where 0.7 is a kind of arbitrary number which you can mod until it looks right
But Phil if you were thinking a parallelogram to represent the square base of a pyramid with one angle at 45 degrees such that the sin 45 = cos 45 = SQR(2)/2 = .7???, I see where you are coming from ie, "isomorphic projections" for isometric drawings.
Erm, yeah, that's what I was thinking!
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
Please visit my Website at: http://oldendayskids.blogspot.com/
Please visit my Website at: http://oldendayskids.blogspot.com/