![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
I've just started creating simple pans in PTP and noticed that when you zoom in to a pan then start auto rotate, the view zooms out again effectively the view sprials out. How do you lock auto-rotate to the zoom level that the viewer is using?
Offline
lovelace wrote:
I've just started creating simple pans in PTP and noticed that when you zoom in to a pan then start auto rotate, the view zooms out again effectively the view sprials out. How do you lock auto-rotate to the zoom level that the viewer is using?
Set the fov in the xml.
<panoview h="178.39" v="-0.06" fov="90"/>
<!-- Parameter anzeigen -->
<view fisheye="0" limitview="range" hlookatmin="-180" hlookatmax="180" vlookatmin="-90" vlookatmax="90" maxpixelzoom="1.0" fovmax="90" fov="90" hlookat="178.39" vlookat="-0.06"/>
Means it keeps @90"-
Or with autorotate:
As example:
<autorotate horizon="-0.06" tofov="90" waittime="3" speed="3"/>
But when you write:
<autorotate horizon="-0.06" tofov="60" waittime="3" speed="3"/>
It will go to 60° while rotating and stays @60°. Example: start at 90° and goes to 60° whith autorotation (to avoid heavy distortion while rotating):
http://360impressions.de/MKP_Panorama/
best, Klaus
Last edited by klausesser (2013-01-06 23:13:35)
Offline
lovelace wrote:
I've just started creating simple pans in PTP and noticed that when you zoom in to a pan then start auto rotate, the view zooms out again effectively the view sprials out. How do you lock auto-rotate to the zoom level that the viewer is using?
You will have to edit the XML files (optionally) created when you build the tour if you have Panotour Pro.
See krpano documentation - for the relevant attributes 'horizon' and 'tofov' (you'll have to enable the advanced settings):
http://krpano.com/docu/xml/#autorotate
Last edited by mediavets (2013-01-06 23:23:01)
Online
That's great thanks! Just uploaded the modified swf + xml files.
http://www.bosci.net/cadora/ptp.html
works well except for some reason the initial preview is vertically squashed - obviously need to play around with the default html file.
Do I take it that PTP is an extended version of krpano?
Offline
lovelace wrote:
Do I take it that PTP is an extended version of krpano?
The krpano Flash and HTML/javascript Panorama Viewers are controlled by XML format command files.
PT/PTP are GUI front-end command code file generators for the krpano Panorama Viewers.
PTP allows you to make the XML files accessible for further editing, you can also export the embedded krpano licenses (from PTP) if you wish to use the krpanotools separately.
Last edited by mediavets (2013-01-07 11:43:21)
Online
Clearly PTP/krpano exposes much functionality.
I have done some basic coding but happy to get into it deeper.
Would it be possible to code the following :
For environmental monitoring work it would nice to have compass point and elevation graduation marks along the bottom and side of the view. So, as you pan horizintally the compass graduations would move as if you had a real compass. As you zoomed in or out the graduation marks would change accordingly. Similarly as you changed elevation.
The attached image is a crude sketch of what I had in mind.
Offline
If you look at these links and I think you could envisage that what you wish to achieve must be possible:
http://krpano.com/forum/wbb/index.php?p … eadID=6655
http://virtualtuur.com/krpano/compass/
http://krpano.com/forum/wbb/index.php?p … readID=520
http://www.kolor.com/forum/t16253-compa … action=new
http://fullinside.fr/compas/alti.html
It might be better to post your question on the krpanpo forum because there are more hand coders there than here:
http://krpano.com/forum/wbb/index.php?l=2
When hand coding be aware that PTP/PTP currently incorporate krpano 1.0.8.14 rather than the latest release of krpano 1.0.8.15.
Last edited by mediavets (2013-01-07 14:02:50)
Online
Thanks that does indeed look doable, will give it some quality time in due course.
So, if I was prepared to to code krpano I didn't need to buy PTP?
BTW I'm not complaining as PTP got a professional done that needed doing quickly but PTP is no more than a GUI for krpano, right?
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
