POV-Ray : Newsgroups : povray.general : perspective - angle Server Time
6 Aug 2024 02:26:22 EDT (-0400)
  perspective - angle (Message 1 to 2 of 2)  
From: Rafal 'Raf256' Maj
Subject: perspective - angle
Date: 4 Jul 2002 12:49:05
Message: <Xns9241BEE546AC2raf256com@204.213.191.226>
1. what cammera settings will give rendering in with coordinates of each 
point (x,y) are representing angles beetwen camera, i.e. in 360x180 image :

sphere { z*100 } 
  then rotaten horizonaly by X degrees will be in image on (180+X,90)
  then rotaten verticaly  by Y degrees will be in image on (180,90+Y/2)

<0,0,100> (in front of camera) will land in center of image (180,90)
<-100,0,0> will land in (  0,90)
<+100,0,0> will land in (360,90)

so general 
sphere { z*100 1 rotate x*X rotate y*Y }
will be in image in (180+X, 90+Y)

camera {
  // what put here ?
  location 0
  look_at z
}

-- 


Post a reply to this message

From:
Subject: Re: perspective - angle
Date: 4 Jul 2002 13:07:20
Message: <7309iugm773vsa7nrm824f6unqdm04r75n@4ax.com>
On 4 Jul 2002 12:49:05 -0400, "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> 1. what cammera settings will give rendering in with coordinates of each 
> point (x,y) are representing angles beetwen camera, i.e. in 360x180 image :

I'm not sure I understand your question but perhaps you are asking about
spherical camera...

ABX


Post a reply to this message

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