Original Post
Hello All
I've got a space sim game more or less running, but i'm finding an issue with the z-buffer.
Z-buffer is working (close objects are in front of far objects), but the effect of things getting smaller in the distance is not so strong. example:
my ships have a diameter of 1 approx. they become "close to invisible, abt 1-2 pixel) at a distance of 150 (DirectX units)
The planets have a diameter of about 50, and even at a distance of 1500 (the other end of the level) they are not much smaller
Is there any way to increase this effect so that the planets (and ships) will be more smaller in the distance? Only option i can think of is scaling objects down, or distances up, but this will cost me a lot of work. If anyone knows a programmatic option I'd love to know!
Thanks
I've got a space sim game more or less running, but i'm finding an issue with the z-buffer.
Z-buffer is working (close objects are in front of far objects), but the effect of things getting smaller in the distance is not so strong. example:
my ships have a diameter of 1 approx. they become "close to invisible, abt 1-2 pixel) at a distance of 150 (DirectX units)
The planets have a diameter of about 50, and even at a distance of 1500 (the other end of the level) they are not much smaller
Is there any way to increase this effect so that the planets (and ships) will be more smaller in the distance? Only option i can think of is scaling objects down, or distances up, but this will cost me a lot of work. If anyone knows a programmatic option I'd love to know!
Thanks