GTransition (walk-through transition effect) for krpano

Here is GTransition plugin for krpano.
Information about GTransition plugin for Panotour can be found on this page.

GTransition - is a plugin for krpano, which add transitional effect in the style of Google/Matterport (walk-through transition effect). The plugin will work correctly only in virtual tours in which all panoramas are properly oriented relative to the North (KEEPVIEW'ed virtual tours).

It was developed and tested with krpano 1.19 pr16, it is better to use latest krpano version. Also you need to update krpano version if you get 'wrong encryption' krpano error.

Best to use the GTransition plugin with the GArrows - Google street view navigation style plugin for krpano

Examples

  • Example 1
  • Example 2
  • Example 3
  • Example 4
  • Example 5 (with GArrows plugin)
view example 1 in new window, view settings
view example 2 in new window, view settings
view example 3 in new window, view settings
view example 4 in new window, view settings

How to install

  1. Create virtual tour using droplet, for example "MAKE VTOUR (MULTIRES) droplet.bat"
  2. Add hotspots and link panoramas using tour editor
  3. Download plugin and copy gtransition folder in the virtual tour plugins folder
  4. At the end of tour.xml file before </krpano> tag insert two lines
    1. <include url="plugins/gtransition/gtransition_settings.xml" />
    2. <include url="plugins/gtransition/gtransition.xml" />
  5. Refresh the browser page with a virtual tour, click on the hotspots, check the work of the plugin

Settings

Setting up the plugin is performed by editing the gtransition_settings.xml file. Here is basic settings:

  • transition_depth - transformations depth of panoramas
  • transition_speed - transformations speed in seconds
  • blending_delay - delay before blending one panoroma into another in seconds

In addition to the settings of the plugin itself, the krpano settings necessary for the proper operation of the plugin are set in this file. These are loadscene_flags and webvr_gyro_keeplookingdirection to enable KEEPVIEW modes. An optimal blending effect (blending) of the panoramas is also set when switching from one to another (the loadscene_blend parameter).

In KEEPVIEW mode, the beginning of one panorama into another stops any transformations of view, so if blending_delay is zero, then the current panorama is replaced by the transforming second, if blending_delay is equal to transition_speed, the current panorama is first transformed and then replaced by a static second. By selecting the duration of blending panoramas and the delay time before it starts, you can achieve different transition effects. Obviously, when using KEEPVIEW|KEEPMOVING, the behavior of the plugin will change. The maximum duration of the transition effect is transition_speed * 2 seconds.

If blending_delay is negative value then is mean that soursce pano will not transforming, blending will start immediately, target pano will start transforming after blending_delay seconds

Controls

By default, the plugin uses a modified skin_hotspotstyle_click - krpano action, called when you click on hotspots. If another procedure is used to load scenes, then in order to add a transition effect to it, by clicking on the hotspot, you must call gtransition_effect (p1, p2) action with two parameters, where the first (p1) is the ath hotspot value and the second (p2) - your scene loading procedure.

For example, if the following code was used in a hotspots onclick:

my_skin_loadscene(get(caller.linkedscene), get(skin_settings.loadscene_blend));

Then it needs to be changed as follows:

gtransition_effect(get(caller.ath), calc('my_skin_loadscene(' + caller.linkedscene + ', ' + skin_settings.loadscene_blend + ')' ));

Have questions?

Ask a question or search for an answer in the official GTransition plugin's group on Facebook. Please PM me with questions about payments and downloads.

Download trial version

Fully functional trial version of the GTransition plugin for krpano can be downloaded here.

Download full version

GTransition plugin for krpano can be downloaded from Google drive after donation or from the MyCommerce cloud server instantly after purchase

If you like GTransition plugin please purchase

30 USD fixed price
Link to download GTransition plugin for krpano will be provided instantly after purchase

Sorry. Paypal donations are temporary unavailable