PDA

View Full Version : disabling antialiasing during motion


ded_panos
04-21-2008, 07:30 AM
hi!
i'm using local connection to control the pano. when i send "pano.pan=180,1500,easyin" command it does BUT the movement is sharp because antialiasing still active (qualityMotion is set to low and when dragging pano with mouse it moves pretty smooth).
i read this forum and found that setting qualityStatic to LOW while pano is moving may help. So i send qualityStatic=low just before movement command...
the question!! How can i catch the pano just finished moving event?

cheathamlane
04-21-2008, 04:24 PM
You can have your "pano.pan=180,1500,easyin" call a function when it is done.

See the documentation for FPP, or this mini-tutorial here (http://flashpanos.com/content/simple-panorama-auto-presentation) -- but you'll end up with something like:

<spot
id="myHotspot"
url="myHotspot.png"
onClick="qualityStatic=low;pano.pan=180,1500,easyin,myEndFu nction"

myEndFunction="qualityStatic=high"
/>

ded_panos
04-21-2008, 08:35 PM
thanks!! that is really simple)