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.

21

Thursday, December 13th 2018, 11:48am

I checked the new code is working. Better to turn off hot spots. enabled="false"

22

Friday, December 14th 2018, 6:59am

I have a problem with hiding the hotspots. So far I could show and hide my hotspots via a button.


Before shutting down, some hotspots may already be turned off. It is necessary to save the state of "visible" "enabled" and then turn it off. When enabled, these states restore from saved.
This can be done like this:

Source code

1
2
3
	<action name="startup" autorun="onstart">
		set(hidden_hs,false);
	</action>

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<action name="Hotspot_out_on"> 
	    switch(hidden_hs); 
            for(set(i,0), i LT hotspot.count, inc(i), 
                  for(set(j,0), j LT hotspots_to_be_toggled.supported_style.count, inc(j),           		             		 
			if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name,            				 
				if(hidden_hs, 	copy(hotspot[get(i)].visible_temp, hotspot[get(i)].visible);
						copy(hotspot[get(i)].enabled_temp, hotspot[get(i)].enabled);
						set(hotspot[get(i)].visible,false);
						set(hotspot[get(i)].enabled,false);										
						,
						copy(hotspot[get(i)].visible, hotspot[get(i)].visible_temp); 
						copy(hotspot[get(i)].enabled, hotspot[get(i)].enabled_temp); 
				  );
			     );
                         );
                    );
</action>

This post has been edited 1 times, last edit by "San7" (Dec 14th 2018, 10:22am)


23

Monday, January 28th 2019, 11:57am

update
On request,added a tab to open the scene when you click on a hotspot

Changes made:
  • Plugin compatibility with flat and single panoramas made.
  • The interface of plugin panel has been changed (the attribute settings tab does not scroll with other tabs).
  • Correction of defects.


This post has been edited 1 times, last edit by "San7" (Jan 28th 2019, 3:25pm)


ramirox3

Intermediate

Posts: 193

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

24

Wednesday, January 30th 2019, 5:24am

great, where can we download the update?

25

Wednesday, January 30th 2019, 5:36am

I sent you a link in a personal message

Tolis

Beginner

Posts: 2

Location: Moscow

  • Send private message

26

Wednesday, January 30th 2019, 4:21pm

add hotspot

Very good and informative plugin for all tasks of 3D tours.

27

Friday, February 8th 2019, 2:29pm

Visibility of hotspots

hey,

your plugin is really great and a big time saving benefit for krpano!

I hope this is not offtopic, to write it here:
I want to enable/disable as well a group of hotspots by a button; preferably in the Nav-Bar in the bottom.
I didnt understand to e hones, nor got it run :)
Can I ask for advices?


Thanks.

This post has been edited 1 times, last edit by "tefod" (Feb 8th 2019, 2:43pm)


28

Friday, February 8th 2019, 3:07pm

hey,

your plugin is really great and a big time saving benefit for krpano!

I hope this is not offtopic, to write it here:
I want to enable/disable as well a group of hotspots by a button; preferably in the Nav-Bar in the bottom.
I didnt understand to e hones, nor got it run :)
Can I ask for advices?


Thanks.

Hello!
I understand correctly - the plugin itself works.
Is there a problem in the code that disables all hotspots?

Source code

1
2
3
	<action name="startup" autorun="onstart">
		set(hidden_hs,false);
	</action>


This is a list of styles from the plugin.

Source code

1
2
3
4
5
6
<hotspots_to_be_toggled> 
             <supported_style name="link_hs_sm"/>
             <supported_style name="text_hs_sm"/>
             <supported_style name="vid_hs_addhs"/>
             <supported_style name="pl_hs_add_hs"/>
	</hotspots_to_be_toggled>


This button disable visibility hotspotov

Source code

1
2
3
4
<layer name="test" style="pan_edit_link_SM" align="lefttop" y="10" x="100" width="80"
                 onclick="Hotspot_out_on();">
                <layer name="test1" style="text_ELink_SM" align="center" x="0" y="0" html="тест" /> 
 </layer>


This is the executable code.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<action name="Hotspot_out_on"> 
   switch(hidden_hs);
   for(set(i,0), i LT hotspot.count, inc(i), 
       for(set(j,0), j LT hotspots_to_be_toggled.supported_style.count, inc(j), 
          if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name, 
              if(hidden_hs, copy(hotspot[get(i)].visible_temp, hotspot[get(i)].visible);
                                   copy(hotspot[get(i)].enabled_temp, hotspot[get(i)].enabled);
                                   set(hotspot[get(i)].visible,false);
                                   set(hotspot[get(i)].enabled,false); 
                                    ,
                                   copy(hotspot[get(i)].visible, hotspot[get(i)].visible_temp); 
                                   copy(hotspot[get(i)].enabled, hotspot[get(i)].enabled_temp); 
                  );
               );
             );
          );
	</action>

This is a working code, tested with a plugin.

This post has been edited 1 times, last edit by "San7" (Feb 15th 2019, 2:57pm)


29

Wednesday, February 13th 2019, 7:13am

Hello
Added saving without editor files, significantly increases performance.
Eliminated the problem with video hotspots - the sound did not disappear when changing scenes with the editor panel inactive.
When you turn off and turn on the sound of video and audio (speaker in the control panel), the volume is now preserved.
Now when you create a hotspot, it is immediately assigned the destination of the active (selected) tab.
Fixed minor bugs.


http://novosibpano.ru/Plugins/Add_Hotspot_en.html

ramirox3

Intermediate

Posts: 193

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

30

Wednesday, February 13th 2019, 1:57pm

great, i want to try it

31

Wednesday, February 13th 2019, 2:23pm

great, i want to try it
I can prepare a demo version - fit?

ramirox3

Intermediate

Posts: 193

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

32

Wednesday, February 13th 2019, 2:38pm

no, where I can download it

33

Wednesday, February 13th 2019, 2:43pm

no, where I can download it
I sent the link in PM

ramirox3

Intermediate

Posts: 193

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

34

Wednesday, February 13th 2019, 3:30pm

Thanks ¡¡¡¡ *thumbup*

ramirox3

Intermediate

Posts: 193

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

35

Wednesday, February 13th 2019, 6:04pm

"Added saving without editor files, significantly increases performance"
please. Can you explain me about this? how this work

36

Wednesday, February 13th 2019, 6:08pm

"Added saving without editor files, significantly increases performance"
please. Can you explain me about this? how this work
Look at here

ramirox3

Intermediate

Posts: 193

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

37

Wednesday, February 13th 2019, 11:20pm

hi
If I am working on a project with the previous version, how should I do to update to the new version and continue working on the project?
I try but due to the incorporation of new folders and change hosting xml files I could not do it correctly

38

Thursday, February 14th 2019, 2:29am

hi
If I am working on a project with the previous version, how should I do to update to the new version and continue working on the project?
I try but due to the incorporation of new folders and change hosting xml files I could not do it correctly
Change inclusion
<include url="add_hotspot/plugins_l/editor/add_hotspot.xml"" />
Replace the entire add_hotspot folder
Leave your file save_hotspot.xml


Finished work, connect so:
<include url="add_hotspot/plugins_l/add_hotspot_2.xml"" />

This post has been edited 1 times, last edit by "San7" (Feb 14th 2019, 6:46am)


39

Friday, February 15th 2019, 2:46am

I understand correctly - the plugin itself works.
Is there a problem in the code that disables all hotspots?
Perfect. With you suggestion and after adding

Source code

1
2
3
<action name="startup" autorun="onstart">
set(hidden_hs,false);
</action>

..it worked flawlessly.

40

Friday, February 15th 2019, 2:58pm

I understand correctly - the plugin itself works.
Is there a problem in the code that disables all hotspots?
Perfect. With you suggestion and after adding

Source code

1
2
3
<action name="startup" autorun="onstart">
set(hidden_hs,false);
</action>

..it worked flawlessly.
Yes, I forgot to display this moment above, corrected