hi,
i recently started to port some of my old 2d-demos to java. for the effects (plasma etc.) i need direct access to pixel data of the offscreen image.
after playing around with filters and pixelgrabbers, my fastest implementation uses the BufferedImage class. however, for every pixel one needs to call a method setRGB/getRGB. direct access to an array would be faster, wouldn’t it?
does somebody have an idea how i could speed up the access? is this possible with the Raster class?
thx