|
|
ABX wrote:
> Can you do more tests with cases I described ?
You're right. It only works when transformations does not change the
distance between focal_point and camera location.
Manuel wrote:
> I can only wait for your response.
> sorry, but I'm really newbie ...
Newbies are welcome! To use focal blur together with camera transformations
such as scale, you could use the code below:
Regards,
Hugo
// Declare vectors and scale factor
#declare Scale = <1,1,1>;
#declare Camera_Location = <0,7,-12> * Scale;
#declare Camera_Lookat = <0,0,0> * Scale;
#declare Focal_Point = <0,0,0> * Scale;
// Setup camera
camera {
location Camera_Location look_at Camera_Lookat
focal_point Focal_Point
aperture .8
blur_samples 20
// You can still apply other transformations in here
rotate 45*z
translate -3*x
}
// Enviroment
light_source { <-100,50,0>, 9000 fade_distance 1 fade_power 2 }
light_source { <-50,100,-100>, .35 shadowless }
plane { y,-1.5 pigment { checker rgb .5 rgb 1 } }
sphere { < 2, 0, 0>,1.5 pigment { rgb <1,.2,0> } }
sphere { <-4, 0, 12>,1.5 pigment { rgb <0,.4,1> } }
sphere { <-6, 0, -5>,1.5 pigment { rgb <1,.8,0> } }
// End
Post a reply to this message
|
|