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.

1

Wednesday, April 11th 2012, 12:07am

Fisheye view over 180°?

Hi,

is there a way to get a fov over 180°, for example 190 or 200°,

i got a krpano div vertical 900x600 (3:2 ratio as real fullframe cameras),
and i simulate some real lenses,
example : Canon 14 mm - Canon 15 mm Fisheye - Canon 8-15mm @ 12mm -
but for Canon 8-15mm @ 10mm and 8 mm, i need to get a fov way over 180°...
to have the circle fisheye image in the viewfinder as we can see in real life.. (small circle image in rectangle area)


i use :
set(view.limitfov,false);
tween(view.fisheye, 1.0, distance(1.0, 1.25));
and view fovtype="MFOV"
to get the fisheye circle

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
<action name="enable_Canon_14mm">

		action(enable_view,view_Canon_14mm);
		set(view.limitfov,true);

		tween(view.architectural,  0.0, distance(1.0, 0.25), easeoutquad);
		tween(view.fisheye,        0.0, distance(1.0, 0.25), easeoutquad, set(view.stereographic,false); );
		tween(view.fov,       104.0, distance(179, 0.45), easeoutquad);
	</action>      
	
		<action name="enable_Canon_15mm_fisheye">

		action(enable_view,view_Canon_15mm_FE);
		set(view.limitfov,true);
		tween(view.architectural, 0.0, distance(1.0, 0.25), easeoutquad);<!-- -->
		tween(view.fisheye,       0.0 ,distance(1.0, 0.20), easeoutquad,<!-- -->
		set(view.stereographic,false);

		tween(view.fisheye, 0.35, distance(1.0, 1.25));
		tween(view.fov,       142.0, distance(179, 0.45), easeoutquad););
	</action>

<action name="enable_Canon_8_15mm_fisheye_at_12mm">

		
		action(enable_view,view_Canon_8_15mm_fisheye_at_12mm);
		set(view.limitfov,false);
		tween(view.architectural, 0.0, distance(1.0, 0.25), easeoutquad);<!-- -->
		tween(view.fisheye,       1.0 ,distance(1.0, 0.20), easeoutquad,<!-- -->
		set(view.stereographic,false);

		tween(view.fisheye, 1.0, distance(1.0, 1.25));
		tween(view.fov,       179, distance(179, 0.45), easeoutquad););
	</action>


so,is fov 180°max a limitation of the player ? *confused*


Thanks

z

2

Wednesday, April 11th 2012, 4:58pm

Ok

the problem seems to be related only with vertical area,
and before you think i'm stupid asking weird questions (like above) *tongue* , just look at theses captures :

i get the fisheye circle with horizontal rectangle but not with the vertical one...(camera portrait oriented)
i've tried to switch view mode HFOV MFOV DFOV VFOV...
but there something else *confused*

Thanks for advice

z
zadda has attached the following images:
  • Firefox002.jpg
  • Firefox001.jpg

3

Wednesday, April 11th 2012, 5:21pm

circle cannot fit in vertical rectangle even changing MFOV to other modes :

*cry* *cry*

z
zadda has attached the following images:
  • ok_horzontal.jpg
  • not_ok_vertical.jpg

This post has been edited 1 times, last edit by "zadda" (Apr 11th 2012, 5:38pm)


4

Thursday, April 12th 2012, 8:56am

Hi,

yes, the fisheye fov is limited at the moment (to 179°)

the reason for that limitation is that based on performance considerations - the parts of the image above 179° need a lot of elements to be calculated and drawn but only a few additional pixels are visible for that,

but I will try to make that limitations and the zooming-limitations disable-able or setup-able in the next releases,

e.g. here a quick try - this is the maximum fov for fisheye at the moment (179°):


and this is the maximum fisheye-fov what would be technically possible (without additional distortion): (maybe ~200° or more or fewer)


btw - nice lens application, seem interesting!

best regards,
Klaus

5

Thursday, April 12th 2012, 10:45am

Hi Klaus,

Thanks for your answer,

is the 179° limitation is only in one axis ?
since i can have my image circle fit in horizontal rectangle area,
i barely understand why the circle cannot fit in the vertical area *confused*

Quoted

but I will try to make that limitations and the zooming-limitations disable-able or setup-able in the next releases

thanks,

Quoted

btw - nice lens application, seem interesting!

works in progress ;-)
i will PM you a link later this week *smile*


z

6

Monday, April 16th 2012, 7:20pm

Hi,
i barely understand why the circle cannot fit in the vertical area
there is an internal kind of automatic scaling/zooming in this case that fisheye=1.0 and fov=180 results in a full vertical 180 degree fisheye view - that's that what I mean with the 'zooming-limitations' - I will try to make them customizable,

best regards,
Klaus