I would also like to get a related question answered:
If I set the front and back clip distances, during the rendering
process when the depth at each pixel for each polygon is calculated
does the entire range of depth buffer values (e.g. from 0 to MaxDepth)
get mapped to this  range from frontClipDistance to backClipDistance?

Does a value greater than backClipDistance get mapped to MaxDepth
and any value < frontClipDistance get mapped to 0?


Kelvin?

regards,

Chris


Anthony Ashbrook wrote:

> I have an application in which I need to interpret values
> in the depth buffer as distances relative to the camera or
> the image plane.
>
> I have been able to obtain the depth data using the
> DepthComponentFloat object but I am unsure of the
> mapping from these float values to distances. I am
> also concerned that this mapping might be dependant
> on the graphics hardware being used.
>
> Does anyone have any suggestions or comments on
> this subject.
>
> Regards.
>
> Anthony.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".



----------------------------------------------------------------------------
----------------------------------------------------------------------------
This Email may contain confidential and/or privileged information and is
intended solely for the addressee(s) named. If you have received this
information in error, or are advised that you have been posted this Email by
accident, please notify the sender by return Email, do not redistribute it,
delete the Email and keep no copies.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to