(SOLVED) Xml code integration...  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
jarane
Member
 
Topic author
Posts: 106
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 03, 2009 11:18 pm
Info

(SOLVED) Xml code integration...

by jarane » Sun May 04, 2014 11:38 pm

Hi,
I'm discovering some of the differences between PTP 2 and 1.8.

I'm trying to include the "sharpness" and "mouse speed" codes to the xml files PTP 2.x creates, and found out that 2.x does not create xml files the same way 1.8 did.
1.8 created 1 xml file per pano and 2.x creates only 4 xml files for my entire 11-pano tour.

I tried adding the code to every one of these 4 files with none of the wanted results happening.

Question:
Which of the PTP 2.x files is the one that will respond to the xml codes?
Exactly where in the document should the code be added?

Also, Is there a tutorial on how to create themes (or how to change the icons in the control bar) for PTP 2.x?

Thanks in advance,
E.C.
Last edited by jarane on Mon May 05, 2014 2:04 pm, edited 1 time in total.

no avatar
mediavets
Moderator
 
Posts: 16415
Likes: 2 posts
Liked in: 130 posts
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.
Info

Re: Xml code integration...

by mediavets » Mon May 05, 2014 8:33 am

jarane wrote:Also, Is there a tutorial on how to create themes (or how to change the icons in the control bar) for PTP 2.x?

Thanks in advance,
E.C.


Check out Advanced notions in the PTP documentation:
http://www.autopano.net/wiki-en/action/ ... umentation

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Xml code integration...

by bdd » Mon May 05, 2014 11:50 am

jarane wrote:Which of the PTP 2.x files is the one that will respond to the xml codes?

All the generated XML files.

jarane wrote:Exactly where in the document should the code be added?

It depends on which code you add.
If you add a scene specific code, it should be in the main XML file.
If you add a tour specific code, you can add it in any of the generated XML files.

Gérald

no avatar
jarane
Member
 
Topic author
Posts: 106
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 03, 2009 11:18 pm
Info

Re: Xml code integration...

by jarane » Mon May 05, 2014 2:03 pm

Got it!
Thanks, guys!
E.C.


Who is online

Users browsing this forum: No registered users and 2 guests