Negativ. I tried 1.1, 1.2 and 1.3beta. The result: 1.2 and 1.3b are exactly
the same speed, HotSpot slowing them down by 5% or so. Not good for a
pure-java implementation?
1.1 is about 30% faster, but still very slow.
Are there some hidden switches?
- J
Joerg 'Herkules' Plewe
HARDCODE Development
http://www.hardcode.de
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Justin Couch
> Sent: Montag, 1. November 1999 01:47
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Slightly OT: Why is drawImage so slow?
>
>
> Joerg 'Herkules' Plewe wrote:
>
> > BUT, doing a 800x600 double buffer consumes about 50% CPU of a
> > Pentium/350Mhz when running with 25fps only! The big image
> about the same
> > time! So WHY is drawImage THAT slow? Are there any means to
> speed that up?
> > How can I understand that? There is no alpha nor transparency involved.
>
> A lot of this has to do with the way that Java2D has been implemented. I
> remember at the Java2D BOF the Sun people stating that all of the 2D
> routines were moved from native code in 1.1 to pure java in 1.2.
> Obviously, without hardware accel on simple things like line drawing and
> polygon fills, things become a lot slower. They stated that the intent
> was to move back to native code for 1.3.
>
> As for the image blitting, there are a number of potential reasons for
> this. You might want to check out the bug fix list for JDK 1.3. IIRC,
> there was a bunch of bugs where loops were doing things differently
> depending on how many components the image had and therefore the number
> of loop iterations tha were being done. Supposedly drawImage is much
> faster in 1.3 (Haven't checked to confirm).
>
> --
> Justin Couch Author, Java Hacker
> Snr Software Engineer [EMAIL PROTECTED]
> ADI Ltd, Systems Group http://www.vlc.com.au/~justin/
> Java3D FAQ: http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
> -------------------------------------------------------------------
> "Look through the lens, and the light breaks down into many lights.
> Turn it or move it, and a new set of arrangements appears... is it
> a single light or many lights, lights that one must know how to
> distinguish, recognise and appreciate? Is it one light with many
> frames or one frame for many lights?" -Subcomandante Marcos
> -------------------------------------------------------------------
>
> ==================================================================
> =========
> 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".
>
===========================================================================
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".