Forum: Tips & Tricks

Thread: Polar projection for equirectangular panoramas

back to threads list | this thread is closed
Search the forums:
Author  Message 
fiero

Posts: 332
Location: DevalVR developer, Spain
Registered: 6 Jul 2005
Polar projection for equirectangular panoramas
Posted: 12 Dec 2005 at 14:39 GMT
Hi all,

I created a new parameter "projection" in DevalVR viewer. This parameter will be used in future to add new modes of to view panoramic images.

In the latest plugin version there are two possibles projection values, projection=1 to set the image in "polar coordinates", and projection=2 to set the image in "polar coordinates" with sinusoidal deformation (this shows a more proportional image).

You can see two examples here. Thank you Andrey by the test wink

vr.1drey.com/moscow/bolshoy_dev_projection1.html
vr.1drey.com/moscow/bolshoy_dev_projection2.html

This projection works with spherical and cylindrical panoramas (no cubic QTVR).

The parameter "bgcolor" in the plugin, can be configured to be equal that sky color (for better results).

regards

fiero
alert moderator
GURL

Posts: 41
Location: Grenoble / Isère, France
Registered: 7 May 2004
Re: What should I see?
Posted: 14 Dec 2005 at 15:35 GMT
updated: 14 Dec 2005 at 15:38 GMT
First attempt:

Open bolshoy_dev_projection1.html: (fine but) usual pano.
Open bolshoy_dev_projection2.html: can't see the difference with projection1, despite I opened each version in a different window for easier comparison.
Close both windows.

Second attempt:

Open bolshoy_dev_projection1.html: unusual (but interesing) view of "the whole thing in a circle". This is a projection mode which I don't know the name, where one can see "the whole sphere" displayed as a circle. Nadir is in the center of the screen, image can be rotated around nadir.
Open bolshoy_dev_projection2.html: OK, now I see a difference, and clearly projection2 is the best!

So that I suppose the second attempt was right and wonder what happened in the first attempt...
alert moderator
John Houghton

Posts: 3487
Location: Hitchin, United Kingdom
Registered: 17 Jan 2005
Re: What should I see?
Posted: 14 Dec 2005 at 15:59 GMT
Exactly the same thing happened when I viewed the two images. The first one was displayed in normal format, the second in a circle. Biut when I went back to the first one, it now displayed in a circle. My overall impression was that this was a feature in search of an application.

John
alert moderator
fiero

Posts: 332
Location: DevalVR developer, Spain
Registered: 6 Jul 2005
Re: What should I see?
Posted: 14 Dec 2005 at 17:49 GMT
Yes, this behavior is caused by "auto-update" feature of DevalVR plugin. When it is enabled and you open a web page with DevalVR content, the plugin verifies if a new version exists. If there is a new version, the plugin downloads it (the update take only 5 or 10 seconds). The new version of the plugin only works when you close the browser and opens it again. For this reason, the second example works with the new plugin. But if you open the first example again, it is showed with the new plugin too.

The "auto-update" checks if a new version exists only once at day. If you open a lot of DevalVR pages the plugin do not check anything to the next day. You can disable this option, but I think that it does not suppose any inconvenience.

I added the "projection" parameter in the last version of the plugin (0,3,0,14).

The projection=1 is a polar projection. The same that the Photoshop filter (Filters->distort->Polar coordinates). I created the projection=2 for a more proportional image.

To create a polar view, only load a equirect JPG panorama and include the "projection" parameter wink

regards

fiero
www.devalvr.com
alert moderator
fiero

Posts: 332
Location: DevalVR developer, Spain
Registered: 6 Jul 2005
Re: What should I see?
Posted: 14 Dec 2005 at 18:12 GMT
I post this image for people with old plugin versions:



regards
alert moderator
michael przewrocki

Posts: 939
Location: basel, Switzerland
Registered: 19 Nov 2004
Re: What should I see?
Posted: 14 Dec 2005 at 20:57 GMT
do we have to be online when autoupdate-time-point is coming to get the autoupdate? if yes, i understand the update now- button. pls explain the full truth.
btw: if you have troubles with the updating, removing plugin(in software) and reinstall will help.see www.devalvr.com/forum/
choose the right browser-version(ie or FF)
alert moderator
fiero

Posts: 332
Location: DevalVR developer, Spain
Registered: 6 Jul 2005
Re: What should I see?
Posted: 14 Dec 2005 at 22:08 GMT
updated: 14 Dec 2005 at 22:09 GMT
Michael:
>do we have to be online when autoupdate-time-point is
>coming to get the autoupdate?

The plugin only check the updates when you open a web page in Internet. If you open a web page in local mode, the plugin does not check the updates.

But only once a day. If you enter in a web page at 09:00 AM and I update the plugin at 09:30 AM. The plugin does not update until the next day. For this reason, you can use "update now" option to check updates.

The "update now" option has different behaviors in different browsers:

In IE: It work correctly. Reopen the browser is necessary to run the new version.
In Firefox/Netscape8: It work correctly. The browser reload and run the new plugin automatically.
In Opera: The browser ask for all installed plugin extensions ¿¿¿??? I don't know why. Reopen the browser is necessary to run the new version.

I think that is better leave the plugin update automatically and not to worry.

regards
alert moderator
michael przewrocki

Posts: 939
Location: basel, Switzerland
Registered: 19 Nov 2004
Re: What should I see?
Posted: 15 Dec 2005 at 6:32 GMT
so if autoupdate-point is 930 AM and i am surfing at 10AM will there be autoupdate, right?
knowing that there is a new update is probably wise, like in the menue of testmov. if we want to compare old an new.
or friend decided to remove this info and show pano-intro instead. also genious idea.
vr.1drey.com/moscow/bolshoy_dev_projection1.html
alert moderator
fiero

Posts: 332
Location: DevalVR developer, Spain
Registered: 6 Jul 2005
Re: What should I see?
Posted: 15 Dec 2005 at 7:36 GMT

michael przewrocki said:

so if autoupdate-point is 930 AM and i am surfing at 10AM will there be autoupdate, right?


Yes.
alert moderator