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.

joekki

Trainee

  • "joekki" started this thread

Posts: 78

Location: Turku, Finland

Occupation: Panoramic photographer and web site builder

  • Send private message

1

Monday, June 1st 2009, 10:39am

Autorotate doesn't work always? (1.0.8 beta 7)

Hi,

check out the code of these two:
working:
http://panoraamakuvat.fi/kuvat/kurjenrahka/laiturin-nokalta

not working:
http://panoraamakuvat.fi/kuvat/joyboots/joyboots-liiketila

In both of those I have included the xml-file which includes the autorotate tag:

Source code

1
<include url="panoraamakuvatfi.xml" />


And there you can see:

Source code

1
2
3
4
5
6
7
<autorotate enabled="true" 
        	waittime="1.0" 
        	accel="1.5" 
        	speed="10" 
        	horizon="5" 
        	tofov="90" 
        	/>


But it doesn't work with the second one. Any guesses? Note: i'm using the latest beta.

2

Monday, June 1st 2009, 4:07pm

Have you compared the actions in the

action(show_html_field);">

of each pano?

Maybe something was added or taken away. It seems to be tied to the loading of the html field. At least, that's what I seem to be seeing.

*edit* I assume the action(show_html_field);> is the same on both panos, tied to
<include url="panoraamakuvatfi.xml" />

and probably not the problem.

Maybe something to do with lens flare? That is added in one and not the other.

You may have to post more code from panoraamakuvatfi.xml for a solution.

Jarredja

This post has been edited 1 times, last edit by "Jarredja" (Jun 1st 2009, 4:50pm)


Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

3

Tuesday, June 2nd 2009, 4:46am

That is odd.

I only see three differences between the two base xml's
- images - one's jpgs, the others tiffs
- lensflare - one has it, the other doesn't
- lookats - a bit different

None of which I've ever heard causing a problem.

Since both base xml's are calling the exact same extra xml file.

After staring at the non-working pano a bit... I do notice that the sharpness keeps going back and forth... like it's originally at high and then it drops to low... like it would when the autorotate kicks in... but then goes back to high.

Odd.

I closed my other windows where I was looking at the code... It would be good if you could load the non-working base xml file for reference.

Graydon

4

Tuesday, June 2nd 2009, 10:45am

Hi,

there was a bug with the autorotating and when the "tofov" value was out of the fov limit range (in this example, the high fisheye value and the "limitfov" value are limiting the fov value)

I have fixed it for beta 8,

best regards,
Klaus

joekki

Trainee

  • "joekki" started this thread

Posts: 78

Location: Turku, Finland

Occupation: Panoramic photographer and web site builder

  • Send private message

5

Wednesday, June 3rd 2009, 6:57am

Ahh, ok. So I've written false fisheye values there. Now it works when I changed the values with the non working XML from:

Source code

1
2
3
4
5
6
7
8
	<view hlookat   	="90"
      	vlookat   	="0"
      	fov       	="60"
      	fovmin    	="6"
      	fovmax    	="179"
      	fisheye   	="0.85"
      	fisheyefovlink="0.50"
      	/>

to

Source code

1
2
3
4
5
6
7
8
	<view hlookat   	="90"
      	vlookat   	="0"
      	fov       	="100"
      	fovmin    	="6"
      	fovmax    	="179"
      	fisheye   	="0.35"
      	fisheyefovlink="0.90"
      	/>


I still need to keep learning these values. ;)

Thanks Klaus!

Similar threads