When I'm reading the z-buffer with a Raster, a NullPointerException occurs (in
fact, two). This is because the image raster is accessed whereas is not
initialized, and also because we send the depthComp to the native readRaster
function instead of the real buffer (i named it depthBuffer).
Also the destination offset is send to the native readRaster function instead of
I made a very light patch that corrects this bugs.
The patch has to be applied in j3dcore directory with the command :
patch -p2 < zbuffer.patch
A program that shows the problem is on the