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.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

1

Thursday, October 27th 2022, 6:12pm

ToolBox V2

Hi all,

It took some time, but here it is.
ToolBox V2 (Beta)

To learn and study I now made the ToolBox as a krpano js plugin.
100kb of convenience.

As I think it is quite stable now, I just 'finished' it for now though, I decided to release a first version of V2. Still quite basic I think.
I have about 4-5 more things I would like to add, perhaps some changes.. I need your help to evaluate this a bit...keep in mind it is not an 'editor'.
So.. there we go

Put the toolbox folder on the same level as the 'tour.xml' in your project and add the toolbox to your project as a plugin... like:
<plugin nam="toolbox" url="toolbox/toolboxV2.js" keep="true" preload="true" />

Load your project.
You can use keycodes to control your ToolBox:

T to show/hide the ToolBox
M to go back to the ToolBox menu
N to show the Numbers section
H to show the distorted hotspot editor
P to show the Polygonal hotspot editor
G to show/hide the Grid
J to show the Stickies
K to show the ColorPicker
I to show/hide the info panel

The above keycodes you can set to your personal tast in the plugin, among some other settings. These are all currently available settings:

<plugin name="toolbox" url="toolbox/toolboxV2.js" keep="true" preload="true"
poly_bgcolor="0x336699"
dot_color="0xffff00"
dot_size="12"
active_dot_color="0x00ff00"
active_dot_size="12"

keycode_to_home="77"
keycode_to_activate="84"
keycode_to_log="76"
keycode_to_numbers="78"
keycode_to_distorted="72"
keycode_to_poly="80"
keycode_to_grid="71"
keycode_to_stickies="74"
keycode_to_colorpicker="75"
keycode_to_info="73"

decimals_for_numbers="3"
decimals_for_dhe="2"

basecolor_for_colorpicker="0xff0000"
/>



The ToolBox V2 (beta) is dragable and has currently 6 sections.
More features are in the planning.

- Numbers
- Distorted hotspot editor
- Polygonal hotspot editor
- Grid
- Stickies
- Colorpicker


I hope you like my suggestion!
I could appreciate yours *g*
https://bit.ly/3NnpynC


NOTE:
This is written as a Krpano js plugin, as a study project. It seems to work great although it can be that i made a mistake or two. For that it is in 'Beta' now. I plan to add more features on a short term during folowing updates. The code of the colorpicker is based on the colorpicker from San7 (Alexandr Mikhailov) and re-written to js by me.


This is a Share-Ware product © by Virtual Tuur | Arthur van den Enk.
Please use it and i hope it brings some convenience. If you find a problem or a bug, if you like it or have idea's.. please let me know in the forum thread.

Edit: 4 nov 2022 there was a small typo. Current download is fixed version.

Tuur *thumbsup*
Tuur has attached the following file:
  • toolbox.zip (102.92 kB - 227 times downloaded - latest: Yesterday, 4:49pm)

This post has been edited 4 times, last edit by "Tuur" (Jul 6th 2023, 5:31pm)


2

Thursday, October 27th 2022, 7:34pm

*thumbup* *thumbup* *g*

3

Thursday, October 27th 2022, 7:41pm

Hi Tuur,

great news *g* Already looking forward to it *thumbsup*

Btw...in the old toolbox, I often had the problem that when I tried to move a hotspot, the background moved instead ;-)

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

4

Friday, October 28th 2022, 1:28am

Hi Nupsi,

Quoted

Btw...in the old toolbox, I often had the problem that when I tried to move a hotspot, the background moved instead ;-)


..mm.. i can't remember i ever had this problem.. it is a long time ago i wrote it and also i made a custom version quite quickly after that that i used myself for years..
I wonder why you didn't mentioned it..and mention it now... it also sounds strange to me...
But as it was opensource, i suppose you did fix the issue your self in a split second.

The new version will be a Beta, i have a list of features that i still want to add, but i think it already works that good that i dare to share it .. soon..
Tuur
*thumbsup*

panoyun

Intermediate

Posts: 234

Location: Somalia

  • Send private message

5

Friday, October 28th 2022, 5:03am

*thumbsup* *thumbsup* *thumbsup*

ramirox3

Intermediate

Posts: 354

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

6

Friday, October 28th 2022, 1:49pm

good news *thumbsup* *thumbsup*

Fernando

Intermediate

Posts: 328

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

7

Saturday, October 29th 2022, 3:26pm

what is new in next release?

Hi Tuur, any info in advanced?
Thanks for sharing! *thumbsup*

8

Sunday, October 30th 2022, 7:42am

I wonder why you didn't mentioned it..and mention it now... it also sounds strange to me...

It was never really a problem, because, as far as I remember, it occurs only with video-hotspots. I wrote a tiny plugin which replaces the video with a white placeholder, which even made it easier to place it, because most videos have a black start-frame (hard to see).

But maybe that´s an idea for your new toolbox, to replace video-hotpots with a colored frame with a single click. Bright pink or green is really good for those kind of things *g*

Have a great WE and happy coding *thumbup*

martyhr

Intermediate

Posts: 386

Location: CZ

  • Send private message

9

Sunday, October 30th 2022, 4:26pm

Great.
I used Toolbox and had big trouble with making dozens polygonal hotspots in one pano.
Finaly I managed to build them. But it was real advanture.

https://www.virtualczech.cz/gvuo1926/

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

10

Sunday, October 30th 2022, 4:45pm

Quoted

I used Toolbox and had big trouble with making dozens polygonal hotspots in one pano.

Sorry to hear that, i have not such an experience and also made many.
I can't find you mentioning this issue in previous posts.

Tuur *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

12

Tuesday, November 1st 2022, 7:03pm

Thank you very much Tuur, looking forward to trying it!! *thumbsup* *thumbsup* *thumbsup*

Fernando

Intermediate

Posts: 328

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

14

Wednesday, November 2nd 2022, 11:20pm

Thanks!

Thanks very much Tuur!
Maybe It would be very useful to also include some tool to create hotspots (not just edit) and layers.
Best regards,
Fernando *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

15

Friday, November 4th 2022, 9:49am

Quoted

Maybe It would be very useful to also include some tool to create hotspots (not just edit) and layers.


This is typically an editor thing. The ToolBox only gives you values to be used to your needs. There is no real editting happening, and that is also not the plan.
Hotspot and layer creating etc is too specific.. i would never use it.
You could put your hotspot and layer bases in a 'sticky' then you can just copy it from there and enter the numbers.
If you want such an editor i point you, for example, to the editor plugins from San7 (Alexandre).

Tuur *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

16

Friday, November 4th 2022, 1:57pm

Hi all,

I found a sloppy little bug (typo).
if you use keystroke K to show the color picker it also shows the info..
This is a small mistake.

Best fix for now is to implement like this:

Source code

1
2
3
	<plugin name="toolbox" url="toolbox/toolboxV2.js" keep="true" preload="true" 
		keycode_to_info="73"             
	/>



or..
download the package from the top post again.
https://krpano.com/forum/wbb/index.php?p…88585#post88585

Sorry for this.
In the future, further updates will be presented/edited/updated in the first post.
Version in first post is also updated! (+ 60 downloads)

Tuur *thumbsup*

This post has been edited 2 times, last edit by "Tuur" (Nov 10th 2022, 2:38am)


17

Saturday, November 5th 2022, 4:20pm

Hi Tuur

it gives me this error
Suso Barral has attached the following images:
  • Captura.PNG
  • Captura2.PNG

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

18

Saturday, November 5th 2022, 4:38pm

Hi,

yes sorry... perhaps I was unclear..
you should change that file in the original download..
Best to do now is to download the 'whole' package from the first/top post..
https://krpano.com/forum/wbb/index.php?p…88585#post88585

Hope it helps,

Tuur *thumbsup*

19

Saturday, November 5th 2022, 4:57pm

OK gracias, *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,821

Location: Netherlands

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

  • Send private message

20

Saturday, November 5th 2022, 4:58pm

Hi All,

I made a little TuurTorial for the ToolBox V2

https://youtu.be/Cb0mHbStx08

Tuur *thumbsup*

Similar threads