You are not logged in.

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.

1

Saturday, July 14th 2018, 1:35pm

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

This post has been edited 2 times, last edit by "Suso Barral" (Jul 14th 2018, 2:24pm)


2

Saturday, July 14th 2018, 3:21pm

no, that is not possible...

but you can add this to your xml

Source code

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

Saturday, July 14th 2018, 7:06pm

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

Saturday, July 14th 2018, 8:30pm

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

Saturday, July 14th 2018, 9:13pm

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

Sage

Posts: 3,229

Location: Netherlands

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

  • Send private message

6

Sunday, July 15th 2018, 2:59pm

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

Sage

Posts: 3,229

Location: Netherlands

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

  • Send private message

7

Sunday, July 15th 2018, 11:49pm

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

This post has been edited 4 times, last edit by "Tuur" (Jul 19th 2018, 1:25pm)


Taurus

Trainee

Posts: 136

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

8

Monday, July 16th 2018, 2:42pm

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

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.19pr16

This post has been edited 1 times, last edit by "Taurus" (Jul 16th 2018, 11:09pm)


9

Monday, July 16th 2018, 11:34pm

Thanks Tuur and Thanks Taurus forma your help
Suso