Skip to main content

[JAVA2D] zoom-framework with doubleBuffering

2 replies [Last post]
Anonymous

hi,

i develop an application which can zoom and displays a few rectangles.
now i want to buffer(using double buffering) the rectangles for more
speed in my application. the problem is, that the content of the
rectangles when they use double buffering looks very decayed! for this
reason i wrote a little sample progamm(i attached the sample programm as
a zipped eclipse project) which should help me to solve my problem!
unfortunately i have found a solution so far! could you help me?! it
will be great if you check out my little sample programm and help me in
solving my problem!

greetings and sorry for my bad english :-)

--
G & H Softwareentwicklung GmbH Tel.: +49(0)7451/53706-20
Robert-Bosch-Str. 23 Fax: +49(0)7451/53706-90
D-72160 Horb a.N. http://www.guh-software.de

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[zoomTest.zip]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Emmanuel Pietriga

Michael Seele wrote:

> hi,
>
> i develop an application which can zoom and displays a few rectangles.
> now i want to buffer(using double buffering) the rectangles for more
> speed in my application. the problem is, that the content of the
> rectangles when they use double buffering looks very decayed! for this
> reason i wrote a little sample progamm(i attached the sample programm as
> a zipped eclipse project) which should help me to solve my problem!
> unfortunately i have found a solution so far! could you help me?! it
> will be great if you check out my little sample programm and help me in
> solving my problem!
>
> greetings and sorry for my bad english :-)
>
> --
> G & H Softwareentwicklung GmbH Tel.: +49(0)7451/53706-20
> Robert-Bosch-Str. 23 Fax: +49(0)7451/53706-90
> D-72160 Horb a.N. http://www.guh-software.de

Hello,

Why don't you use an existing zooming framework supporting
double-buffering and offering many other features?

The following two have already been mentioned here:
http://www.cs.umd.edu/hcil/piccolo/
http://zvtm.sourceforge.net

The second one is licensed under LGPL and can be used in both open
source and commercial products (the first one is open source too, but I
don't know what license they chose).

Emmanuel

--
Emmanuel Pietriga (epietriga@nuxeo.com)
http://claribole.net

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Michael Seele

hello,

i've tested piccolo few weeks ago but the problem was that the zoomed
rectangles looked realy bad, because the drawing is not very accurate!!!
the next problem was that it was not much faster than my application
without doubleBuffering! the at least it is a problem that i must recode
a big application which is in development since a year. dont't think
that it makes sence to recode half of a application to use a zooming
framework that doesn't bring much of more preformance! the next think is
export and printing, i implement export for lots of formats(svg, gif,
jpg, pdf, ps...). don't no if it works with a zooming farmework! if i
had know the problems with zooming, i've started with one of the
frameworks from startup, but not yet!
hopefully everybody or me finds a solution for this problem! it would be
so great if somebody looks at my problem/code and helps me to solve my
problem!!!

michael

Emmanuel Pietriga schrieb am 22.07.2004 08:07:

> Michael Seele wrote:
>
>> hi,
>>
>> i develop an application which can zoom and displays a few rectangles.
>> now i want to buffer(using double buffering) the rectangles for more
>> speed in my application. the problem is, that the content of the
>> rectangles when they use double buffering looks very decayed! for this
>> reason i wrote a little sample progamm(i attached the sample programm as
>> a zipped eclipse project) which should help me to solve my problem!
>> unfortunately i have found a solution so far! could you help me?! it
>> will be great if you check out my little sample programm and help me in
>> solving my problem!
>>
>> greetings and sorry for my bad english :-)
>>
>> --
>> G & H Softwareentwicklung GmbH Tel.: +49(0)7451/53706-20
>> Robert-Bosch-Str. 23 Fax: +49(0)7451/53706-90
>> D-72160 Horb a.N. http://www.guh-software.de
>
>
> Hello,
>
> Why don't you use an existing zooming framework supporting
> double-buffering and offering many other features?
>
> The following two have already been mentioned here:
> http://www.cs.umd.edu/hcil/piccolo/
> http://zvtm.sourceforge.net
>
> The second one is licensed under LGPL and can be used in both open
> source and commercial products (the first one is open source too, but I
> don't know what license they chose).
>
> Emmanuel
>
> --
> Emmanuel Pietriga (epietriga@nuxeo.com)
> http://claribole.net
>
> ===========================================================================
>
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff JAVA2D-INTEREST". For general help, send
> email to
> listserv@java.sun.com and include in the body of the message "help".
>

--
G & H Softwareentwicklung GmbH Tel.: +49(0)7451/53706-20
Robert-Bosch-Str. 23 Fax: +49(0)7451/53706-90
D-72160 Horb a.N. http://www.guh-software.de

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".