Hi,

I need to do some direct writing to the color and z buffer in my 3D
application.  This needs to be done directly.  I've tried using the
J3DGraphics2D in the Canvas3D.postRender() method to write a
BufferedImage directly to the output buffer, but this has the
unfortunate side effect of automatically scaling my image if the screen
size changes (I'd much prefer catching the resize event and rebuilding
the image I'm bilting).

Two things I need to do:

- I have an image I'd like to use as a static background and another
image with z-buffer information.  I'd like to bilt my image and z-buffer
first and then draw my 3D scene over top.  Can I do this?

- I have some images I'd like to bilt directly on top of the final
image.  Unfortunately, the drawAndFlushImage() method of J3DGraphics2D
has the unfortunate 'feature' of automatically scaling my image when the
3D window is resized.  What I've tried so far with rasters sometimes
allows geometry to project through my raster image.  Is there another
way to do this?

I've been playing with Rasters, which look promising, but haven't been
able to get either of my above effects yet.  Can the above be done?

Mark McKay

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