Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

1

Montag, 16. Januar 2012, 15:58

air compass

I made "air compass."

http://www.dowjow.com/panorama/2012pano/…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.

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Montag, 16. Januar 2012, 19:13

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 *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (16. Januar 2012, 23:47)


Beiträge: 1 836

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

3

Montag, 16. Januar 2012, 20:34

That's wonderful. I echo Tuurs requests.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Beiträge: 579

Wohnort: Angers - France

Beruf: Photographer

  • Nachricht senden

4

Donnerstag, 19. Januar 2012, 23:59

Wow that's brilliant !!!
Would you share your code ?

5

Freitag, 20. Januar 2012, 14:30

Great. How is it done?

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

6

Samstag, 21. Januar 2012, 04:37

code of "air compus"

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.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- 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));

  " />  


"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.

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

7

Montag, 27. Februar 2012, 16:18

It completed!

Horizontal rotation was attained.

Please see.

http://www.dowjow.com/panorama/2012pano/…s_complate.html

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

8

Montag, 5. März 2012, 13:44

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 *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

9

Dienstag, 20. März 2012, 06:30

"air compass " came to operate also on iOS!

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/2012pano/…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.

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

10

Dienstag, 20. März 2012, 06:35

"aircompass" came to move on ios!

It completed now.
"aircompass" can be moved simultaneously with a gyroscope.

http://www.dowjow.com/panorama/2012pano/…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.

11

Dienstag, 20. März 2012, 08:56

Works like a charm! Well done, Yasushi *thumbsup*

Best regards
Nupsi

12

Mittwoch, 21. März 2012, 13:14

RE: "aircompass" came to move on ios!

Please wait a little longer about public presentation.

Of course! But wow, this has got me excited about tinkering with KRPano again. :-)

k

olihar

Schüler

Beiträge: 132

Wohnort: Iceland

Beruf: Interaction Designer

  • Nachricht senden

13

Mittwoch, 30. Mai 2012, 12:12

RE: "aircompass" came to move on ios!

It completed now.
"aircompass" can be moved simultaneously with a gyroscope.

http://www.dowjow.com/panorama/2012pano/…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.

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

14

Sonntag, 3. Juni 2012, 15:49

aircompass xml & images

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.

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

15

Dienstag, 5. Juni 2012, 02:08

My first air compass just as a test.

http://virtualtuur.com/singlepublish/Heide-Ommen/

*thumbup*

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

16

Donnerstag, 7. Juni 2012, 14:20

solved!

Hi,

i like to use the compass.js plugin together with the aircompass.

i have:

Quellcode

1
2
3
4
5
<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 *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Tuur« (7. Juni 2012, 16:20)


Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

17

Donnerstag, 7. Juni 2012, 16:46

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 compass.js/gyro?
it's not very accurate.. (?)

my code:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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);"
        />


Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

18

Donnerstag, 7. Juni 2012, 18:25

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 *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (7. Juni 2012, 19:37)


  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 51

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

19

Freitag, 8. Juni 2012, 07:39

I tried realistic compass.

It sees by iPad2,iPhone4 or later.

A panorama and air compass turn to an actual direction.

It clicks here .

http://dowjow.com/panorama/2012pano/comp…mon/djtour.html

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

20

Samstag, 9. Juni 2012, 14:52

updated:
http://virtualtuur.com/krpano/compass/
check on iphone/ ipad..

some problems left:
http://www.krpano.com/forum/wbb/index.ph…38648#post38648

Cheers
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Ähnliche Themen