Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Samstag, 22. Oktober 2011, 04:59

Autorotate

This may sound silly but I am a beginner
1-How to put a button to autorotate/stopautorotate?
2-I embeded the plugin autorotate:
<autorotate enabled="true"
waittime="0"
accel="1.0"
speed="4.0"
horizon="0.0"
tofov="off"
/>
Of course the scene autorotate but it does not stop when you make click(like I have seen in other panoramas).... is there any attribute I can add to make this?
Geetings
=Manigordo=

2

Samstag, 22. Oktober 2011, 06:18

Hi!
You can manage all krpano tags by actions, attributes available through dot
same as set(autorotate.enabled,true); in some action

for example: you can stop autorotation by
<action name="stoprotation">
set(autorotate.enabled,false);
</action>


and call this action from some plugin, this will stop rotation
<plugin name="rot_btn" url="rot_btn.jpg" keep="true"
onclick="stoprotation()"
/>

read carefully http://krpano.com/docu/actions/#actionsreference
look at examples in krpano downloaded package

Hope it help

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN