Hi Artur

> >     zRaster = new Raster();
>
> Just a guess, but I think you should specify type as RASTER_DEPTH or
> RASTER_COLOR_DEPTH. In first case there should be no need to give full
Well I did that also. I've changed my code to include these lines :

    zRaster.setCapability(Raster.ALLOW_DEPTH_COMPONENT_READ);
    zRaster.setCapability(Raster.ALLOW_IMAGE_READ);
    zRaster.setCapability(Raster.ALLOW_DEPTH_COMPONENT_WRITE);
    zRaster.setCapability(Raster.ALLOW_IMAGE_WRITE);
    zRaster.setType(Raster.RASTER_COLOR_DEPTH);
    zRaster.setPosition(new Point3f(0.0f,0.0f,0.0f));
    zRaster.setOffset(0,0);

Still same result. The funny thing is I checked the Java3D-demos there is
a Rasterdemo which works. But the code in it is nearly the same as mine.
Guess I will change it and see what will happen.

Thanks!

EOF,
  J.D.

--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)

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