Hi J.D.,

DepthComponent is the base class for a number of
depth buffer formats. If the class you have is of
type DepthComponentFloat or DepthComponentInt then
you can read the z-values using the methods:

void getDepthData(float[] depthData) ... and ...
void getDepthData(int[] depthData)

When you create the Raster object you should be
able to pass a DepthComponent object of the type
you require.

Anthony.

------------------------------
Dr. Anthony Ashbrook
3D Imaging Consultant
+44 131 662 4153
[EMAIL PROTECTED]
http://www.anthonyashbrook.net
------------------------------

===========================================================================
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