Sie sind nicht angemeldet.

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

1

Dienstag, 18. Januar 2011, 16:24

VTour with multiple panoramas and image maps per scene (location)

My apologies if this problem has been dealt with before:

I should like to build a small virtual tour consisting of 3 or 4 scenes (locations) with two or three panorama's per scene. Think of a series of before/during/after panorama's of a building site all taken in exactly the same three or four locations at two or three different times.

Each panorama series should have its own image map and radar combination (e.g., site view before/during/after) and by clicking a screen button the user should be able to switch seamlessly between the panorama's in a particular scene, e.g., the "before" panorama should blend over into the "during" or "after" panorama with yaw, tilt, zoom, etc. settings preserved.

Of course, this type of tour has been built before but I am not aware yet of krpano implementations. I have been experimenting with the sample code and documentation provided with the krpano package (for intermediate results, see http://www.ariederuiter.nl/concern_vtour3/ and http://www.ariederuiter.nl/vtour_test01/ ) but the learning curve is a steep one for me and I wonder if one of you can point me in the right direction. Maybe there are appropriate script examples hidden within the krpano docs and examples which I have overlooked until now.

Arie de Ruiter

jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

2

Dienstag, 18. Januar 2011, 17:22

Hi,

Have a look, 26 panos, 5 maps...
With Krpano a lot is possible... but with a lot of time and tests (for me).

From my own and small experiment, because an only big xml or swf was not a good solution, I have defined :
1) a hierarchical file system organisation for tour, plugin, images, graphics, images, languages...
2) to work with a main xml "engine" which is in charge of all actions,
3) a list of global and shared variables and values
...
For sure, some others krpano specialists get the same or better results by another way.
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

3

Mittwoch, 19. Januar 2011, 09:24

Thank you for your comments. You have made an impressive and interesting tour but it is not quite what I am looking for. I should like to build a "one HTML5 + XML file" tour with a minimum of Flash (only the radar plugin) which for tablet and phones defaults to the non-Flash pano thumbnails solution.

Assuming 4 locations and 3 panorama series I can make 12 single panoramas each with their own radar and imagemap. I could then combine them in a 12 scene xml file and it would probably work to some degree. But that's ugly. Of course I should like to have only one radar plugin in the code with appropriate parameter passing between scenes, imagemaps and plugin. I can see that the krpano scripting language is more than rich enough to make this possible but I am lacking knowledge and experience in the "How to" area.

So, what I hope to find is appropriate scripting examples from which I can learn how to build my own solution.

Regards,

Arie de Ruiter

jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

4

Mittwoch, 19. Januar 2011, 11:17

Good morning,

Probably you can elaborate/try :

HTML-1 which call XML-1
- in this XML-1
all data/plugin to manage your Pano-1
and use
openurl(HTML-2..., _self) to call your HTML-2

HTML-2 which call XML-2
- in this XML-2
all data/plugin to manage your Pano-2
and use
openurl(HTML-1..., _self) to call your HTML-1
openurl(HTML-3..., _self) to call your HTML-3

...
about openurl() target :
_self - open the url in a current frame in the current window
_blank - open the url in a new window (the default)
_parent - open the url in the parent of the current frame
_top - open the url in the top-level frame in the current window

I have seen a complete tour built like that but I don't found the URL.
The limit, between each openurl(), you got a flash/empty screen depending of the respons time of the wan/lan/web server and effects are impossible.
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

5

Mittwoch, 19. Januar 2011, 13:30

If I understand you correct you are missing the codes for maling the before and after panos load in same direction always .

It can be done and codes are quit simple.
I used it in this page.
http://www.panoramas.dk/2010/carl-bloch.html

Here is the XML.'http://www.panoramas.dk/2010/carlbloch/tour.xml
The codes for the 2 panos are at the bottom and the special code is KEEEPVIEW.

Note that the KEEPVIEW is not supported on my iPad.

Hans

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

6

Donnerstag, 20. Januar 2011, 09:06

Thank you for suggesting this approach but I'm afraid it is precisely not the route I want to take. As I mentioned earlier, I really want to avoid a large collection of individual html and xml files. It is not needed as I already showed in the examples I mentioned in my original message.


Regards,

Arie



Good morning,

Probably you can elaborate/try :

HTML-1 which call XML-1
- in this XML-1
all data/plugin to manage your Pano-1
and use
openurl(HTML-2..., _self) to call your HTML-2

HTML-2 which call XML-2
- in this XML-2
all data/plugin to manage your Pano-2
and use
openurl(HTML-1..., _self) to call your HTML-1
openurl(HTML-3..., _self) to call your HTML-3

...
about openurl() target :
_self - open the url in a current frame in the current window
_blank - open the url in a new window (the default)
_parent - open the url in the parent of the current frame
_top - open the url in the top-level frame in the current window

I have seen a complete tour built like that but I don't found the URL.
The limit, between each openurl(), you got a flash/empty screen depending of the respons time of the wan/lan/web server and effects are impossible.

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

7

Donnerstag, 20. Januar 2011, 09:47

Hans,

Thank you for this example. The KEEPVIEW flag is the obvious route for me to explore further and may solve part of my problem. It is a real pity though that this code doesn't work on the iPad because that is definitely part of what I'm looking for. Maybe Klaus can suggest another approach that does work across all devices?

Another question remains: How to replace one imagemap + radar instance (specific for e.g. the "before" panorama series) by another one (for e.g. the "after" series) in exactly the same screen location? Putting them side-by-side is not too difficult as I showed in one of the examples in my first message but that's not as it should be of course.

Regards,

Arie de Ruiter


"If I understand you correct you are missing the codes for maling the before and after panos load in same direction always .

It can be done and codes are quit simple.
I used it in this page.
http://www.panoramas.dk/2010/carl-bloch.html

Here is the XML.'http://www.panoramas.dk/2010/carlbloch/tour.xml
The codes for the 2 panos are at the bottom and the special code is KEEEPVIEW.

Note that the KEEPVIEW is not supported on my iPad.

Hans"

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

8

Montag, 24. Januar 2011, 10:09

This weekend I had time to play with the |KEEPVIEW flag as suggested by Hans. It proved to be very easy and very effective as well. The test result, a 3 x 2 vtour (3 scenes, 2 panoramas per scene), can be seen at http://www.ariederuiter.nl/concern_vtour12/index.html (with imagemap, and thumbnails for tablets,etc.), and http://www.ariederuiter.nl/concern_vtour12/index2.html (pano thumbnails only).

The xml files are http://www.ariederuiter.nl/concern_vtour12/scenes-with-imagemap-mod.xml and http://www.ariederuiter.nl/concern_vtour12/tour.xml, respectively.

I am very pleased with the result, but oh what a pity that |KEEPVIEW doesn't work on my iPad. The multiple imagemap/radar issue is my next topic.

Arie de Ruiter

9

Dienstag, 1. Februar 2011, 12:44

Hi,
I am very pleased with the result, but oh what a pity that |KEEPVIEW doesn't work on my iPad. The multiple imagemap/radar issue is my next topic.
check out this pre-release:
http://krpano.com/download/beta/#2011-02-01

with it KEEPVIEW should work also on the iPad,

best regards,
Klaus

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

10

Sonntag, 20. Februar 2011, 21:59

Klaus,

I finally found some time to check if the beta of 1 feb 2011 would solve the |KEEPVIEW problem on my iPad and, YES, it does! Thank you very much for providing the solution so quickly.

I have also checked it with the 9 feb 2011 beta. |KEEPVIEW still works fine on the iPad but I find that there's something wrong now with the panothumbnails of the vtour on the iPad. Only one thumbnail shows (no stack), it seems somewhat smaller than it should be and is inoperational.

Regards,

Arie

11

Mittwoch, 23. Februar 2011, 19:58

Hi,
I have also checked it with the 9 feb 2011 beta. |KEEPVIEW still works fine on the iPad but I find that there's something wrong now with the panothumbnails of the vtour on the iPad. Only one thumbnail shows (no stack), it seems somewhat smaller than it should be and is inoperational.
that was a bug with the action parameters in that version,
get here a newer and fixed version:
http://krpano.com/download/beta/#2011-02-23

best regards,
Klaus

apdr

Anfänger

  • »apdr« ist der Autor dieses Themas

Beiträge: 12

Wohnort: Amsterdam

Beruf: panorama photography

  • Nachricht senden

12

Mittwoch, 23. Februar 2011, 21:28

Hi Klaus,

Thanks! I have installed the latest beta and it all works fine now. Your support is truly something special.

Regards,

Arie