Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
![]() |
Source code |
1 2 3 4 5 6 7 |
<plugin name="compass" devices="html5" url="compass.js" enabled="true" keep="true" onavailability="copy(view.hlookat, heading);" onchange="copy(view.hlookat, heading);" /> |
This post has been edited 3 times, last edit by "Tuur" (Jun 12th 2012, 4:58pm)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<!-- Hotspots ([...] means other properties) --> <hotspot name="fb" distorted="true" url="images/fb.png" flying="1" [...] /> <hotspot name="rl" distorted="true" url="images/rl.png" flying="1" [...] /> <hotspot name="ho" distorted="true" url="images/ho.png" flying="1" [...] /> <!-- events - show a compass --> <events onviewchange=" sub(hfbang,0,get(view.hlookat)); set(hotspot[fb].rx,get(view.vlookat)); set(hotspot[fb].ry,get(hfbang)); sub(hrlang,90,get(view.hlookat)); set(hotspot[rl].rx,get(view.vlookat)); set(hotspot[rl].ry,get(hrlang)); add(vhoang,-90,get(view.vlookat)); set(hotspot[ho].rx,get(vhoang)); " /> |
Mr. Yasushi,Please solve my question.
It is very difficult to rectify the direction of "hotspot[ho]" by hookat.
(The present "hotspot[ho]" does not rotate by hlookat! )
It is difficulty which compounds the angle to which three axes are moved.
I would like to solve it. If it is solvable, the arrow display used, for example with the "google street view" will be attained.
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<!-- Skin Layout --> <layer name="skin_scroll_window" type="container" keep="true" align="leftbottom" width="100%" height="100%" x="0" y="0" y_shown="0" y_hidden="-2" maskchildren="true" > <layer name="skin_scroll_layer" type="container" align="leftbottom" width="100%" height="100%" x="0" y="-100%"> <layer name="skin_title" url="%SWFPATH%/skin/plugins/textfield.swf" align="lefttop" edge="leftbottom" width="95%" height="32" autoheight="true" x="5" y="-3" zorder="4" enabled="false" background="false" border="false" css="text-align:left; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:16px;" textshadow="1" visible="false" /> <layer name="skin_btn_thumbs" url="icons/thumbs.png" align="top" y="-44" scale="1" visible="true" onloaded="if(ismobile, set(scale,1.5))" ondown="skin_showthumbs();"/> <layer name="skin_scroll_container" type="container" bgcolor="0x000000" bgalpha="0.5" align="lefttop" width="100%" height="100%" x="0" y="0" maskchildren="true"> <layer name="skin_btn_prev" url="icons/prev_scene.png" align="topleft" x="15" y="40" scale="0.7" alpha="0.5" onclick="skin_nextscene(-1);" devices="desktop|tablet"/> <layer name="skin_btn_next" url="icons/next_scene.png" align="topright" x="15" y="40" scale="0.7" alpha="0.5" onclick="skin_nextscene(+1);" devices="desktop|tablet"/> <layer name="skin_thumbs" state="hidden" url="%SWFPATH%/skin/plugins/scrollarea.swf" alturl="%SWFPATH%/skin/plugins/scrollarea.js" direction="h" visible="false" align="top" width="100%" height="100" onloaded="skin_updatescroll();" /></layer> </layer> </layer> |
![]() |
Source code |
1 |
<plugin name="pouet" url="icons/thumbs.png" align="bottom" devices="desktop" style="buttons_style" ondown="skin_showthumbs();" parent="STAGE"/> |
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
This post has been edited 1 times, last edit by "ciul" (Jan 19th 2013, 9:22pm)
Quoted
What do you think?
Regards,
Ciul
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer