Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Donnerstag, 21. September 2017, 22:48

krpano 1.19-pr13

Hi,

here below the news and release notes about krpano 1.19-pr13:

Best regards,
Klaus

New Virtual Tour Editor

  • There is a new (but still simple) Virtual Tour Editor in krpano. This time as HTML5 application and directly integrated into the krpano Tools application and thereby independent of any Browser and Flashplayer limitations.
  • It provides simple editing capabilities for tours that were built by the MAKE VTOUR droplets:
    • Loading and direct saving of xml files (including automatic backups).
    • Updating the startup view (looking direction and field-of-view) of the current scene.
    • Automatic updating of the thumbnail image when updating the startup view.
    • Adding, moving, deleting and linking of 'vtourskin hotspots'.
    • Automatic reloading when editing the xml file externally.
  • Some notes about this Virtual Tour Editor:
    • It was designed as direct replacement for the old Flashplayer-based Virtual Tour Editor Plugin, which can't be used directly anymore in many newer Browser versions.
    • An other more featured tour-editor is also in work, but that one still needs more time. So the current one is more a temporary solution.
    • Nevertheless this editor will also get more features - for the next release there is already a plugin-API in work (for adding custom editing features) and some droplet functionality (tour building and sphere/cube conversion) will be moved into it (especially to bypass some restrictions or problems of the operating system, e.g. like the OSX droplet bugs).

Improved Action System

  • It's now possible to enable optionally a local variable scope for actions.
    • That means when defining new variables, they will be only available inside the current action.
    • This can help avoiding problems that can happen when using the same variable names in several actions.
  • Additionally the local variable scope allows an other new feature: passing arguments as variables.
    • By that the arguments / parameters passed on an action-call will be available as local variables inside the action.
    • This makes the code more readable and especially also avoid problems with string-quoting when using the %NN placeholders for inserting the argument values into the action code.
  • This is the new syntax for using a local scope and argument variables:
    <action name="test" scope="local" args="arg1, arg2, arg3">
        ...
    </action>
  • For accessing a specific scope there are these new variables / objects:
    • global - the global object allows direct access to the global variable scope and is always available.
    • local - the local object allows direct access to the current local variable scope and is only available inside a localscope-enabled action.
    • caller -- the caller object allows direct access to the layer or hotspot object that has called that action. The caller object is only available inside localscope-enabled actions and when the action gets called from a layer or hotspot event.
  • Additionally there were also several smaller fixes and performance improvements (details in the release notes below).

New Combobox Plugin

Other News

  • WebGL textfield hotspots:
    • Line- and word breaking rules for Asian languages are supported now (not all special cases for all languages, but for the most common cases it should work).
    • Here a test case: WebGL textfield line-and-word-breaking test
  • The WebVR API support for GearVR Browsers is working again (in the previous release there was unfortunately a bug that was blocking the WebVR API for these browsers).
  • There is now an offline documentation included in the download package.
  • There is a new screenshot plugin API (only for HTML5+WebGL). It allows taking screenshots of the current pano view in a custom resolution - and with or without hotspots.
  • There are new
    view.tx
    view.ty
    view.tz
    settings for a 3d translation of the pano view. These settings are experimental(!) at the moment and their behavior might change in future versions. The 3d translation itself is only supported in WebGL rendering.
  • There are new and updated examples in the download package:

More Release Notes

  • New: For loops, array item access by index and the action calls itself are slightly faster.
  • New: Autonaming for <action>, <data> and <scene> elements. When no name will be set in the xml, an automatic one will be generated.
  • New: debugvar(varname) action - trace details about a variable.
  • New: copyattributes(destobject, srcobject) action - copy attributes from one object to an other one.
  • New: array.createarrayitem(name) action - directly create array items.
  • New: network.viewerpath, network.htmlpath, network.firstxmlpath and network.currentxmlpath variables for getting path information (and optionally also manipulating them).
  • New: In action code called by layer or hotspot events, it's now possible to access also object attributes from them (e.g '<layer ... onclick="trace(item[...].name)" ...' - when item was an array object of the layer itself).
  • New: There will be more detailed error reporting on action errors.
  • New: Scrollarea plugin - new update() action for updating the plugin internals when the the parent layer size had changed.
  • New: WebVR plugin - added support for: iPhone 8, 8+, iPhone X, Samsung S8, S8+
  • New: The embedding script and krpano Testing Server can now also automatically redirect from local 'file://' urls to the testing server when the krpano viewer files were in the upper folder than the example file itself.
  • Change: The MAKE VTOUR droplets don't copy the tour_editor.html and vtoureditor.swf files anymore by default.
  • Fix: Using variables from the layer or hotspot caller in calls like 'layer[get(var-from-caller)].action()' wasn't working.
  • Fix: When calling variables as actions, check if they contain code and if not check if there is an <action> with the call name.
  • Fix: Parse %NN arguments also when calling code in attributes from the caller.
  • Fix: The text positions in WebGL textfields were wrong with leading or multiple white-space characters in some browsers in some cases.
  • Fix: Dynamically changing the mipmapping setting wasn't working for textfield hotspots.
  • Fix: Avoid a 'screen blinking' on iOS when touching a textfield in some cases.
  • Fix: The textfield autosizing wasn't working inside containers that don't had width and height set (Flash-only).
  • Fix: Distorted textfield hotspots with borders or shadows had an wrong offset in some cases (Flash-only).
  • Fix: Polyline=true polygon hotspots had a 3d clipping bug (report).
  • Fix: When calling loadxml() keep the xml paths from the previous loadpano() call.
  • Fix: Path parsing - don't add basedir to absolute server paths like '/path/...' (Flash-only).
  • Fix: The onloaded event of container elements was instantly called on creation in Flash, so setting a custom onloaded event by code wasn't possible (Flash-only).
  • Fix: Support passing of null and undefined to Flash via vars/initvars (report).
  • Fix: Videoplayer plugin - there was crash on iOS in some cases when switching videos and doing play / pause calls.
  • Fix: Bingmaps plugin - the Radar was wronlgy orientated.
  • Fix: Googlemaps plugin - updated Googlemaps API version.
  • Fix: Scrollarea plugin - the stopscrolling() action stops now also a current dragging from the user.
  • Fix: embedpano() - force a black bgcolor for the testing server link text in the error message.
  • Fix: A typo in the blending-demo example was causing problems on mobile devices.
  • Fix: vtourskin.xml - avoid a 'null scene loading error' when switching the scenes by keyboard during the hotspot animation.
  • Fix: Use better file permissions for the files included in the download package for OSX.



2

Donnerstag, 21. September 2017, 23:19

Fantastic. Thanks very much for the update and perfect timing as I'm just about to start a big tour *thumbsup*

Your ongoing work and support with KRPano is greatly appreciated.


Andrew

3

Donnerstag, 21. September 2017, 23:42

*thumbup* *thumbsup*

Yanward

Anfänger

Beiträge: 17

Wohnort: Singapore

Beruf: Software Engineer

  • Nachricht senden

4

Freitag, 22. September 2017, 04:19

*thumbup* Awesome update
Yanward *squint*

Sergey74

Schüler

Beiträge: 118

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

5

Freitag, 22. September 2017, 08:52

A fantastic update, something that many have been waiting for so long. Thanks, Klaus!
translation difficulties *huh*

jordi

Fortgeschrittener

Beiträge: 419

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

6

Freitag, 22. September 2017, 09:43

This is a huge & awesome update !!
everpano.com smart virtual tours

7

Freitag, 22. September 2017, 10:43

kudos !
specially the local scope support is great!
thanks, klaus!!!

a.pu

Schüler

Beiträge: 54

Wohnort: Defaultcity, Russia

Beruf: Virtual Tour photographer and developer

  • Nachricht senden

8

Freitag, 22. September 2017, 11:24

HUUUUUUUUUUUGE! *thumbsup*

jschrader

Fortgeschrittener

Beiträge: 237

Wohnort: Bavaria, Germany

Beruf: Photographer, Producer

  • Nachricht senden

9

Freitag, 22. September 2017, 12:41

Yieehaaaa!
Thank you so much.

Tuur

Erleuchteter

Beiträge: 3 016

Wohnort: Netherlands

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

  • Nachricht senden

10

Freitag, 22. September 2017, 12:57

*love*

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

jordi

Fortgeschrittener

Beiträge: 419

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

11

Freitag, 22. September 2017, 14:14

I've already been playing with view.tx view.ty view.tz, and it's a great new property we can play.

knowing that it's experimental, I would suggest 2 issues :

1.- being able to translate hotspots according to the image, they are actually flying in the space, or having a variable to set them fixed or movable.

2. - having the ability to decide whether you want a relative or absolute system of coordinate for the view, normally that would be used to make a 3d transition, so we need to easily know the direction of the axis we need to move. I guess
the absoulte will be very useful for HMD.


https://youtu.be/nD_EQSVr1M8

Thanks again for so many new features and congrats for this new pr 13 !!
everpano.com smart virtual tours

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jordi« (22. September 2017, 15:07)


Beiträge: 785

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours

  • Nachricht senden

12

Freitag, 22. September 2017, 14:43

This is a Great update! *w00t*

Thank you Klaus *squint*


Kind regards
Piotr & Pawel
You own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: facebook group :: youtube

cms4vr team *thumbsup*

13

Freitag, 22. September 2017, 17:03

*thumbsup* *thumbsup* *thumbsup* How on time!

14

Freitag, 22. September 2017, 20:21

Here is a test of tx,ty,tz
http://www.robostitcher.com/=view.xx/tour.htm
good enough I think ) *thumbsup*
use numeric keyboard for change
7,8,9 - tx
4.5.6 - ty
1.2.3 - tz
8.5.2 - set to zero

Sergey74

Schüler

Beiträge: 118

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

15

Freitag, 22. September 2017, 21:11

small bugs:
Sometimes there is an inscription "Enter VR" https://screenshots.firefoxusercontent.c…d9b0538831e.png
In debug mode, this layer is visible https://screenshots.firefoxusercontent.c…546d24706da.png
p.s. I used MAKE VTOUR (NORMAL) droplet
translation difficulties *huh*

16

Freitag, 22. September 2017, 22:22

... still no post delete *tongue*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (22. September 2017, 22:59)


17

Freitag, 22. September 2017, 22:42

Hi,

small bugs:
Sometimes there is an inscription "Enter VR" https://screenshots.firefoxusercontent.c…d9b0538831e.png
In debug mode, this layer is visible https://screenshots.firefoxusercontent.c…546d24706da.png

Thanks - right, that a bug related to a change in the vtourskin.xml:

Before the current version that enter-vr button (from the webvr.xml) was removed by this part in the vtourskin.xml:

Quellcode

1
2
3
4
5
<plugin name="WebVR" ...
        ...
        onavailable="removelayer(webvr_enterbutton); ..."
        ...
        />


but in the new version it will be only hidden by setting it's width to 0:

Quellcode

1
2
3
4
5
<plugin name="WebVR" ...
        ...
        onavailable="set(layer[webvr_enterbutton].width, 0); ..."
        ...
        />


But this seems not be enough for all cases (I still need to analyze the exact details).

As workaround for the moment it would be possible to change that code part in the vtourskin.xml back to the previous version.

Best regards,
Klaus

18

Freitag, 22. September 2017, 22:44

did you change something related to autorun ?
No.

<action name="test_preinit" autorun="preinit">debug("PREINIT");</action>
<action name="test_onstart" autorun="onstart">debug("ONSTART");</action>
Have you enabled the debugmode?
Otherwise the debug messages wouldn't be printed...

19

Freitag, 22. September 2017, 22:58

1.- being able to translate hotspots according to the image, they are actually flying in the space, or having a variable to set them fixed or movable.
2. - having the ability to decide whether you want a relative or absolute system of coordinate for the view, normally that would be used to make a 3d transition, so we need to easily know the direction of the axis we need to move. I guess
the absoulte will be very useful for HMD.
Yes, I will consider these suggestions of course.

https://youtu.be/nD_EQSVr1M8
http://www.robostitcher.com/=view.xx/tour.htm
Nice examples! ;-)

20

Freitag, 22. September 2017, 23:31

Wow amazing update. Special thanks for scroollarea update ;) *thumbup*

Ähnliche Themen