POV-Ray : Newsgroups : povray.binaries.images : 3.5 Blurred Reflection : Re: 3.5 Blurred Reflection Server Time
27 Sep 2024 19:23:22 EDT (-0400)
  Re: 3.5 Blurred Reflection  
From: Ron Parker
Date: 17 Oct 2001 17:10:51
Message: <slrn9srsur.e53.ron.parker@fwi.com>
On Wed, 17 Oct 2001 22:43:44 +0200, JRG wrote:
>> So what's so special about this patch compared to the old reflection blur?
>> Well, let's just say it's not limited to reflection, shall we?
>
>(something like stochastic raytracing?)

Sort of.  I've added a "supersample n,d" statement to the finish statement,
which causes POV to evaluate the texture n times while jittering the normal's
evaluation point within d of the actual evaluation point.  That means that,
if you have the CPU horsepower, you can do blurred isotropic reflection as
with the old patch, but also blurred anisotropic reflection, both kinds of
transmission, and maybe even real specular highlights, just by adding a 
very small-scale normal to the surface.

I, of course, don't have that kind of horsepower.  But here's a sample of
blurred transmission that was within reach of my limited CPU.  The stats
are included for the curious:

Done Tracing
Statistics for blur.pov, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:           76800   Smpls/Pxl: 1.00
Rays:           1395150   Saved:                 0   Max Level: 3/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                            2726599         1054773     38.68
Cone/Cylinder                 10906396           22138      0.20
Plane                          5453198         2035619     37.33
Sphere                         2726599         2726599    100.00
----------------------------------------------------------------------------
Calls to Noise:            5679714   Calls to DNoise:        6998074
----------------------------------------------------------------------------
Shadow Ray Tests:         10651592   Succeeded:               794019
Refracted Rays:            1318350
----------------------------------------------------------------------------
Smallest Alloc:                 16 bytes   Largest:            12040
Peak memory used:            94390 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  7 minutes  26.0 seconds (446 seconds)
    Total Time:    0 hours  7 minutes  26.0 seconds (446 seconds)


Post a reply to this message


Attachments:
Download 'blur3.jpg' (21 KB)

Preview of image 'blur3.jpg'
blur3.jpg


 

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