> Well, this seems really hard to optimize ... tons of
> very small primitives.

i've calculated that when i'm dealing with a full set of data, thats after 250 
frames, i need to do 90,000 draw-Arc calls.


> The only advice I can give you is to grab the Raster
> of a INT_RGB buffered image:
> byte[]
> data=((DataBufferByte)tex.getRaster().getDataBuffer())
> .getData()  (in your case its an int[] of course),
> and write code that does the drawing on the
> pixel-array itself.
> 
> It should be really fast to colour those few pixels
> if you don't have to walk through a general
> framework, but instead do exactly what you need and
> that optimized.
> The downside of course is quite a lot of hand-written
> low-level code.
> 
> lg Clemens
[Message sent by forum member 'ser207' (ser207)]

http://forums.java.net/jive/thread.jspa?messageID=301129

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