Please What I have to do to make a autorotate with the object.
I want to set the speed too.
thank you
object autorotate
-
-
Hi,
an object pano in krpano is technically just a flat pano with several frames,
and the frames were which by some custom actions,see the "objectskin.xml" for details - there the code for controlling (rotating) the object is defined,
the rotation speed can by controlled by the time internal here:
and if you want auto-rotation you could write and call a custom action like this:
Code<action name="objectautorotaterotate"> inc(image.frame,1,get(image.frames),1); delayedcall(0.5,objectautorotaterotate()); </action>
there the current frame number will be increased every 0.5 seconds,
best regards,
Klaus -
Thank you very much
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!