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, 2. Juni 2011, 05:24

Automatic Map (XML plugin)

Hi!
I want to represent you automap XML plugin.
Made for easy creating map for virtual tours.
DEMO
just add this code and map wil apear automaticaly:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<include url="%CURRENTXML%/automap/automap.xml" />
<map name="map1"
    map="%CURRENTXML%/map_images/map.jpg"
    mask="%CURRENTXML%/map_images/mapmask.png"
    radar_alpha="0.5"
    onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);"
>
    <viewpoint name="p1" scene="liv" x="182" y="75" heading="-10" scale="1"
           mask="%CURRENTXML%/map_images/maskliv.png"
           onclick="gotoscene(liv);" onhover="showtext(Living,maponhovertext);" 
    />

    <viewpoint name="p2" scene="kit" x="290" y="54" heading="10" scale="1"
           mask="%CURRENTXML%/map_images/maskkit.png"
           onclick="gotoscene(kit);" onhover="showtext(Kitchen,maponhovertext);"
    />
    
    ......


</map>

full list of available attributes:
keep="true"
editmode="false"
edge="righttop"
align="righttop"
x="10" y="10"
path="%CURRENTXML%/automap/"
map="%CURRENTXML%/map_images/map.jpg"
mask="%CURRENTXML%/map_images/mapmask.png"
zorder="1"
scale="1"
alpha="1"
radar_alpha="0.5"
point_url="%CURRENTXML%/map_images/viewpoint.png"
point_crop="32"
onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);"
viewpoint_auto="false"
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

2

Donnerstag, 2. Juni 2011, 05:38

One more thing...

1) You can add more than one map in one tour. (for different levels for example)
2) Add viewpoints automaticaly (from scene node attributes)
3) Each radar can have own mask
4) Each radar can be scaled
5) Map own mask
6) Map has EDIT MODE - shows X/Y and radar heading for current scene (easy to place viewpoints and radar direction)
7) And this is only XML plugin (no swf plugins needed) HTML5 version coming soon

It seems everything *thumbup*

Almost forgot, here you can BUY this plugin.

Andrey!
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mindlessboss« (2. Juni 2011, 10:06)


3

Samstag, 4. Juni 2011, 13:34

Nice plugin. The edit mode is really cool! How do you "submit" the changes done in edit mode? Copy them from the XML with the editor plugin?
PanoTag: Facebook tagging for krpano

KRPano development and more: http://www.digisfera.pt/en/development

4

Samstag, 4. Juni 2011, 18:22

Hi! *smile* thanks. It's simple.
Get X and Y and heading, and after that write it in viewpoint attributes.
It can't be done fully automaticaly, and it's little manualy.
EDIT MODE - just for easy detect X/Y/Heading

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

abuethe

Anfänger

Beiträge: 21

Wohnort: Geesthacht

Beruf: Systemadministrator

  • Nachricht senden

5

Mittwoch, 17. August 2011, 21:20

viewpoint_auto="true" on load doesnt activate the first viewpoint

Any ideas how to activate the first viewpoint after loading has completed, i.e. the map is displayed for the first time? gotoscene(xy); afterbuildmap(); just didnt work for me ?!
Thx for a respone - great job so far, the plugin is really usefull!
Regards,

Arndt

6

Donnerstag, 18. August 2011, 04:55

Hello!
Show me your xml - i will try to findout why it's not activate.
You can contact me by e-mail mail@atlas-is.ru
after fixing this problem (is it's problem ;-) ) i will post it here

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

abuethe

Anfänger

Beiträge: 21

Wohnort: Geesthacht

Beruf: Systemadministrator

  • Nachricht senden

7

Donnerstag, 18. August 2011, 14:45

Yes here we go, I inserted viewpoints instead of using the info from the scenes at the moment - same problem :)

Thx for looking into it!
»abuethe« hat folgende Datei angehängt:
  • tour.xml (48,72 kB - 128 mal heruntergeladen - zuletzt: Heute, 04:44)

8

Freitag, 19. August 2011, 03:18

Hello!
Important - buildmap must be in krpano onstart=""
in your xml you put it into onloadcomplete="" event.
First point activate by onloadcomplete :)

Hope it help
Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

abuethe

Anfänger

Beiträge: 21

Wohnort: Geesthacht

Beruf: Systemadministrator

  • Nachricht senden

9

Freitag, 19. August 2011, 22:21

Yes that solved it - needs to be the very first action, even before the default startup action is called.. Thx for helping me out, now I can put a lot of maps online with this little problem gone...
Nice support, thx!

abuethe

Anfänger

Beiträge: 21

Wohnort: Geesthacht

Beruf: Systemadministrator

  • Nachricht senden

10

Samstag, 20. August 2011, 10:49

<Uhh one more thing>

The xml version already work with the ipad - only the radar beams look.. very special :( So I need to get rid of radar when viewed on non-flash devices.. What about the html5 update mentioned above? You´re on it yet?
Kind regards,

Arndt

11

Sonntag, 21. August 2011, 05:49

Hi!
This special radar view becouse the mask is not supported on HTML5 *unsure* this is limitation
And no way to make it as on flash, sorry..

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

abuethe

Anfänger

Beiträge: 21

Wohnort: Geesthacht

Beruf: Systemadministrator

  • Nachricht senden

12

Montag, 22. August 2011, 16:08

Mhh after a hard day of trial-and-error I quit trying to get it going by myself. Can you think of a proper way to simply disable the radarbeams when client (isflash=false)? I tried to set radar_alpha to zero and played with the zorder.. Didn´t work for me :(
I think most users of this plugin will need such a solution?
Best regards,

Arndt

13

Montag, 22. August 2011, 16:31

Hi!
i add radar_visible attribute for hide radar on map.

contact me by email mail@atlas-is.ru i will send you new version.

shareit files will update toworow.


Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

abuethe

Anfänger

Beiträge: 21

Wohnort: Geesthacht

Beruf: Systemadministrator

  • Nachricht senden

14

Dienstag, 23. August 2011, 10:14

Thumbs up!

Great support again, with the added switch I can now disable the (html5 non-working) radarbeams for iPad/iPhone with a simple line in automap.xml

if(isflash, set(map[%1].radar_visible,true); );

The map still shows on iPad and the viewpoints are active and functional, only the beams are not visible anymore..

Thanks from a very content customer!

Arndt
*love*

15

Mittwoch, 21. September 2011, 18:39

Hi!

I have another problem: How can I switch between for ex. 2 maps (for 2 floors)?
Is there any "visible" parameter for map?
Is there any option to auto-change the map according to data in scene node (auto_viewpoint)?

simon

16

Donnerstag, 22. September 2011, 06:42

Hi!
thanks abuethe *smile*
SimonK - about two or more maps


Just make few maps 'map1', 'map2', 'map3' (levels maps)
And for example simple action code

<action name="showhidemaps">
if(%1 == "map1",
set(plugin[map1].visible,true);
set(plugin[map2].visible,false);
set(plugin[map3].visible,false);
);

if(%1 == "map2",
set(plugin[map1].visible,false);
set(plugin[map2].visible,true);
set(plugin[map3].visible,false);
);

if(%1 == "map3",
set(plugin[map1].visible,false);
set(plugin[map2].visible,false);
set(plugin[map3].visible,true);
);
</action>

In scene add this action to onstart event:
If scene belongs to level3, code will be
<scene name="sc1" title="sc1" onstart="showhidemaps(map3);">


Hope it help, and regards

Andrey *thumbup*

PS - about auto-viewpoint, yes, plugin has this feature (look in readme.txt in package)
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

17

Freitag, 23. September 2011, 14:12

Thanks a lot!
I've tried to turn off the map using

Quellcode

1
set(map[map1].visible,false);


so that is why it didn't work :)

simon

18

Mittwoch, 12. Oktober 2011, 17:30

Disable Radarbeams on iPad

Hello,

I tried to use this code to disable radarbeams in htrml 5 version: if(isflash, set(map[%1].radar_visible,true); );
Unfortunately it didn`t work.

I put it in like this:

<action name="mapdefault">
...
if(isflash, set(map[%1].radar_visible,true); );
...
</action>

Do I have to put it in another place, is there another document to change too, or what went wrong?

Josh

19

Donnerstag, 13. Oktober 2011, 04:44

Hello!

try
ifnot(isflash, set(map[%1].radar_visible,false); );
note! - you must to do it before map build

Hope it help

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

20

Donnerstag, 13. Oktober 2011, 14:25

Perfect!
Thanks