|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Why focal blur aperture has no effect on cameras other than the perspective
one? Some focal blur is calculated with the other cameras (details farther
away get a bit smoother) but for some reason it seems that the user-defined
aperture value is ignored.
Not good.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Solution (Was: Focal blur aperture has no effect?)
Date: 18 Oct 2001 07:01:01
Message: <3bceb66d@news.povray.org>
|
|
|
| |
| |
|
|
I found the problem: In the function create_ray() in render.cpp the
jitter_camera_ray() function is not called in the other camera types, but
only in the perspective camera.
Adding this before each initialize_ray_container_state() call seems to make
it work:
if (Focal_Blur_Is_Used)
{
jitter_camera_ray(Ray, ray_number);
}
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
: I found the problem: In the function create_ray() in render.cpp the
: jitter_camera_ray() function is not called in the other camera types, but
: only in the perspective camera.
: Adding this before each initialize_ray_container_state() call seems to make
: it work:
No comments to this? Good idea? Bad idea? Worth fixing? (Personally I think
it is.)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
If this fixes the problem you described (I do not know much about
programming, so I can't say much more) then that bug must be fixed the way
you said. Period. It would be great if every bug could be fixed so quickly
:)
--
Jonathan.
"Warp" <war### [at] tagpovrayorg> ha scritto nel messaggio
news:3bd079f3@news.povray.org...
> Warp <war### [at] tagpovrayorg> wrote:
> : I found the problem: In the function create_ray() in render.cpp the
> : jitter_camera_ray() function is not called in the other camera types,
but
> : only in the perspective camera.
> : Adding this before each initialize_ray_container_state() call seems to
make
> : it work:
>
> No comments to this? Good idea? Bad idea? Worth fixing? (Personally I
think
> it is.)
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wonderful idea. Simple solution. Onward! :)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|