POV-Ray : Newsgroups : povray.advanced-users : Changing viewpoint of cylindrical camera : Re: Changing viewpoint of cylindrical camera Server Time
3 Jul 2024 05:57:54 EDT (-0400)
  Re: Changing viewpoint of cylindrical camera  
From: Alain
Date: 10 Sep 2008 15:37:23
Message: <48c821f3$1@news.povray.org>
Sebastian Kasperski nous illumina en ce 2008-09-10 05:17 -->
> Alain schrieb:
>> Sebastian Kasperski nous illumina en ce 2008-09-09 06:49 -->
>>> Hello all,
>>>
>>> i'm trying to render a simple scene using a cylindrical camera like 
>>> the following one. It uses the cylinder type 1 (vertical cylinder 
>>> with fixed viewpoint) and a full 360° viewing angle.
>>>
>>> camera
>>> {
>>>   cylinder 1
>>>   angle 360
>>>   up 1.1*y
>>>   location <0,0,0>
>>>   look_at  <0,0,1>
>>> }
>>>
>>> This works pretty fine. The only problem is, that the viewpoint is 
>>> always centered within the cylinder. What I want to do, is to move 
>>> the viewpoint up or down on the cylinder's axis. Is there a way to 
>>> archieve this?
>>>
>>> Best regards
>>> Sebastian
>> Have you tried to translate the camera up or down?
>>
> I did, but this translates the whole camera (viewpoint and image plane). 
> What I need is to keep the cylindrical image plane in its position and 
> change the viewpoint's relative position.
Try a matrix transform.

-- 
Alain
-------------------------------------------------
  My bologna has a first name.

                    Oscar Mayer


Post a reply to this message

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