[Papervision3D] Performance Issue with flip down tiles
andysk8er
elbarto37 at yahoo.com
Tue Jul 7 05:39:55 PDT 2009
Hey,
The best way to fix your performance is to make some guesses about what is
slowing it down and then try removing those elements one at a time to see
what effect it has on the frame rate. Then, try to figure out how to
optimize each piece and add it back in.
In your case, I would think that all of that dynamic textfield handling is
probably hogging your performance. So, I would completely remove all of the
textfield rendering and just flip blank tiles to see how my performance
improves. If it improves dramatically, then I would figure out how to rework
the text to render more efficiently. If it makes almost no difference, then,
I would look elsewhere for performance improvements.
Sometimes it's one big thing that makes the difference. Other times, it lots
of little things.
Good luck!
Ian Thomas-5 wrote:
>
> Hi everyone,
> I'm working on a project that produces a display of flip down tiles that
> counts down to a specific date (for an event countdown) and I've pretty
> much
> got the animation nailed.
>
> However, I'm finding it hard to get the performance up to a high enough
> framerate for it to work smoothly. I'm fairly new to papervision3d and
> have
> tried some things (cacheAsBitmap for my movieclips, baking textures,
> setting
> moviematerial.animated to false where possible etc.) but now I'm really
> stumped!
>
> I've attached my source code and a link to the working demo can be found
> here: http://sites.google.com/site/anatomicdesign/flip-tile to show the
> text, click outside the tiles and it should animate in.
>
> Currently, the way that this works is to produce two sprite's with text
> boxes that can be updated (though actually I can't seem to get the
> textformat to update to show a different color!). These are used as the
> material for four planes which are positioned to make a tile and are the
> DisplayTile class. A row holds several DisplayTiles (default 34). A
> message can be written onto a row (upto the character length) and one of
> the
> rows has been extended to produce the countdown effect.
>
> I'm stumped as to how to improve the performance of this, so any help will
> be gratefully received!!
>
> Many thanks,
>
> Ian
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
--
View this message in context: http://www.nabble.com/Performance-Issue-with-flip-down-tiles-tp24342575p24372550.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list