POV-Ray : Newsgroups : povray.general : A problem: about the image shape of the output. : Re: A problem: about the image shape of the output. Server Time
29 Jul 2024 22:26:59 EDT (-0400)
  Re: A problem: about the image shape of the output.  
From: POV-Zhstar
Date: 4 May 2010 23:10:00
Message: <web.4be0e1263f56d0c5582639f90@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:
> Try this:
>
> union{
> camera{location 0 look_at z}
> cylinder{0, 10*z, 3 pigment{rgb 0} open}
> rotate Some_Direction
> translate Some_location
> }
>
> This create a camera identical to the default one, and link it with a
> cylinder with an union. This enable you to rotate and move both toggether.
> The open keyword removes the ends of the cylinder.
> Lastly, you use rotate and translate to orient and locate the camera as
> you want to.
> If you want an elliptical opening, just unevenly scale the cylinder:
> cylinder{0, 10*z pigment{rgb 0} open scale<4/3,1,1>}
>
>
> You can also try with the fisheye camera. That camera will render a
> circular image, if the hight and width are the same.
>
>
> Alain

Thanks! This should what I want. I tried just with your method. But it shows the
following error:
Parse Error: No matching } in 'union', camera found instead
But I am sure there is no missing "}" in the scripts. What's wrong?


Post a reply to this message

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