Hello,

I am doing a game with a pretty complex graphics system. It's snes-style, so it has 
multiple layers of graphics. I'm supposed to pull these graphics from JPEG files and 
be able to move different layers around independently, apply effects like blur to some 
layers and fade some layers. I guess I can use the graphics2d's blur. The fading (to 
black etc) I can easily code myself if I use buffered images.

I'm doing the application in swing. How should I actually put the graphics in the 
window? As a bufferedimage, as a graphics2d object? As an icon into a label? This 
sounds like a hack.

I guess when I do image effects like fading I should have the images in 
bufferedimages. Can I do blurring to bufferedimages or do I need to make them into 
graphics2d objects first?

I guess the layered model would be easy to do with 32-bit bufferedimages with alpha 
channels. Should I then combine the layers into one image myself or let 
swing/graphics2d do it?

Do I need to code my own offscreen double buffer? I have understood the java 1.4.2 sdk 
graphics2d libraries do their own double buffering with swing apps?

thanks in advance, regards,

-- 
Toni Heinonen
Teleware Oy
040-836 1815
[EMAIL PROTECTED]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to