|
|
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
|
|