RE: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Hauwert, Ralph
I've run into this several times now, with no solution as of yet.
For some reason, when doing more heavy things on the graphical side of
things, it seems like vsyncing is stopped. Like the renderer only renders
half a frame. I did a demo for the Flash 8 launch, using optimizations using
only bitmaps and scrollrect to scroll for instance, and still ran into this
v-sync issue.

Ralph.

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 22 december 2005 0:15
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] jumpy horizontal motion

yeah i took the big background vectors out and its smoother.. im going 
to try the cacheAsBitmap and scrollRect stuff to see if it helps
thanks all

John Berzy wrote:

 updateAfterEvent should not be put in an onEnterFrame because an 
 onEnterFrame event will automatically re-render the stage anyways. if 
 the updateAfterEvent is in a onMouseMove or something then it would be 
 diffrent. I'd say that the graffic is probably a little to big and I 
 believe thats where the choppyness is coming from.

 John


 From: dontsave [EMAIL PROTECTED]
 Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] jumpy horizontal motion
 Date: Wed, 21 Dec 2005 17:59:52 -0500

 i took the text completely out but it didnt really change anything. 
 you notice it particularly with the blue circle.. its like you can 
 sort of see two blue circles when it refreshes.. makes me think the 
 refresh is perhaps not syncing with my monitors refresh rate or 
 something.

 JesterXL wrote:

 Remove the anti-aliased text, and then re-publish; how does she work 
 then?

 - Original Message - From: dontsave [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, December 21, 2005 5:18 PM
 Subject: [Flashcoders] jumpy horizontal motion


 check out
 http://www.chowderinc.com/new_site/

 i have some clips set up moving horizontally. my framerate is 
 60fps.. and it seems to be running fine.. but notice that all of the 
 graphics and even the text appears jumpy or choppy or jittery.. 
 difficult to read when the camera is moving quickly to the left or 
 right.. why is this? has anyone else encountered this?  is it a 
 refresh issue? should i be using updateAfterEvent? the motion is 
 called from onEnterFrame().. should i try setInterval?

 DK
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 _
 Take advantage of powerful junk e-mail filters built on patented 
 Microsoft(r) SmartScreen Technology. 

http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN(r) Premium right now and get the 
 first two months FREE*.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Toon Van de Putte
I think Ralph's problem there is that Flash hasn't finished redrawing frame
1, when it has to start drawing frame 2.
As for David's choppy animation, it's typical for too much animation in too
little time.
60 fps is way too high, 25 or 30 fps is more than enough for smooth
animation. The player won't be able to keep up 60fps for anything but the
simplest animations, so there's no use in trying it. This might explain the
choppy animation (at least partly), the player is just skipping frames.

On 12/22/05, Hauwert, Ralph [EMAIL PROTECTED] wrote:

 I've run into this several times now, with no solution as of yet.
 For some reason, when doing more heavy things on the graphical side of
 things, it seems like vsyncing is stopped. Like the renderer only renders
 half a frame. I did a demo for the Flash 8 launch, using optimizations
 using
 only bitmaps and scrollrect to scroll for instance, and still ran into
 this
 v-sync issue.


Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Hauwert, Ralph
I realize that that is the correct analysis of my problem. Strangly enough,
this isn't really how the flashplayer seems to work; since I am using the
onEnterFrame to update, I shouldn't be able to go out of sync with the
renderer. The render should send out an ontenterframe when it's done
rendering a frame, draw the new one on a framebuffer, swap the buffers, and
send out the event again.

Ralph.

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 22 december 2005 16:45
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] jumpy horizontal motion

I think Ralph's problem there is that Flash hasn't finished redrawing frame
1, when it has to start drawing frame 2.
As for David's choppy animation, it's typical for too much animation in too
little time.
60 fps is way too high, 25 or 30 fps is more than enough for smooth
animation. The player won't be able to keep up 60fps for anything but the
simplest animations, so there's no use in trying it. This might explain the
choppy animation (at least partly), the player is just skipping frames.

On 12/22/05, Hauwert, Ralph [EMAIL PROTECTED] wrote:

 I've run into this several times now, with no solution as of yet.
 For some reason, when doing more heavy things on the graphical side of
 things, it seems like vsyncing is stopped. Like the renderer only renders
 half a frame. I did a demo for the Flash 8 launch, using optimizations
 using
 only bitmaps and scrollrect to scroll for instance, and still ran into
 this
 v-sync issue.


Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Hauwert, Ralph
Ow, and as a side note, I think the magic frame-rates still apply up to
version 7 (not 8 ? anyone ); 

21, 31, 59

Ralph.

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 22 december 2005 16:45
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] jumpy horizontal motion

I think Ralph's problem there is that Flash hasn't finished redrawing frame
1, when it has to start drawing frame 2.
As for David's choppy animation, it's typical for too much animation in too
little time.
60 fps is way too high, 25 or 30 fps is more than enough for smooth
animation. The player won't be able to keep up 60fps for anything but the
simplest animations, so there's no use in trying it. This might explain the
choppy animation (at least partly), the player is just skipping frames.

On 12/22/05, Hauwert, Ralph [EMAIL PROTECTED] wrote:

 I've run into this several times now, with no solution as of yet.
 For some reason, when doing more heavy things on the graphical side of
 things, it seems like vsyncing is stopped. Like the renderer only renders
 half a frame. I did a demo for the Flash 8 launch, using optimizations
 using
 only bitmaps and scrollrect to scroll for instance, and still ran into
 this
 v-sync issue.


Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Toon Van de Putte
Maybe there is some threshold beneath which the player will refresh the
frame anyway? Some sort of minimum frame rate that is maintained at all
times, even if frames cannot be fully drawn.

On 12/22/05, Hauwert, Ralph [EMAIL PROTECTED] wrote:

 I realize that that is the correct analysis of my problem. Strangly
 enough,
 this isn't really how the flashplayer seems to work; since I am using the
 onEnterFrame to update, I shouldn't be able to go out of sync with the
 renderer. The render should send out an ontenterframe when it's done
 rendering a frame, draw the new one on a framebuffer, swap the buffers,
 and
 send out the event again.

 Ralph.

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Verzonden: donderdag 22 december 2005 16:45
 Aan: Flashcoders mailing list
 Onderwerp: Re: [Flashcoders] jumpy horizontal motion

 I think Ralph's problem there is that Flash hasn't finished redrawing
 frame
 1, when it has to start drawing frame 2.
 As for David's choppy animation, it's typical for too much animation in
 too
 little time.
 60 fps is way too high, 25 or 30 fps is more than enough for smooth
 animation. The player won't be able to keep up 60fps for anything but the
 simplest animations, so there's no use in trying it. This might explain
 the
 choppy animation (at least partly), the player is just skipping frames.

 On 12/22/05, Hauwert, Ralph [EMAIL PROTECTED] wrote:
 
  I've run into this several times now, with no solution as of yet.
  For some reason, when doing more heavy things on the graphical side of
  things, it seems like vsyncing is stopped. Like the renderer only
 renders
  half a frame. I did a demo for the Flash 8 launch, using optimizations
  using
  only bitmaps and scrollrect to scroll for instance, and still ran into
  this
  v-sync issue.
 

 Toon Van de Putte
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] jumpy horizontal motion

2005-12-21 Thread Ben Smeets
updateAfterEvent might help. Also keep in mind that moving of large
items on screen (be it graphic or not), costs a lot of redraw power of
the playing pc. So sometimes there is nothing you can do about it. Using
the FP8 features (and therefore play in FP8) helps very much. So try if
that makes a difference too.

In my experience, the things which always make your processor usage go
through the roof, is the actual animation redrawing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: woensdag 21 december 2005 23:27
To: Flashcoders mailing list
Subject: Re: [Flashcoders] jumpy horizontal motion

Remove the anti-aliased text, and then re-publish; how does she work
then?

- Original Message -
From: dontsave [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:18 PM
Subject: [Flashcoders] jumpy horizontal motion


check out
http://www.chowderinc.com/new_site/

i have some clips set up moving horizontally. my framerate is 60fps.. 
and it seems to be running fine.. but notice that all of the graphics 
and even the text appears jumpy or choppy or jittery.. difficult to read

when the camera is moving quickly to the left or right.. why is this? 
has anyone else encountered this?  is it a refresh issue? should i be 
using updateAfterEvent? the motion is called from onEnterFrame().. 
should i try setInterval?

DK
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-21 Thread dontsave

Thanks. Which fp8 features would help here?

Ben Smeets wrote:


updateAfterEvent might help. Also keep in mind that moving of large
items on screen (be it graphic or not), costs a lot of redraw power of
the playing pc. So sometimes there is nothing you can do about it. Using
the FP8 features (and therefore play in FP8) helps very much. So try if
that makes a difference too.

In my experience, the things which always make your processor usage go
through the roof, is the actual animation redrawing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: woensdag 21 december 2005 23:27
To: Flashcoders mailing list
Subject: Re: [Flashcoders] jumpy horizontal motion

Remove the anti-aliased text, and then re-publish; how does she work
then?

- Original Message -
From: dontsave [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:18 PM
Subject: [Flashcoders] jumpy horizontal motion


check out
http://www.chowderinc.com/new_site/

i have some clips set up moving horizontally. my framerate is 60fps.. 
and it seems to be running fine.. but notice that all of the graphics 
and even the text appears jumpy or choppy or jittery.. difficult to read


when the camera is moving quickly to the left or right.. why is this? 
has anyone else encountered this?  is it a refresh issue? should i be 
using updateAfterEvent? the motion is called from onEnterFrame().. 
should i try setInterval?


DK
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-21 Thread dontsave
i took the text completely out but it didnt really change anything. you 
notice it particularly with the blue circle.. its like you can sort of 
see two blue circles when it refreshes.. makes me think the refresh is 
perhaps not syncing with my monitors refresh rate or something.


JesterXL wrote:


Remove the anti-aliased text, and then re-publish; how does she work then?

- Original Message - 
From: dontsave [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:18 PM
Subject: [Flashcoders] jumpy horizontal motion


check out
http://www.chowderinc.com/new_site/

i have some clips set up moving horizontally. my framerate is 60fps.. 
and it seems to be running fine.. but notice that all of the graphics 
and even the text appears jumpy or choppy or jittery.. difficult to read 
when the camera is moving quickly to the left or right.. why is this? 
has anyone else encountered this?  is it a refresh issue? should i be 
using updateAfterEvent? the motion is called from onEnterFrame().. 
should i try setInterval?


DK
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-21 Thread JesterXL
I'm with Ben.  If the text didn't fix, you've just got a ton of stuff on the 
screen, redrawing the entire screen.  Sometimes cacheAsBitmap and scrollRect 
helps in 8, sometimes not.

- Original Message - 
From: dontsave [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:59 PM
Subject: Re: [Flashcoders] jumpy horizontal motion


i took the text completely out but it didnt really change anything. you
notice it particularly with the blue circle.. its like you can sort of
see two blue circles when it refreshes.. makes me think the refresh is
perhaps not syncing with my monitors refresh rate or something.

JesterXL wrote:

Remove the anti-aliased text, and then re-publish; how does she work then?

- Original Message - 
From: dontsave [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:18 PM
Subject: [Flashcoders] jumpy horizontal motion


check out
http://www.chowderinc.com/new_site/

i have some clips set up moving horizontally. my framerate is 60fps..
and it seems to be running fine.. but notice that all of the graphics
and even the text appears jumpy or choppy or jittery.. difficult to read
when the camera is moving quickly to the left or right.. why is this?
has anyone else encountered this?  is it a refresh issue? should i be
using updateAfterEvent? the motion is called from onEnterFrame()..
should i try setInterval?

DK
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-21 Thread John Berzy
updateAfterEvent should not be put in an onEnterFrame because an 
onEnterFrame event will automatically re-render the stage anyways. if the 
updateAfterEvent is in a onMouseMove or something then it would be diffrent. 
I'd say that the graffic is probably a little to big and I believe thats 
where the choppyness is coming from.


John



From: dontsave [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] jumpy horizontal motion
Date: Wed, 21 Dec 2005 17:59:52 -0500

i took the text completely out but it didnt really change anything. you 
notice it particularly with the blue circle.. its like you can sort of see 
two blue circles when it refreshes.. makes me think the refresh is perhaps 
not syncing with my monitors refresh rate or something.


JesterXL wrote:


Remove the anti-aliased text, and then re-publish; how does she work then?

- Original Message - From: dontsave [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:18 PM
Subject: [Flashcoders] jumpy horizontal motion


check out
http://www.chowderinc.com/new_site/

i have some clips set up moving horizontally. my framerate is 60fps.. and 
it seems to be running fine.. but notice that all of the graphics and even 
the text appears jumpy or choppy or jittery.. difficult to read when the 
camera is moving quickly to the left or right.. why is this? has anyone 
else encountered this?  is it a refresh issue? should i be using 
updateAfterEvent? the motion is called from onEnterFrame().. should i try 
setInterval?


DK
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jumpy horizontal motion

2005-12-21 Thread dontsave
yeah i took the big background vectors out and its smoother.. im going 
to try the cacheAsBitmap and scrollRect stuff to see if it helps

thanks all

John Berzy wrote:

updateAfterEvent should not be put in an onEnterFrame because an 
onEnterFrame event will automatically re-render the stage anyways. if 
the updateAfterEvent is in a onMouseMove or something then it would be 
diffrent. I'd say that the graffic is probably a little to big and I 
believe thats where the choppyness is coming from.


John



From: dontsave [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] jumpy horizontal motion
Date: Wed, 21 Dec 2005 17:59:52 -0500

i took the text completely out but it didnt really change anything. 
you notice it particularly with the blue circle.. its like you can 
sort of see two blue circles when it refreshes.. makes me think the 
refresh is perhaps not syncing with my monitors refresh rate or 
something.


JesterXL wrote:

Remove the anti-aliased text, and then re-publish; how does she work 
then?


- Original Message - From: dontsave [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 5:18 PM
Subject: [Flashcoders] jumpy horizontal motion


check out
http://www.chowderinc.com/new_site/

i have some clips set up moving horizontally. my framerate is 
60fps.. and it seems to be running fine.. but notice that all of the 
graphics and even the text appears jumpy or choppy or jittery.. 
difficult to read when the camera is moving quickly to the left or 
right.. why is this? has anyone else encountered this?  is it a 
refresh issue? should i be using updateAfterEvent? the motion is 
called from onEnterFrame().. should i try setInterval?


DK
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_
Take advantage of powerful junk e-mail filters built on patented 
Microsoft® SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders