|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hello,
i'm a new user and interesting in using POV to generate a a view that is a
complete 360x180 scene such as the kind that you would use in an IPIX
system.
The desired output from a scene is an image file in equirectangular format,
which is a rectangle twice as wide as it is tall.
the horizontal direction contains the 0-360 degree view (stand and spin
around) and the vertical direction contains the 0-180 direction (look up
and down).
these images are then suitable for direct viewing by a number of VR viewers.
i see that you can generate a spherical view and a cylindrical projection
with the camera, but i'm wondering if you can generate an equirectangular
format directly.
thanks!
JM
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <web.41ded6d6b217348448e7f6db0@news.povray.org>,
"johnmott59" <joh### [at] hotmailcom> wrote:
>>hello,
>>
>>i'm a new user and interesting in using POV to generate a a view that is a
>>complete 360x180 scene such as the kind that you would use in an IPIX
>>system.
>>
>>The desired output from a scene is an image file in equirectangular format,
>>which is a rectangle twice as wide as it is tall.
>>
>>the horizontal direction contains the 0-360 degree view (stand and spin
>>around) and the vertical direction contains the 0-180 direction (look up
>>and down).
>>
>>these images are then suitable for direct viewing by a number of VR viewers.
>>
>>i see that you can generate a spherical view and a cylindrical projection
>>with the camera, but i'm wondering if you can generate an equirectangular
>>format directly.
>>
>>thanks!
>>
>>JM
a beginning of answer :
camera {
spherical
location <0, 0, 0>
right -x
angle 360, 180
look_at <...>
}
then set the size of the output image to 1/2 -> +W1024 +H512
hope this help!
klp
Post a reply to this message
|
|
| |
| |
|
|
From: Florian Brucker
Subject: Re: how to create an equirectangular image
Date: 8 Jan 2005 09:37:28
Message: <41dff028@news.povray.org>
|
|
|
| |
| |
|
|
I guess that the user defined camera type, which was added in MegaPOV
1.1 could do the job. Don't know anything about it, though, so you'll
have to try it yourself.
Get MegaPOV at http://megapov.inetart.net/
HTH,
Florian
--
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank, that got it. I had to specify it like this to get it working the way
i expected, where the middle of the image is the horizon, the top is
looking straight up and the bottom is looking straight down.
camera {
spherical
location <1,1,8> // position
look_at <0,0,8> // view
sky < 0.00000, 0.00000, 1.00000>
up < 0.0, 1, 0.0>
angle 360 // horizontal degrees
}
kurtz le pirate <kur### [at] yahoofr> wrote:
> >>JM
>
> a beginning of answer :
> camera {
> spherical
> location <0, 0, 0>
> right -x
> angle 360, 180
> look_at <...>
> }
>
> then set the size of the output image to 1/2 -> +W1024 +H512
>
>
> hope this help!
> klp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|