You are not logged in.

## Compass...

Trainee

Posts: 53

Location: MARSEILLE FRANCE

Occupation: PANOPHOTOGRAPHE

Friday, May 1st 2009, 12:38pm

Thank you four your advices, Graydon, the compass altimeter works good now

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

Saturday, May 2nd 2009, 3:32am

Glad it helped. Unfortunately I don't have an easy solution for the altimeter working when you aren't limiting the view vertically.

Beginner

Posts: 32

Location: Spain

Friday, January 8th 2010, 2:21pm

### Error in compass rotation...

Hi Klaus.
In the right compass of your example, the North rotation is inverse of correct.
The pointer must rotate to the other site.
The magnetic pointer is always pointing to the North.
In real life, If I rotate to the left, the red pointer moves to the right.

Beginner

Posts: 32

Location: Spain

Friday, January 8th 2010, 2:33pm

I have found the correct use of compass in Real Life:

Beginner

Posts: 10

Location: Italy

Monday, June 7th 2010, 3:40pm

### mini compass

I apologise for my English ... but how do in case of this compass?

http://www.acquedolcionline.com/acquedolci.asp
To run a standard image straight line instead of this circle?

Sage

Posts: 3,347

Location: Netherlands

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

Monday, June 7th 2010, 9:06pm

ooh yes that's nice ... how to do that?

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

Beginner

Posts: 10

Location: Italy

Tuesday, June 8th 2010, 7:57am

### Quoted from "Tuur"

ooh yes that's nice ... how to do that?

Tuur

This is the example of Compass left KRpano 1.08, I simply created a smaller mask layer (a small circle) that makes you see only part of the Compass: the cardinal points ...
The problem is that if instead of seeing the cardinal points rotate circle, we wanted to see the cardinal points in an image straight through

### Source code

```1
2
3
```
``` <action name="onviewchange">
</action>```

### Source code

```1
2
3
```
``` <action name="onviewchange">
</action>```

Unable to do so, and the effect may be more realistic..

Thursday, June 10th 2010, 12:57pm

Hi,

in that example the image with the direction points is still rotating,
but only a small top part is visible, the rest of the rotating image was masked out,

best regards,
Klaus

Beginner

Posts: 10

Location: Italy

Thursday, June 10th 2010, 3:40pm

### Quoted from "klaus.krpano"

Hi,

in that example the image with the direction points is still rotating,
but only a small top part is visible, the rest of the rotating image was masked out,

best regards,
Klaus

Hi,

Sorry, but perhaps I expressed myself well, I hope through the example of getting better understand ...

http://www.fedexx.it/Compass_test/

This his the code:

### Source code

```1
2
3
4
5
6
7
8
```
``` <!-- events, show a infotext on start, and call the "onviewchange" action on a view change -->
<events onxmlcomplete="action(onstart);"
onviewchange= "action(onviewchange);"
/>
<!-- Rotate -->
<action name="onviewchange">
</action>```

You can do that as soon as you end the image with the cardinal points flows from the beginning? and you can align with the actual North of photography?

Thanks !

Sage

Posts: 3,347

Location: Netherlands

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

Thursday, June 10th 2010, 3:49pm

Will you please give the full code on this? so we can learn and help?

Thanx
Tuur
http://www.virtualtuur.com
Skype:studiotuur

Beginner

Posts: 10

Location: Italy

Thursday, June 10th 2010, 5:32pm

### Quoted from "Tuur"

Will you please give the full code on this? so we can learn and help?

Thanx
Tuur

### Source code

```1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
```
```        <!-- ------------------- BUSSOLA ------------------------------------------------------------------------  -->

<!-- events, show a infotext on start, and call the "onviewchange" action on a view change -->
<events onxmlcomplete="action(onstart);"
onviewchange= "action(onviewchange);"
/>
<!-- Rotate -->
<action name="onviewchange">
</action>
<!-- SET DIREZIONE NORD BUSSOLA -->
<action name="onstart">
</action>

<!-- sf trasparente 200 x 200 -->
<plugin name="compass" url="compass/trasparent.png" keep="true" zorder="1" children="false"
align="lefttop" x="-15" y="10"
scale="1" scalechildren="true"
handcursor="false"

/>
<!-- effetto vetro -->
<plugin name="compass_glass" url="compass/compass_glass.png" keep="true" handcursor="false"
parent="compass" zorder="3"
align="center"
/>

<plugin name="compass_plate" url="compass/hotspots.png" keep="true" handcursor="false"
parent="compass" zorder="2"
scale="0.5" y="12"
align="top"
/>

<!-- ago bussola fisso -->
<plugin name="compass_pointer" url="compass/compass_pointer.png" keep="true" handcursor="false"
parent="compass" zorder="1"
align="center"
/>

parent="compass"
align="center"
/>
parent="compass"
align="center"
/>
parent="compass"
align="center"
/>
<!--  --------- FINE  BUSSOLA ---------------------------------------------------------------------------------- -->```

Sage

Posts: 3,347

Location: Netherlands

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

Thursday, June 10th 2010, 5:37pm

Grazzi Mille

i will have a look tonight

Ciao

Arthuro
http://www.virtualtuur.com
Skype:studiotuur

Beginner

Posts: 10

Location: Italy

Thursday, June 10th 2010, 5:47pm

### Quoted from "Tuur"

Grazzi Mille

i will have a look tonight

Ciao

Arthuro
Ok do you look tomorrow ...

Professional

Wednesday, June 16th 2010, 8:28pm

Possible to get the rolling ?

we have now the tilt, but if is possible I'll want the rolling

http://fullinside.fr/compas/alti.html

Monday, June 21st 2010, 4:41pm

Hi,

### Quoted from "Job.1"

we have now the tilt, but if is possible I'll want the rolling
yes, you can get the rolling via the view.camroll variable,

best regards,
Klaus

Professional

Monday, June 21st 2010, 5:20pm

Hi,

### Quoted from "Job.1"

we have now the tilt, but if is possible I'll want the rolling
yes, you can get the rolling via the view.camroll variable,

best regards,
Klaus

Hi, Klaus thank's a lot, but

### Quoted

(only when control.mousetype is "drag3d")

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

Monday, June 21st 2010, 6:22pm

Hi Job.1,

Try with something like this:

### Source code

```1
2
3
4
5
6
7
8
```
```<krpano version="1.0.8" onstart="showlog();">

<control mousetype  	="moveto"
/>
.....```

set a value to control.headswing ... and retrieve the value of view.camroll on events.onviewchange...

SAlut.

Professional

Monday, June 21st 2010, 6:49pm

It's working well, but only with "drag3d"

dommage ! !

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

Monday, June 21st 2010, 7:42pm

Hi Job.1,

### Quoted

It's working well, but only with "drag3d"
Not only ... It's also working with control.mousetype = moveto ...Try it ...
Chouette ton Alti/compas ...

SAlut

Professional

Monday, June 21st 2010, 8:22pm

Hi Job.1,

### Quoted

It's working well, but only with "drag3d"
Not only ... It's also working with control.mousetype = moveto ...Try it ...
Chouette ton Alti/compas ...

SAlut

merci, mais non ça marche pô