Sie sind nicht angemeldet.

1

Samstag, 14. Juli 2018, 13:35

Transparent Grid on a spherical panorama

is it possible to put a trasnparente grid on a spherical panorama as a reference to fix the hotspots?

Thanks
Suso

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Suso Barral« (14. Juli 2018, 14:24)


2

Samstag, 14. Juli 2018, 15:21

no, that is not possible...

but you can add this to your xml

Quellcode

1
2
<events name="click4angles" keep="true"
    onclick="screentosphere(mouse.x,mouse.y,mouseath,mouseatv);roundval(mouseath,3);roundval(mouseatv,3);debug('ath=',mouseath,' atv=',mouseatv);" />


then open the log with "O"
and click around

3

Samstag, 14. Juli 2018, 19:06

Ok thank you very much,
I put the event code in my xml and nothing happens, what should happen?
Thanks for your attention
Suso

4

Samstag, 14. Juli 2018, 20:30

try to change your main xml like this

<krpano debugmode="true" showlog="true">
<events name="click4angles" keep="true" onclick="screentosphere(mouse.x,mouse.y,mouseath,mouseatv);roundval(mouseath,3);roundval(mouseatv,3);debug('ath=',mouseath,'atv=',mouseatv);" />
.... your stuff ...
</krpano>

5

Samstag, 14. Juli 2018, 21:13

Ok, this works, but what I'm really looking for is a grid over the scene or guides to adjust the perspective of my hotspots.
Thank you.
Regards

Suso

Tuur

Erleuchteter

Beiträge: 3 023

Wohnort: Netherlands

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

  • Nachricht senden

6

Sonntag, 15. Juli 2018, 14:59

Hi,

download this pic:
http://www.virtualtuur.com/krpano/grid/1/grid.png

Now you can burn it in your pano, with photoshop for example and use that

OR

make cube faces from it as hotspots.. and overlay.
simple, and sloppy example of that.
http://www.virtualtuur.com/krpano/grid/1/

xml
http://www.virtualtuur.com/krpano/grid/1/tour.xml


Edit:
if you press T (keyboard) , then you find my little toolbox.
https://krpano.com/forum/wbb/index.php?p…74910#post74910

use the numbers section, or maybe better the distorted hotspot editor to find some relevant numbers etc..

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

Tuur

Erleuchteter

Beiträge: 3 023

Wohnort: Netherlands

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

  • Nachricht senden

7

Sonntag, 15. Juli 2018, 23:49

Hi,

i quickly made a dynamic grid.
UPDATED!!

http://www.virtualtuur.com/krpano/grid/3/

press G to show/hide the grid.
Is that what you mean?

include the grid.xml in your project.
grid.xml

I will add this to the Toolbox at a later moment.
updated: DONE!
But here you can of course also press T.
The numbers section could be help full.

edit:
yes.... i was a bit sloppy on the line position, but that will be fixed.
UPDATE:
FIXED

Hope it helps!
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »Tuur« (19. Juli 2018, 13:25)


Taurus

Schüler

Beiträge: 132

Wohnort: Belarus

Beruf: photographer & virtual tour developer

  • Nachricht senden

8

Montag, 16. Juli 2018, 14:42

--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Virtual tour Elbrus
...

Windows 10x64 & krpano 1.19pr16

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Taurus« (16. Juli 2018, 23:09)


9

Montag, 16. Juli 2018, 23:34

Thanks Tuur and Thanks Taurus forma your help
Suso