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.

jordi

Intermediate

  • "jordi" started this thread

Posts: 478

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

1

Saturday, September 7th 2019, 6:40pm

Navigator Plugin

Ever wondered about a tour without hotspots, more clear, no need to mess your panoramas with arrows, allow your users to freely explore the content, so here it's the navigator plugin



That plugins allow users the freely navigate around your tours created in everpano 3D, by just clicking over the panorama, if the plugin detects that in that direction there's some panorama it will perform a transition to the next panorama, if not it will perform a movement in order to indicate user that there's no way in that direction.

That would be the main behaviour, and for using it like this, you do not even need to buy a license, a free simplified version is already included with the software.

But if you want to go further and set all the details like the angle tolerance or the speed of the transition, or if you want to toggle from walking or jumping mode, you will need to have a navigator pro license that you can get here


There is a very powerful behaviour in the plugin for those who want to customize everything in every detail, it is the return mode.

Source code

1
modeReturn = "true"


with return mode you can use the plugin just to callback your very own actions in krpano, and so you can code how you want the tour to perform.

You need to specify an attribute some attributes

Source code

1
2
3
modeReturn = "true"
returnAction = "sceneFound"
returnNotFoundAction = "sceneNotFound"



So when user clicks on the pano the plugin would not make nothing but only calling your defined actions passing some arguments. In the case of having found a pano is going to give 2 parameters, the name of the scene and the distance to arrive there ( so you can play with speed variable )
And in the case any pano is found, then it will only receive a single parameter with the position values from current and destination position. The amount of distance in that case is determined by the attribute notFoundMove so here the speed will always be stable.


And here some demo actions code :

Source code

1
2
3
4
5
6
7
<action name="sceneFound" > 
debug('we have found %1 at a distance of %2'); 
loadscene(%1, null, MERGE|KEEPVIEW|KEEPMOVING, BLEND(0.5)); 
set(events.onviewloaded, null); 
set(events.onkeydown, stoptween(view.tx|view.ty|view.tz);set(events.onkeydown,null); ); 
tween(view.tx|view.ty|view.tz, calc('' + image.ox + '|' + image.oy + '|' + image.oz), 2, default, set(events.onkeydown,null);
</action>



Source code

1
2
3
4
5
<action name="sceneNotFound" > 
txtsplit(%1,'|',p0x,p0z,p1x,p1z); 
debug('no scene was found, current location is x:', p0x,' z:',p0z,' and click point is x:',p1x,' z:', p1z); 
tween(view.tx|view.tz, calc(p1x + '|' + p1z) ,0.3, default,tween(view.tx|view.tz, calc( p0x + '|' + p0z) ,0.3, default));
</action>


Additionally you have those 2 callback action for a VR behaviour.

I have large plans for this plugin as it can handle many interesting things, so please go ahead test it, ask me about anything, and suggest me any feature you will like to see in it.


You can find all the documentation for the plugin here

Kind regards
everpano.com step beyond 360

2

Monday, October 14th 2019, 5:22pm

Navigator plugin

Do you have to create a 3d model to use this plugin or can it be used just using well positioned linked panos without the need of hotspots/arrows?

3

Thursday, October 17th 2019, 12:44pm

???

jordi

Intermediate

  • "jordi" started this thread

Posts: 478

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

4

Friday, October 18th 2019, 9:19am

That new feature is already implemented, and will be delivered with the next release (soon)
everpano.com step beyond 360

5

Thursday, October 24th 2019, 12:12pm

How can I use distorted hotspots like video-on-TV? Or different animation like opening doors smth like that

6

Thursday, October 24th 2019, 12:34pm

I can do it by using depth and scale parameters of hotspot like this
depth="x" onloaded="calc(scale, depth/1000)"

http://makintrovr.com/galeri/demo/krpano…xample-hotspot/

This post has been edited 1 times, last edit by "rafonpro" (Oct 24th 2019, 1:30pm)


7

Thursday, October 24th 2019, 1:18pm

1. can't make show scene markers on the floor

This post has been edited 2 times, last edit by "rafonpro" (Oct 24th 2019, 1:56pm)


8

Thursday, October 31st 2019, 8:56pm

Hi Jordi, do you have a rough idea when the next release will be? Thx
That new feature is already implemented, and will be delivered with the next release (soon)