I made "air compass."
http://www.dowjow.com/panorama/2012p…aircompass.html
Three "hotspot" is used.
"hlookat" and "vlookat" were called and the position and angle of hotspot are rectified.
I wanted to see this to you and contributed.
I made "air compass."
http://www.dowjow.com/panorama/2012p…aircompass.html
Three "hotspot" is used.
"hlookat" and "vlookat" were called and the position and angle of hotspot are rectified.
I wanted to see this to you and contributed.
Hi Yasushi,
Very very nice!
I would like to see the code of this masterpiece.
I hope you will share it so we all can learn and develope our owns.
I'm also willing to pay some for the opensource version of that code.
Great!
And a cool first post!
Tuur
That's wonderful. I echo Tuurs requests.
Wow that's brilliant !!!
Would you share your code ?
Great. How is it done?
Hello, everyone.
I explain using automatic translation.
Moreover, it is not used to the contribution to the forum.
Please understand an unclear thing.
Please refer to a Sorce code.
<!-- events - show a compass -->
<events onviewchange="
sub(hfbang,0,get(view.hlookat));
set(hotspot[fb].ath,get(view.hlookat));
set(hotspot[fb].atv,get(view.vlookat));
set(hotspot[fb].rx,get(view.vlookat));
set(hotspot[fb].ry,get(hfbang));
sub(hrlang,90,get(view.hlookat));
set(hotspot[rl].ath,get(view.hlookat));
set(hotspot[rl].atv,get(view.vlookat));
set(hotspot[rl].rx,get(view.vlookat));
set(hotspot[rl].ry,get(hrlang));
add(vhoang,-90,get(view.vlookat));
set(hotspot[ho].ath,get(view.hlookat));
set(hotspot[ho].atv,get(view.vlookat));
set(hotspot[ho].rx,get(vhoang));
" />
Display More
"air compus" consists of 3 hotspots.
hotspot[fb] is front and back.
hotspot[rl] is right and left.
hotspot[ho] is horizon.
The numerical value of "vlookat" and "hlookat" is called and these positions("atv" and "ath" )are rectified.
Furthermore, direction("rx" and "ry" ) is rectified by called "vlookat" and "hlookat".
These compensation is called by the "onviewchange" event.
It is troublesome to understand a motion, although these are very simple.
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.
Hey Yasushi,
still very very nice!!
I have a tour where i really like to use the aircompass.
Is there a way we can get it.
Buy or open source?
I also like to edit it a bit with my own graphics.
Are there posibilities?
MAster job!!
Tuur
I am sorry in poor English.
"air compass " came to operate also on iOS!
It can use a "gyro" together.
http://www.dowjow.com/panorama/2012p…aircompass.html
I am going to create the hot spot where it moves in the four directions based on this result.
・・・・・・・・・・・・・・・・・・・・
Thank you Mr.Tuur.
Please wait a little longer about public presentation or sale.
It completed now.
"aircompass" can be moved simultaneously with a gyroscope.
http://www.dowjow.com/panorama/2012p…aircompass.html
I would like to harness this result in movement of panorama tour.
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
Thank you MR.Tuur
Please wait a little longer about public presentation.
Works like a charm! Well done, Yasushi
Best regards
Nupsi
Please wait a little longer about public presentation.
Of course! But wow, this has got me excited about tinkering with KRPano again.
k
It completed now.
"aircompass" can be moved simultaneously with a gyroscope.http://www.dowjow.com/panorama/2012p…aircompass.html
I would like to harness this result in movement of panorama tour.
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
Thank you MR.Tuur
Please wait a little longer about public presentation.
Are there any news on the air compass..? I would love to give it a try.
Hello
I made the sales page of the ’aircompass xml & images’.
http://www.dowjow.com/panorama/2012/03/aircompass.php
Customize freely and use for making a work.
A setup of an initial angle(heading) and vertical position offset were added.
※Please tell me the opinion about a price or a sales method.
Hi,
i like to use the compass.js plugin together with the aircompass.
i have:
<plugin name="compass" devices="html5"
url="compass.js"
onavailability="copy(view.hlookat, heading);"
onchange=""
/>
in aircompass i changed header to heading..
But i can't get it to work.
Anybody have experience with the compass.js?
here a link
http://virtualtuur.com/krpano/compass/
in air compass i put:
onxmlcomplete="set(header,get(heading));
Thanx
Tuur
i like it, but i like it react smoother.
i made it not controlable. so it should just point the right way. No users control.
but it is a bit shocky and like resetting every second or so. Would be nice if that was 0.01
so is there a smoother setting for the http://compass.js/gyro?
it's not very accurate.. (?)
my code:
<plugin name="gyroscope"
url="gyro.js"
keep="true"
enabled="true"
camroll="true"
friction="0.5"
velastic="0"
devices="mobile|tablet"
/>
<plugin name="compass" devices="html5"
url="compass.js"
enabled="true"
keep="true"
onavailability="copy(view.hlookat, heading);"
onchange="copy(view.hlookat, heading);"
/>
Display More
Tuur
it works better with:
onchange=""
edit:
mmm.. now it is smoother but less acurate and on iphone not even close.
i put it back as it was
onchange="copy(view.hlookat, heading);"
i have the feeling that it could be a bit better and smoother..
somebody?
Tuur
It sees by iPad2,iPhone4 or later.
A panorama and air compass turn to an actual direction.
It clicks here .
updated:
http://virtualtuur.com/krpano/compass/
check on iphone/ ipad..
some problems left:
http://www.krpano.com/forum/wbb/inde…38648#post38648
Cheers
Tuur
Don’t have an account yet? Register yourself now and be a part of our community!