I've tried to make a gradient background for my 3d scene: i've created a
simple jpg from cyan to white, and i've added to the scene with:

TextureLoader loader = new
TextureLoader(Param.installDir+"\\images\\3dbg.jpg", c);

ImageComponent2D image = loader.getScaledImage(dim.width,dim.height);

gui.bgNode.setImage(image);

It works, but seems that the image was converted in 16bpp, so the
gradient are no smooth but very ugly.

1) Can i use a 32bpp (or 24bpp) image like background?
2) There is another way to make a gradient background without images?

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