POV-Ray : Newsgroups : povray.general : camera transforms with focal blur Server Time
5 Nov 2024 07:21:10 EST (-0500)
  camera transforms with focal blur (Message 1 to 2 of 2)  
From: Greg M  Johnson
Subject: camera transforms with focal blur
Date: 15 May 2003 09:10:13
Message: <3ec391b5@news.povray.org>
I had a scene file where focal blur did not behave as I expected after a
camera transform.

camera{
    location -z look_at 0
   transform{Gregs_camera_transform}
}

Where Gregs_camera_transform is a function of  splines which determine look
at & position as a function of clock.  It needs to be a transform because
I'm using the same transform on my captions.


Then I tried to add focal blur and did not get at all what I expected.
Could someone who understands how the camera works tell me exactly how you'd
add focal blur to the above syntax?


Post a reply to this message

From: ABX
Subject: Re: camera transforms with focal blur
Date: 15 May 2003 10:41:45
Message: <nb97cv06dsgr571mef7fb6iaanth3hhq3u@4ax.com>
On Thu, 15 May 2003 09:09:42 -0400, "Greg M. Johnson" <gregj:-)565### [at] aolcom>
wrote:
> I had a scene file where focal blur did not behave as I expected after a
> camera transform.
>
> camera{
>   location -z look_at 0
>   transform{Gregs_camera_transform}
> }
>
> Where Gregs_camera_transform is a function of  splines which determine look
> at & position as a function of clock.  It needs to be a transform because
> I'm using the same transform on my captions.

If it is a transform than you can just use

 camera{
   location -z look_at vtransform(<0,0,0>,Gregs_camera_transform)
 }

> Then I tried to add focal blur and did not get at all what I expected.
> Could someone who understands how the camera works tell me exactly how you'd
> add focal blur to the above syntax?

I have no idea what your transformation is exactly but it can be important that
(what I see in sources) transformation is not applied to focal_blur parameters.
Perhaps transformation should be also added to normal of camera.

ABX


Post a reply to this message

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