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.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

1

Sunday, February 27th 2011, 4:06pm

Mouse control settings don't affect my pano ?!

Hi,

I found the "control" settings in the code of my pano via the editor plugin on local. Changed some settings and test them directly ("load this xml"), it worked (speed must be down to 3 or 2 to see a real difference!).
Then i've copied the same settings to my main xml. It didn't work on local, via xml or embeded swf (mouse still speed), so i've uploaded on my server. Doesn't work neither.!

Any suggestion ?
Thanks. *smile*

Steph
Steph

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Monday, February 28th 2011, 3:02pm

do you have the mouse settings declared twice the second overwriting the first? would need to see you code or an online example to figure it out.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

3

Tuesday, March 1st 2011, 4:19am

Hi VN,

Sorry i was tired when i was writing, forgot the link! :

http://www.humanfoto.fr/C/tour.html

I thought about twice the same code (it happened to me already). So i've checked before writing my thread and no. My code is about a thousand lines. I give you the start, thanks VN : *smile*

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<krpano version="1.0.8" onstart="set(odissea, 'epkaaosxl'); startup(); set(plugin[presentation].keep, true);">
	<!-- vtour.xml template krpano tools version 1.0.8.12 -->	


	<memory maxmem="350" />
	<network downloadqueues="auto" decodequeues="auto" caching="true" cachesize="7" retrycount="2" />
	

	<events onxmlcomplete=""
	        onpreviewcomplete=""
	        onloadcomplete=""
	        onloaderror=""
	        onkeydown=""
	        onkeyup=""
	        onclick=""
	        onmousedown=""
	        onmouseup=""
	        onmousewheel=""
	        onidle=""
	        onviewchange=""
	        onresize=""
	        onenterfullscreen=""
	        onexitfullscreen=""
	        />

	<display fps="60"
	         details="16"
	         tessmode="0"
	         movequality="LOW"
	         stillquality="HIGH"
	         flash10="on"
	         movequality10="HIGH"
	         stillquality10="HIGH"
	         stilltime="0.25"
	         />
	
	<control usercontrol    ="all"
	         mousetype      ="moveto"
	         zoomtocursor   ="true"
	         zoomoutcursor  ="true"
	         mouseaccelerate="0.8"
	         mousespeed     ="3.00"
	         mousefriction  ="0.80"
	         headswing      ="0.00"
	         keybaccelerate ="0.50"
	         keybspeed      ="10.00"
	         keybfriction   ="0.90"
	         keybinvert     ="false"
	         mousefovchange ="1.00"
	         keybfovchange  ="0.75"
	         fovspeed       ="3.00"
	         fovfriction    ="0.90"
	         movetocursor   ="none"
	         cursorsize     ="10.0"
	         keycodesleft   ="37"
	         keycodesright  ="39"
	         keycodesup     ="38"
	         keycodesdown   ="40"
	         keycodesin     ="16,65,107"
	         keycodesout    ="17,89,90,109"
	         touchfriction="0.55"
	         />		
	
Steph

4

Tuesday, March 1st 2011, 4:37am

Have you tried modifing the xml with a fresh .swf that does not have the xml embedded at all? I believe you have it embedded and because of this, making changes to the non embedded xml does nothing.


This is one of the reasons I don't embed xml at all. It's your choice but it is better to do it ONLY after all settings are correct and the job is done.


???

Jarred

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

5

Tuesday, March 1st 2011, 3:04pm

Hi,

Yes i've changed my embedded swf, it doesn't work neither, but it wasn't with a fresh swf. I'm gonna check this one more time, to be absolutely sure.

You're right Jarredja about the way to work.
For the moment i need to have the xml embedded because of i-phone tests. I'm gonna do two separate folder, it's easier..
I have a special xml for i-phone plus the swf embed, to see if it works this way.

Thanks. *smile*
Steph

6

Friday, March 4th 2011, 11:14am

Hi,

how do you load the other panos?
I ask because when there is no MERGE or KEEPCONTROL flag the controll setting will be set back to default,

see:
http://krpano.com/docu/actions/#loadpano

best regards,
Klaus

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

7

Friday, March 4th 2011, 1:12pm

Hi Klaus,

I've made a Vtour. The controll settings are on top of my code (out of scenes) and here the code when i load an other scene from a hotspot or google map or the thumbnails :

Source code

1
loadscene(scene_Port-Castelsardo, null, NOPREVIEW, BLEND(1.5)); 

So i need to add a "KEEPCONTROL" to this line or/and add a "keep="true"" to my control ?

Thanks. *smile*
Steph

8

Friday, March 4th 2011, 1:15pm

Hi, change the line to that:

Source code

1
loadscene(scene_Port-Castelsardo, null, NOPREVIEW|KEEPCONTROL, BLEND(1.5));

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

9

Friday, March 4th 2011, 1:19pm

Yyyess, thanks again. *smile*
Steph