All,

Has anyone tried using JAI to render dynamic texture images? I did get
something working tonight, the code *looks* great (nice modular 2D rendering
graph, etc.) but the performance is disappointing.

On my machine, repeatedly rendering a static 256x256 BufferedImage texture
using an updateData call, I get >=200 FPS. If I write a simple JAI graph
(scale, then smooth for example) and draw the produced RenderedImage into
the BufferedImage for display, my frame rate drops to 50 FPS.

It appears that JAI is more suited to larger images and more heavy-weight
processing (where perhaps a memory copy across JNI is less of a factor?).
Anyone else have any experience with this? With such a drop in frame-rate I
may be able to implement the rendering operations by hand in Java more
efficiently, but I'd really prefer not to!

Thanks,

Daniel Selman

Author - "Java 3D Programming"
http://www.manning.com/selman

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

Reply via email to