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.

poalpina

Beginner

  • "poalpina" started this thread

Posts: 38

Location: Trento - Italy

  • Send private message

1

Friday, May 31st 2013, 4:31pm

"Merge|Keepview" on vtourskin

Hi,

this forum is fantastic

I want to keep the same view (fov and h, etc)
swiching from a scene to another scene in a virtual tour
and I have some problem setting the vtourskin.xml
in order to have this effect

Mybe someone can help me

Tanks

M.teo

herrpedro

Trainee

Posts: 145

Location: Lisbon

Occupation: Programmer/analyst

  • Send private message

2

Monday, June 3rd 2013, 10:19pm

Hi,

this forum is fantastic

I want to keep the same view (fov and h, etc)
swiching from a scene to another scene in a virtual tour
and I have some problem setting the vtourskin.xml
in order to have this effect

Mybe someone can help me

Tanks

M.teo
hi. i'd like to acomplish this too.
any1?

thank you all

3

Tuesday, June 4th 2013, 10:03am

Hi,

look in the vtourskin.xml for all loadscene calls and add there the KEEPVIEW flag,

e.g. change:
loadscene(.... , MERGE, ...);
to
loadscene(.... , MERGE|KEEPVIEW, ...);

Best regards,
Klaus

poalpina

Beginner

  • "poalpina" started this thread

Posts: 38

Location: Trento - Italy

  • Send private message

4

Tuesday, June 4th 2013, 5:45pm

Hi Klaus

Tanks a lot for your answer.

I have just try the way, you give us in your post
but it does'nt works,
this the error:


ifWARNING: unknown action: layer[get(thumbtext)].loadstyle
ERROR: unknown attribute/path - layer[get(thumbtext)].keep
ERROR: unknown attribute/path - layer[get(thumbtext)].parent
ERROR: unknown attribute/path - layer[get(thumbtext)].html
WARNING: unknown action: );
);ERROR: no parent "skin_thumb_0" found

thanks

5

Tuesday, June 4th 2013, 6:50pm

Sorry, but that means you have not made the changes correctly...

Really only change MERGE to MERGE|KEEPVIEW - everything else should be unmodified!

Best regards,
Klaus

poalpina

Beginner

  • "poalpina" started this thread

Posts: 38

Location: Trento - Italy

  • Send private message

6

Tuesday, June 4th 2013, 9:16pm

Sorry Klaus

I don't want to be boring, maybe is not so important...
but there are 4 "MERGE" in the vtourskin.xml file
I changed "MERGE" to "MERGE|KEEPVIEW"

> everything else should be unmodified!

Yes that is what I had made *rolleyes*

best regards

this is the link
http://www.geo360.it/tour1.htm

7

Wednesday, June 5th 2013, 9:49am

Hi,

there are 5 MERGE in the vtourskin.xml and just adding KEEPVIEW can't cause an error.

Regarding the posted error messages it seems that the xml had got mixed up in several ways...
Which texteditor have you used to edit the vtourskin.xml file?

Best regards,
Klaus

poalpina

Beginner

  • "poalpina" started this thread

Posts: 38

Location: Trento - Italy

  • Send private message

8

Wednesday, June 5th 2013, 4:53pm

Hi Klaus

Tanks a lot now it's working

Quoted



it seems that the xml had got mixed up in several ways...
Yes it is so *angry*

I use Dreamveawer MX
an old version in fact, but I had never noted that
it change the .xml code

Best regards
Matteo