|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |