Sie sind nicht angemeldet.

1

Donnerstag, 22. März 2012, 01:33

Navigation buttons

I read all the threads on this subject and some are contradictory: do the basic nav buttons load by default into the PC viewer for multires panos? If yes, mine do not load. If no, what/where is the script and which file does it get put it to make them show? You mentioned a location to another customer but my copy of krpano doesn't have that folder. *confused*

Here is what I have so far by editing the vtour_viewtemplate file (mentioned in previous question).

http://www.tres.ca/virtual_tours/RichZal…05BSt/tour.html

This is the vtour_viewtemplate file contents:

<view hlookat="0" vlookat="0" fovtype="MFOV" fov="200" maxpixelzoom="2.0" fovmin="60" fovmax="120" [VIEWLIMITS]/>
<autorotate enabled="true" waittime="1.5" speed="10.0"/>
<does the button script go here?/>

I'm only making multi-res tours using the droplet.

Aaron

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »haaronl« (22. März 2012, 07:10)


2

Dienstag, 27. März 2012, 15:02

Hi,

no, in the default VTOUR templates there are no buttons included,

but if you want to include one, I would recommend doing that in the "vtour.xml" template file,
a simple solution would be just using the defaultskin.xml buttons,

e.g. to do that - in the vtour.xml replace these two lines here:

Quellcode

1
2
<!-- include zoom and fullscreen buttons for Android -->
<include url="skin/androidskin.xml" devices="android+flash" />

with this one:

Quellcode

1
<include url="skin/defaultskin.xml" />


and for automatically coping the additional files replace in the "vtour-mres.config" and "vtour-normal.config" these lines:

Quellcode

1
2
xmltemplate_additional_file=xml/skin/androidskin.xml
xmltemplate_additional_file=xml/skin/androidbuttons.png

with these ones:

Quellcode

1
2
3
4
5
6
xmltemplate_additional_file=xml/skin/defaultskin.xml
xmltemplate_additional_file=xml/skin/buttons.png
xmltemplate_additional_file=xml/skin/qtvr-cursors.png
xmltemplate_additional_file=xml/skin/drag-cursors.png
xmltemplate_additional_file=xml/skin/androidskin.xml
xmltemplate_additional_file=xml/skin/androidbuttons.png


best regards,
Klaus