PDA

View Full Version : how to make a reverse Frustum !?!



T2k
04-29-2001, 06:01 AM
I want a Matrix, Frustum or whatever, which produces a view that is nearly the same as a frustum (near objects are bigger than far away objects), but with the reverse of object sizes.
I will explain this as: nearer objects will be smaller than objects far away from the cam/eye, but only on screen, not in the "3d world", so i need a matrix, that is nearly the same as the frustum produces but with near/far clipplanes swapped ??!
How to do such a calculation, without scale,translate, or other non-hardware accelerated functions ???
[I know that my english isn't the best ...]

Gavin
04-30-2001, 03:32 AM
Random guess coming up....
When calculating (the maths) the frustrum type matrix, negate the z for the vanishing point so it is in front of the opbject nstead of behind...

gav