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.

tksharpless

Beginner

  • "tksharpless" started this thread

Posts: 31

Location: Philadelphia, Pennsylvania

Occupation: Retired S/W engineer

  • Send private message

1

Friday, February 20th 2009, 8:08pm

"vedutismo" projection?

Hi Klaus

Thanks for a great viewer.

Do you think it could handle also the new "vedutismo" (PTGui) aka "equi-perspective" (PTAssembler) aka "Pannini" (Hugin and Panini) projection? That is a kind of cylindrical stereographic projection which can make many views appear to have natural perspective even at very wide angles.

The Panini viewer (which I wrote) can display spherical panos "live" in this projection, but uses a 3D OpenGL model to do so. I don't know if Flash can do something equivalent, but it would be great if it could. Panini is only a file viewer, so a web viewer with Pannini projection would be most welcome.

Best Regards, Tom

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

3

Friday, February 20th 2009, 9:18pm

oh, never mind I saw some examples, VERY interesting, if you wrote the paninin viewer, I downloaded it from sourforge, is it the same one?

if so, are you planing on fixing the save as function? not fixing, but changing, it saves really well, except the compression/interpolation is bad, looks fussy :(

anyway, hopefully Krpano will have this projection, as it looks interesting :)

4

Monday, February 23rd 2009, 11:46pm

Hi,

yes, sound interesting!

you said "stereographic cylindrical" - yes, that should be possible
are there also any other transformations (any variable vertical scaling?)

but I'm not sure how a cylindrical projection can work on spherical or cubical panos?
and if a interpolation between other projection modes can be done...

I'll try it a let you known

best regards,
Klaus

tksharpless

Beginner

  • "tksharpless" started this thread

Posts: 31

Location: Philadelphia, Pennsylvania

Occupation: Retired S/W engineer

  • Send private message

5

Friday, February 27th 2009, 2:52am

Hi Klaus

Panini is designed to make printable views with controlled perspective, so yes, it does have several adjustments in addition to the Pannini projection. But they are most useful after the basic direction and field of view have been set, and might not be so appropriate for a rotating view.

The basic Pannini projection, as Bruno Postle deduced it, has a simple geometrical form: first project the world onto a panocylinder (in place of the more usual panosphere). Then view the cylinder from a point on its surface, like the view of the sphere in the stereographic projection. In Panini, PTAssembler, and PTGui the distance of the viewpoint from the center of the panocylinder is actually adjustable, so one can "sweep" from rectilinear through full Pannini and beyond. This is a very useful feature, because the average randomly chosen view probably looks better with the eye about halfway from center to surface, but some views definitely deserve the full treatment.

A Pannini image has straight verticals and also straight diagonals while being compressed horizontally (most at the edges) and expanded vertically (most in the center). The horizontal compression allows fields of view up to 200 degrees or more to look almost like normal perspective views -- provided one is looking more or less toward a strong "vanishing point", for example down a street. The vertical expansion, though required to make the diagonals straight, also makes the middle top and bottom of the view "bulge out" rather a lot, and squeezing those parts of the image generally improves its appearance . So I would say that would be a desirable feature.

There is a Mathmap script at http://www.flickr.com/groups/vedutismo/ in the discussions that shows the mathematical form of the Pannini projection, and another that shows one way of applying top and bottom "squeezes" to make a view look almost rectilinear. Those are extreme squeezes requiring custom adjustment for each view. A useful generic squeeze is much easier to implement -- simply reduce the power of the vertical cosine function in the Pannini formula from 2 to 1 or perhaps 1.5.

Sorry to bend your ear, but I would really love to see this projection in a widely used web pano viewer. I'm quite sure it would be popular: in my experience, at wide fields of view almost every pano looks better in a moderate Pannini projection than in the rectilinear one.

Get Panini and see for yourself (https://sourceforge.net/projects/pvqt/).

Regards, Tom

machart

Trainee

Posts: 135

Location: Ostfriesland

  • Send private message

6

Friday, February 27th 2009, 9:45am

one who is interested in different projection types, should read this thread, too:
http://www.autopano.net/forum/t4199-othe…rtial-panoramas
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

7

Friday, February 27th 2009, 6:13pm

Hi,

here is it - krpano with Pannini Projection:

http://krpano.com/108beta/pannini/

it looks really good at wide angles - a great idea Tom!

I added a new parameter for the <view> tag - called "pannini" (possible values are "true" or "false")
the "strongness" of the projection it is controlled via the "fisheye" (=the viewpoint distance from the center),
the "fisheyefovlink" (=a dynamic adjustment of the "fisheye" parameter relative to the field of view) and
the "stereographic" parameter, just like the other projections,

I added some buttons in the example with for testing of some different settings,
the parameters can also be changed with the options plugins (button in the right top)

(I'll update the current download package to this version in some minutes)

thanks Tom!

best regards,
Klaus

tksharpless

Beginner

  • "tksharpless" started this thread

Posts: 31

Location: Philadelphia, Pennsylvania

Occupation: Retired S/W engineer

  • Send private message

8

Friday, March 13th 2009, 10:55pm

Hi Klaus

WOW! Better than Panini (almost ;->).

Thanks for making this great new projection available in a Flash viewer !

Best regards, Tom

9

Friday, March 5th 2010, 6:37pm

hi all,

its great to find a good forum like on panoramic and 360 tours!

A build mostly 360 tours and to investigate other options of image and 360 tour output is great.

From experience though, a client can have too may options if all are shown, so i stick to just one or two. However, there will always be someone who sees an unusual output and want one.
Also, user experience - will they have a better experience with a different projection?



regards,



Dave

www.bassmedia.net