May 23, 2012, 10:01:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Prowlie Welcome back! The site migration is complete and normal service resumed.
Advanced search
Pages: [1]   Go Down
Print
Author Topic: animation Saccade  (Read 1987 times)
0 Members and 2 Guests are viewing this topic.
pixa
Fledgling
*
Offline Offline

Posts: 4


« on: June 07, 2009, 02:27:03 AM »

Hello everyone,

I'm doing an animation with a pendulum under Chapter 4 of Adam.
Have you a tip for my animation does not saccade?

file.swf :
http://photomaniak.com/upload/out.php/i705619_pendule2.swf

file.fla for to see :
http://www.megaupload.com/?d=0ZNSEWRZ

Sorry I'm french, I little speak english

Thank you for your help  Smiley

« Last Edit: June 07, 2009, 04:47:14 AM by pixa » Logged
pixa
Fledgling
*
Offline Offline

Posts: 4


« Reply #1 on: June 08, 2009, 09:40:23 PM »

nobody to help me  Cry
Logged
TheEYE
Lurys Fey Daemyt
Assistant Admin
Heroic
****
Offline Offline

Gender: Male
Posts: 5754


That which you have seen can never be unseen.


« Reply #2 on: June 09, 2009, 09:55:16 AM »

I think the problem is that people do not understand the question? Can you please try and rephrase what exactly it is you are asking?
Logged

Ambition is the last refuge of failure. -Arthur Wilde
pixa
Fledgling
*
Offline Offline

Posts: 4


« Reply #3 on: June 09, 2009, 11:58:59 PM »

ok I will try  Smiley

I do not understand why my animation is not fluid.

an idea please ?

Demo in the file : http://photomaniak.com/upload/out.php/i705619_pendule2.swf
for download the demo in .fla : http://www.megaupload.com/?d=0ZNSEWRZ

Thanks for your help


Logged
ResetSytem
Woodfolk
*
Offline Offline

Posts: 27


« Reply #4 on: August 02, 2009, 07:45:25 AM »

Easing
Logged
Jews32
Fledgling
*
Offline Offline

Posts: 1


« Reply #5 on: December 15, 2009, 08:16:53 PM »

I just saw that I had an answer so firstly thank you for having given yourself the trouble of testing and for your suggestions.

I first question what is the point to run the code in the EDT?

If in fact I crammed a lot from this post.

I actually retested in SWING after making a detour by AWT and the animation seems to me correct and fluid, I can be pushed it too far!

Otherwise on the code after seeing with my program if I increased the resolution response times became disastrous, I actually at first like you did by adding a clipping zone. This works very well.

The only thing that bothered me in fact it is the structure of code having to redefine the Paint method which takes no parameters other than the Graphic, I did not really find it handy when you want to make something of a little more consistent. Since I started the method to write my code can be elegantly escaped me but I have not found!

The second solution I have tested for double buffering is the technique of "page flipping". And I understand how it works, with page flipping you can not do the clipping (the I want to have confirmation) since you have only a pointer to your video memory and a pointer to your display area and you're just switch the two. This does not seem too bad to walk but I think I still have to convert the format of my images in native format to achieve a better speed.
Also I found with this technique you do not override the paint method and then writing code is much easier.

Voili voilou, if you can confirm or refute my remarks I would be interested, since I have no certainty about what I just ennoncer

_____________________________ ________

Manual Gate | watch south park | dog beds
« Last Edit: December 21, 2009, 07:44:51 PM by Jews32 » Logged
Brackenwood
   

 Logged
Pages: [1]   Go Up
Print
Jump to:  

Theme by Pieter, based on Black Rain by Crip Powered by SMF 1.1.16 | SMF © 2011, Simple Machines XHTML | CSS

Page created in 0.05 seconds with 22 queries.