answer:
1) yes. But, as far as I know, jpg is a 24 color bit image format. Check if your vcard is also set to 32/24 color bits. My vcard also shows ugly textures at 16bits.
2)yes. You can set a colored geometry as background. Try a cube, or a cylinder, and set a color for each vertex. Turns normals and material lighting off.
Alessandro
Claudio Mazzuco <[EMAIL PROTECTED]> wrote:
Claudio Mazzuco <[EMAIL PROTECTED]> wrote:
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 th e message "help".
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
===========================================================================
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".