POV-Ray : Newsgroups : povray.bugreports : Panoramic projection only showing 180 degrees Server Time
21 Dec 2024 22:47:54 EST (-0500)
  Panoramic projection only showing 180 degrees (Message 1 to 6 of 6)  
From: bugefun
Subject: Panoramic projection only showing 180 degrees
Date: 10 Sep 2011 18:40:00
Message: <web.4e6be6db7f808d518f2275e30@news.povray.org>
I'm testing the panoramic projection and no matter what I put in for angle in
the camera it is 180 degrees wide. It is also 180 degrees tall. Angle has no
effect on the image at all.
Here is the entire code:

camera {
  panoramic
  location <0,0,0>
  look_at <0,0,1>
  angle 210
  //up y
  right x
}
sphere {
        <0,0,0>,10000
        pigment {
                image_map {
                        jpeg "pano.jpg"
                        //interpolate 2
                        map_type 1
                }
        }
        finish { ambient rgb <1,1,1>}
}

The pano.jpg is this:
http://flashpanoramas.com/player/examples/images/ktulhu2.jpg

Whatever I put in for right doesn't change the angle (horizontal or vertical)
either. You would think that it would change the vertical angle because that is
what it does for perspective. Instead it has a very strange effect of expanding
things on the left and right sides and squishing things in the middle, although
nothing new is shown and nothing is removed. Right is only correct with just the
value x, then the image matches with one side of the original image, except
mirrored, because the sphere is viewed from the inside.

This is the same for both 3.6.2 and 3.7
I'm on Vista 64 using the 64 bit versions of POV-ray.


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Panoramic projection only showing 180 degrees
Date: 11 Sep 2011 06:53:00
Message: <4e6c930c$1@news.povray.org>

> I'm testing the panoramic projection and no matter what I put in for angle in
> the camera it is 180 degrees wide. It is also 180 degrees tall. Angle has no
> effect on the image at all.

   Your are getting confused by the word "panorama", which is used to 
refer to many different projections. What you reaaaally want in this 
case, is the spherical camera.

   Regards,




-- 
Jaime Vives Piqueres
		
La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

From: Warp
Subject: Re: Panoramic projection only showing 180 degrees
Date: 11 Sep 2011 07:15:44
Message: <4e6c985f@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> El 11/09/11 00:38, bugefun escribió:
> > I'm testing the panoramic projection and no matter what I put in for angle in
> > the camera it is 180 degrees wide. It is also 180 degrees tall. Angle has no
> > effect on the image at all.

>    Your are getting confused by the word "panorama", which is used to 
> refer to many different projections. What you reaaaally want in this 
> case, is the spherical camera.

  In some cases the cylindrical camera might also apply, depending on the
intended target medium of the end result.

-- 
                                                          - Warp


Post a reply to this message

From: Ive
Subject: Re: Panoramic projection only showing 180 degrees
Date: 11 Sep 2011 10:31:42
Message: <4e6cc64e@news.povray.org>
Am 11.09.2011 12:53, schrieb Jaime Vives Piqueres:

>> I'm testing the panoramic projection and no matter what I put in for
>> angle in
>> the camera it is 180 degrees wide. It is also 180 degrees tall. Angle
>> has no
>> effect on the image at all.
>
> Your are getting confused by the word "panorama", which is used to refer
> to many different projections. What you reaaaally want in this case, is
> the spherical camera.
>

Maybe ;)  but this does not change the fact that the angle keyword seems 
to have no effect here while I would expect it has.

-Ive


Post a reply to this message

From: bugefun
Subject: Re: Panoramic projection only showing 180 degrees
Date: 11 Sep 2011 17:20:00
Message: <web.4e6d24d470f6c73a8f2275e30@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

> > I'm testing the panoramic projection and no matter what I put in for angle in
> > the camera it is 180 degrees wide. It is also 180 degrees tall. Angle has no
> > effect on the image at all.
>
>    Your are getting confused by the word "panorama", which is used to
> refer to many different projections. What you reaaaally want in this
> case, is the spherical camera.
>
>    Regards,
> --
> Jaime Vives Piqueres
>
> La Persistencia de la Ignorancia
> http://www.ignorancia.org

Thanks for telling me that. The spherical camera does do what I want. But it is
strange (might be considered a bug) that there are two cameras that do
essentially the same thing. Panoramic is the same as spherical except limited to
180x180, the only thing it has in addition is the strange effect of right, and
would that ever be applicable to anyone? Either way, they could be combined
because right doesn't do anything for the spherical camera.


Post a reply to this message

From: clipka
Subject: Re: Panoramic projection only showing 180 degrees
Date: 12 Sep 2011 11:48:17
Message: <4e6e29c1$1@news.povray.org>
Am 11.09.2011 16:31, schrieb Ive:

> Maybe ;) but this does not change the fact that the angle keyword seems
> to have no effect here while I would expect it has.

... and the docs say it should. Yes.

I just filed a bug report.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.