POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: New SDL for POVRay Server Time
17 Jul 2025 13:38:42 EDT (-0400)
  Re: New SDL for POVRay  
From: Tim Attwood
Date: 3 Oct 2007 03:29:50
Message: <470344ee@news.povray.org>
> How, in the system you envision, will I be able to change the
> focal point and get a new image within a few seconds, instead
> of taking 3 hours to re-render everything ?

We could expose images as assignable objects during
the post_process stage, which would allow layering and
other tricks that now are done with other software. And
we could expose the depth of the rays to make certain
filtering options much more accurate. Syntax might be
something like...

pre_process {...}
// scene
post_process {
   #declare A = output_image;
   #declare B = file_image "file";
   #declare A = blurByDepth(A,focus_point,depth_of_field);
   #declare C = layerImages(A,B);
   final_image {
      use_image C
      type PNG
      image_name "newfile.png"
   }
}


Post a reply to this message

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