View Full Version : Dynamic pages slow down
jaaaab
02-13-2007, 06:43 PM
Hi,
I have noticed something disturbing:
when a pano using the autorotator plugin is running on a page , it slows down every dynamic movements on the page.
i mean div blocks controlled by a javascript code.
is there any way to improve this? maybe is it already improved on next version?
thanks
Denis
02-15-2007, 11:20 AM
Autorotation can take 100% of your single-core processor so the panorama redrawing is the most resource-intensive process.
1. Try to change qualityStatic to "low"
2. Increase interval of redrawing (second parameter of autorotation)
3. Next version allows you to pause autorotaion with an external command.
jaaaab
02-15-2007, 01:55 PM
hi
actually i'm using a dual core at maximum capabilities.
so it's strange that it takes so much ressources.
do you think there's maybe an issue to improve the redrawing algorythm?
++
Denis
02-18-2007, 12:08 PM
Release 2.0 has improved redraw function, it's 50%-80% faster and smoother (2.0 RC examples use old engine, wait for updates). It's about a absolute limit.
BUT it dosn't help you to reduce the processor load for autorotation. Possible you will get FPS 30 instead of 20, but anyway the panorama redrawing (not calculations, but pixels output) is the most slow operation because Flash can't use the hardware layer of your graphics system (to be OS-independent and works the same way for Windows, Mac and Unix).
I.e. 40 small animated hotspots will be definitely faster then one redrawing panorama background (direct relation to redrawing area).
On the other hand Flash haven't multiprocessor support, and for my Core 2 Duo (very popular processor for now) it takes only 50% of processor time, leaving enough resources for other page animation. :)
jaaaab
02-18-2007, 12:22 PM
ok thanks for precisions Denis, i'm waiting for v2.0 to test that.
Hope it'll come soon ;)
i don't know if it is different from autorotator, but in fact i was using the "onloadStart" function in spots.xml to set autorotation, and not your plugin.
bye
vBulletin® v3.7.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.