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.

  • "Castillonis" started this thread

Posts: 119

Location: Portland, Oregon

  • Send private message

1

Sunday, May 16th 2010, 7:39pm

Displaying entire width of partial panorama w/ cylinder projection

I am trying to display the entire width of a partial panorama with a cylindrical projection with a horizontal field of view of 109 degrees. I attempted to use the value 109 for the fov, but it does not display the entire width of the panorama. I also experimented with the html meta tags initial scale, minimal scale, etc. I searched the documentation, and some examples for this answer and I was not able to find an answer.

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
<image type="CYLINDER" hfov="109.00" multires="true" tilesize="743">
		<level tiledimagewidth="63133" tiledimageheight="17499">
			<cylinder url="santacruz2.tiles/l5_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="31567" tiledimageheight="8750">
			<cylinder url="santacruz2.tiles/l4_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="15784" tiledimageheight="4375">
			<cylinder url="santacruz2.tiles/l3_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="7892" tiledimageheight="2188">
			<cylinder url="santacruz2.tiles/l2_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="3946" tiledimageheight="1094">
			<cylinder url="santacruz2.tiles/l1_%0v_%0h.jpg" />
		</level>
	</image>

    	<action name="sequence_001">
       	oninterrupt(break);
       	lookto(-38.37,-11.2,4, smooth());
       	wait(3);
       	lookto(-38.37,-11.2,1, smooth());
       	wait(4);
       	lookto(-38.7,-5.2, 2, smooth());
       	wait(4);
       	lookto(0,0,109, smooth());
    	</action>

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Sunday, May 16th 2010, 8:26pm

Hi Castillonis,

Just an idea....(I do not remember clearly at this moment ;-) )

Source code

1
2
3
<view fovtype="HFOV" limitview="fullrange" fov="1" maxpixelzoom="1.0"/>
<image type="CYLINDER" hfov="1" multires="true" tilesize="743">
.....


Hope this help.

SAlut.

  • "Castillonis" started this thread

Posts: 119

Location: Portland, Oregon

  • Send private message

3

Sunday, May 16th 2010, 11:29pm

<view ... limitview="fullrange" worked

Thank you Michel. The "fullrange" parameter for the limitview argument of the optional view statement worked : ) I did not see this parameter documented, but it might be in the release notes.

http://www.krpano.com/docu/xml/#view