Image-stitching and virtual tour solutions My account Updates
It is currently Wed Sep 17, 2014 12:36 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Scene Animation
PostPosted: Thu Jan 09, 2014 8:20 pm 
Offline
Member

Joined: Wed Oct 23, 2013 7:27 pm
Posts: 112
I'm looking for someone who can help me write the code for this as this feature is currently not available. What I want is really quite straightforward I think. In my first panorama I'd like to start the pov up high (in this instance at the tree tops) and then slowly moving down to eye level. Don't necessarily expect this to be free. Thanks.


Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Thu Jan 09, 2014 8:44 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 13958
Location: Isleham, Cambridgeshire, UK.
AnnaMaria wrote:
I'm looking for someone who can help me write the code for this as this feature is currently not available. What I want is really quite straightforward I think. In my first panorama I'd like to start the pov up high (in this instance at the tree tops) and then slowly moving down to eye level. Don't necessarily expect this to be free. Thanks.

You could do it yourself quite easily IF you were willing to invoke your current first panorama from a new first panorama.

Your first proper panorama would then in fact be the second panorama opened from a hotspot on the new first panorama (perhaps a simple planar image acting a s sort of into/splash screen/menu with a hotspot inviting the viewer to start the tour) with a Custom view (the the tree tops) to Panorama View (eye level) Target transition set.


Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Fri Jan 10, 2014 12:10 pm 
Offline
Member

Joined: Wed Oct 23, 2013 7:27 pm
Posts: 112
Thanks Mediavets. I will try that. Not sure it'll have the same effect as what I'm ultimately after. If I'm understanding you correctly it won't be a slow vertical transition?


Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Fri Jan 10, 2014 12:15 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 13958
Location: Isleham, Cambridgeshire, UK.
AnnaMaria wrote:
Thanks Mediavets. I will try that. Not sure it'll have the same effect as what I'm ultimately after. If I'm understanding you correctly it won't be a slow vertical transition?


If you set the Custom view to be near the zenith and set the target transition to be Custom view to panorama view then it will be a vertical transition - at lest it was in my simple test - you may have to adjust the speed in the XML.


Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Fri Jan 10, 2014 12:38 pm 
Offline
Member

Joined: Wed Oct 23, 2013 7:27 pm
Posts: 112
Thanks again! I will try this later.


Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Sat Jan 11, 2014 1:10 pm 
Offline
Member

Joined: Wed Oct 23, 2013 7:27 pm
Posts: 112
Hi, Great. Thanks. Am getting very close to what I am after but if you can point out which bit of the .xmal I need to tweak to reduce the speed that would be fantastic! I can see the speed command for autorotate but not the one for the transition activated by the button? Here is the code for the first panorama in two screen grabs. Thanks again!


Attachments:
Screen Shot 2014-01-11 at 12.06.51.png
Screen Shot 2014-01-11 at 12.06.51.png [ 120.11 KiB | Viewed 241 times ]
Screen Shot 2014-01-11 at 12.06.41.png
Screen Shot 2014-01-11 at 12.06.41.png [ 109.75 KiB | Viewed 241 times ]
Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Sat Jan 11, 2014 1:35 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 13958
Location: Isleham, Cambridgeshire, UK.
AnnaMaria wrote:
Hi, Great. Thanks. Am getting very close to what I am after but if you can point out which bit of the .xmal I need to tweak to reduce the speed that would be fantastic! I can see the speed command for autorotate but not the one for the transition activated by the button? Here is the code for the first panorama in two screen grabs. Thanks again!


I'm no coder but I think it's the 'smooth' setting you need to adjust.

Here's the krpano documentation for that:

smooth(accel,break,maxspeed) - accelerated smooth movement (=default)

accel = acceleration in degrees/second² (default=720)
break = negative acceleration in degrees/second² (default=-720)
maxspeed = maximum moving speed in degrees/second (default=720)


Attachments:
1-ptp2rc1-smooth-settings.jpg
1-ptp2rc1-smooth-settings.jpg [ 28.65 KiB | Viewed 238 times ]
Top
 Profile  
 
 Post subject: Re: Scene Animation
PostPosted: Sat Jan 11, 2014 3:42 pm 
Offline
Member

Joined: Wed Oct 23, 2013 7:27 pm
Posts: 112
You're very kind! Thank you. I will have a go and let you know how I get on.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group