uto

01-10-2005, 07:15 PM

Hi,

I would like to compute the depth precision according to the actual depth in [0,1], the near and the far planes distances. More precisely, I would like to be able to determine the depth value next to an arbitrary one.

If someone have a solution he is welcome.

Thanks,

-uto-

I have one but i'm not sure that the fastest. (I convert the depth in [0,1] to the int representation add 1 convert it back ...

I would like to compute the depth precision according to the actual depth in [0,1], the near and the far planes distances. More precisely, I would like to be able to determine the depth value next to an arbitrary one.

If someone have a solution he is welcome.

Thanks,

-uto-

I have one but i'm not sure that the fastest. (I convert the depth in [0,1] to the int representation add 1 convert it back ...