In my application, I need to render a pretty large (~3500x2300) image so that the interior of a polygon displays the unmodified image, and the exterior displays a lightened version of the image pixels, as if seen through a translucent layer. These will generally be displayed at full scale in a scrollpane, so not all of the image will be visible.
I can think of several ways of doing this, but my problem is that there may be multiple simultaneous instances of this. That is, I will have more than one rendering of the same base image, each with a different polygonal "window" through the translucent layer into the original image. I'm looking for advice on how to do this without eating up enormous amounts of memory, so maintaining an individual full-sized BufferedImage for each instance is out. I also don't want to do anything that amounts to rebuilding the rendered image from scratch every time a repaint is needed. Does anyone have any good suggestions in between these extremes? Is building smaller subimages the best I can do? -- View this message in context: http://www.nabble.com/multiple-renders-based-on-the-same-image-tf4000565.html#a11362456 Sent from the Sun - Java2D-Interest mailing list archive at Nabble.com. =========================================================================== 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".