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,162

Location: Netherlands

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

  • Send private message

1

Wednesday, September 2nd 2015, 3:26pm

Password Plugin

Hi all,

I am finishing the password plugin.
This threat is for questions and support.
I expect it to be available in a few days/week.

You can protect scene's, also in vr!!
You can protect any action that is triggered by calling Password(some vars); and give it a unique password.

More information soon!

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

2

Sunday, September 6th 2015, 4:42am

*g* how much?

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

3

Sunday, September 6th 2015, 11:13am

Hi,

the price will be €15,- + tax and administration. Depending on where you live it will be aprox €18-20 in total i guess.
Need to finish the last things and then i'll set up the selling.

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

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

4

Thursday, September 17th 2015, 10:16am

Available now!

Hi all,

version 1 of the password plugin is available now!
http://www.krpano.com/plugins/userplugins/password/#top

hope you enjoy!

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

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

5

Thursday, September 17th 2015, 11:14am

Thanks Tuur for nice peace of software. I will use in my future projects.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

6

Thursday, September 17th 2015, 12:50pm

Thanks Umalo!

If people have ideas using the plugin, or maybe suggestions for improvement.
I'm open for it.

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

7

Thursday, September 17th 2015, 2:43pm

Hi Tuur,

This plugin is really great.

Could please share the PassWord to have access to a private scene for example ?

I'd like to test all the process for my next projects.

Thanks for your feedback. *smile*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

8

Thursday, September 17th 2015, 2:47pm

Ahhh yes.. ;-)

Passwords for the example:

secret scene = 6155 (pano)
hotspot1 = 7776 (tuur)
hotspot2 = 4582 (love)

so in your case i would expect: 4214 (keal)
;-)

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

9

Thursday, September 17th 2015, 2:55pm

Ohhhh my Goddddd !

So great !

Can we image to laod the Password panel as the project start ?

Then I enter my password and I can visite the projet without having to enter again the password ?

Can we imagine to have several Password allowed to open a Hotspot ?

For example :

USER 1 : Password : 1234
USER 2 : password : 5678

USER 1 can open hotspot 1
USER 2 can open hotspot 1 and hotspot 2

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

10

Thursday, September 17th 2015, 3:10pm

Quoted

Can we image to laod the Password panel as the project start ?

Yes , not in VR mode though..yet.. there is a manual included.

Quoted

Can we imagine to have several Password allowed to open a Hotspot ?

For example :

USER 1 : Password : 1234
USER 2 : password : 5678

USER 1 can open hotspot 1
USER 2 can open hotspot 1 and hotspot 2


For that i guess you need at least a user administration or so.
How does the tour knows which user is active?

But you can give every hotspot or button an dedicated password so when you just give the password of hotspot 2 to user 2 , user 1 can not open hotspot 2..

When you buy it, you get it open source so you can fiddle as you like.

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

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

11

Sunday, September 20th 2015, 11:48am

See here an example with vr support.
http://www.virtualtuur.com/krpano/password/example_v1_193/

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

12

Monday, September 28th 2015, 4:28pm

just bought the plugin and is working flawlessly.

so, one question came up today while playing around with it. let's say i have a little planet intro that starts with the onstart event at my password protected pano. in this case the intro is being played while i'll have to enter the password.

is there any event i could call when the password was entered correctly to start the little planet intro? otherwise the intro is finished before it was seen.

any help on this would be great - thanks

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

13

Monday, September 28th 2015, 5:51pm

Hi,

yes that would be possible.
do NOT use the password="true" in that scene.
Use instead:
in the onstart of the scene: Password('item', your password, LpToNormal(), openurl(http://www.krpano.com,_top) );

We start with the LP view, but the password is blocking, when password wrong open krpano.com..
When password ok LpToNormal() action.
So you have to make an action LpToNormal ( or what ever) which will trigger the change to normal view.

Your Littleplanet start action (which you could call in the startup action) could be like:

Source code

1
2
3
4
5
6
7
8
9
	<action name="skin_view_setlittleplanet">
		set(view.architectural, 0.0, distance(1.0,0.5));
		set(view.pannini,       0.0, distance(1.0,0.5));
		set(view.fisheye,       1.0, distance(1.0,0.8));
		set(view.fov,           150, distance(150,0.8));
		set(view.vlookat,        90, distance(100,0.8));
		add(new_hlookat, view.hlookat, 123.0);
		set(view.hlookat, get(new_hlookat), distance(100,0.8));
	</action>


and then in the LpToNormal action you could do:

Source code

1
2
3
4
<action name="LpToNormal">
   HidePw(); 
   delayedcall(3, normalview());
</action>


so after 3 seconds after the password was entered right, the view changes to normal view.

Source code

1
2
3
4
5
6
7
8
9
10
<action name="normalview">
		tween(view.hlookat, 47, 2.5, easeInOutQuad);
		tween(view.vlookat, 0, 2.5, easeInOutQuad);
		tween(view.fov,     65,  2.5, easeInOutQuad);
		tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
		wait(2.7);
		set(display.flash10, on);
		set(view.maxpixelzoom,1);
		set(view.fovmax,110);
	</action>

Maybe change the actions a bit to your wishes...
Hope it helps!

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

14

Monday, September 28th 2015, 9:37pm

works perfectly - thanks a lot

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

15

Tuesday, September 29th 2015, 7:39pm

As spoken via mail, nice work and nice plugin.

This post has been edited 2 times, last edit by "Umalo" (Sep 29th 2015, 10:13pm)


Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

16

Thursday, October 1st 2015, 1:41pm

Thanks Umalo,

you posted some additional code for numeric keypad and also escape for reset.
We had a small misunderstanding.. haha.. i re-post your nice and kind suggestion.

Quoted


I did small improvement for us using numeric keyboard on Windows based PC together with key ESC reseting Pass, if you or someone would like to have it here is adapatation of one action:



Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<action name="Keys">
 if( ((keycode GE 48) AND (keycode LE 57) OR (keycode GE 96) AND (keycode LE 105)),
  if(keycode == 49 OR keycode == 97, set(_pwnumber,1); );
  if(keycode == 50 OR keycode == 98, set(_pwnumber,2); );
  if(keycode == 51 OR keycode == 99, set(_pwnumber,3); );
  if(keycode == 52 OR keycode == 100, set(_pwnumber,4); );
  if(keycode == 53 OR keycode == 101, set(_pwnumber,5); );
  if(keycode == 54 OR keycode == 102, set(_pwnumber,6); );
  if(keycode == 55 OR keycode == 103, set(_pwnumber,7); );
  if(keycode == 56 OR keycode == 104, set(_pwnumber,8); );
  if(keycode == 57 OR keycode == 105, set(_pwnumber,9); );
  if(keycode == 48 OR keycode == 96, set(_pwnumber,0); );
  CheckPassword();
 );
 if(keycode EQ 27, PwReset(););
</action> 


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

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

17

Thursday, October 1st 2015, 10:30pm

I want to code in some extras so that if the first char isn't a match, it calls the reset.. so you can have secret passwords.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

18

Friday, October 2nd 2015, 2:55am

Hi Sacha,

sorry, i don't know what you mean with secret passwords..
Why would you reset when the first char is wrong?

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

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

19

Friday, October 2nd 2015, 5:59am

so that
aldfkjadlfkjsacha or dfafkdfjjsacha or sdfjssacha or sacha
is a working password.
if you don't know when the password resets you can type forever.
Basically it can be like a secret password to open the trace menu or maybe display credits or open easter eggs.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,162

Location: Netherlands

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

  • Send private message

20

Friday, October 2nd 2015, 11:09am

Quoted


Basically it can be like a secret password to open the trace menu or maybe display credits or open easter eggs.

It is already like that.

So the only thing i get is that you want to decide the length of the password. That is already in the planning.
Why the reset like you say? i still not understand why that would be an option.
Maybe explain better?
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Similar threads