POV-Ray : Newsgroups : povray.beta-test : Focal blur aperture has no effect? : Solution (Was: Focal blur aperture has no effect?) Server Time
2 Nov 2024 17:18:02 EDT (-0400)
  Solution (Was: Focal blur aperture has no effect?)  
From: Warp
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

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