ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Clarification of TQ3HitData's 'distance' Field

Q: TQ3HitData's "distance" field is described for window-point picking as "the distance from window point's location on the camera frustrum (in world space) to the point of intersection with the picked object." Does this refer to the (center) of the intersection of the pixel's frustrum with the hither plane, or maybe the yon plane, or could it be the camera location?

A: TQ3HitData's "distance" field is the world space distance from the origin of the picking ray to the intersection point. Effectively, this is the distance from the camera to the intersection point in world coordinates.

[Apr 08 1996]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.