You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

1

Saturday, July 18th 2020, 12:22pm

Changing skins

I have tried to change skin to the new different skins available in the skinfolder like for example
<include url="skin/vtourskin_design_117round.xml" />

As far as I understand you should only change the include url.

But none of the XML I have in my skin folder works.
I actually just get no skin at all when I change it.

When I look at the alternative skin.xmls they are not at all real skins but only have a couple of actions-

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

2

Saturday, July 18th 2020, 1:09pm

Ok I found out.
But really it needs more information than what the tour.xml says to do it.

!. you should keep the standard skin.
Just ad the new include below it.

2. Remove all the settings under design (in tour.xml) except the png which you need to change to the light version for the light designs.


design_skin_images="vtourskin_light.png"
design_bgcolor="0x2D3E50"
design_bgalpha="0.8"
design_bgborder="0"
design_bgroundedge="1"
design_bgshadow="0 4 10 0x000000 0.3"
design_thumbborder_bgborder="3 0xFFFFFF 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="0"
design_text_css="color:#FFFFFF; font-family:Arial;"
design_text_shadow="1"


/>

<!--
For an alternative skin design either change the <skin_settings> values
from above or optionally include one of the predefined designs from below.
-->
<!-- <include url="skin/vtourskin_design_flat_light.xml" /> -->
<!-- <include url="skin/vtourskin_design_glass.xml" /> -->
<!-- <include url="skin/vtourskin_design_ultra_light.xml" /> -->
<!-- <include url="skin/vtourskin_design_117.xml" /> -->
<!-- <include url="skin/vtourskin_design_117round.xml" /> -->
<!-- <include url="skin/vtourskin_design_black.xml" /> -->

3

Saturday, July 18th 2020, 2:06pm

#2 is not necessary, the skin includes work by overwriting existing xml
including the skin AFTER the skin_settings definition will overwrite the relevant skin_settings

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

4

Saturday, July 18th 2020, 2:10pm

including the skin AFTER the skin_settings definition,
will overwrite the relevant skin_settings


Well thats not what it says. Would be nice to know.
Do you really beleave that the average KRpano user knows that?

I feel pretty advanced after 10 years using it.

5

Saturday, July 18th 2020, 6:46pm

its one concept to understand...
by including an xml the source gets included at the position of the include tag
in the end all nested files / includes result in a final xml
this gets parsed and what is defined later overwrites whats defined earlier

the skin_settings in your tour.xml for example
is an overwrite of the skin_settings defined in vtourskin.xml

all of this happens by merging, so you dont have to redefine everything
just <skin_settings design_bgroundedge="5" /> is be enough to change the attribute

Similar threads