POV-Ray : Newsgroups : povray.binaries.images : Denoising POV-Ray images in Blender Server Time
25 Apr 2024 10:34:42 EDT (-0400)
  Denoising POV-Ray images in Blender (Message 14 to 23 of 51)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Thomas de Groot
Subject: Re: Denoising POV-Ray images in Blender
Date: 16 Jan 2023 10:34:56
Message: <63c56ea0$1@news.povray.org>
Op 16-1-2023 om 16:22 schreef Samuel B.:
> Here's a striking example of how well Intel's denoiser works. The plastic
> material uses backside illumination, reflection, refraction, and a tiny granite
> normal for roughness. This kind of material needs at least two radiosity bounces
> to look decent, so render times can really go through the roof under normal
> circumstances. Observe the reflection highlights. The denoiser was able to make
> sense of the clusters of white pixels.

This one is particularly impressive, Sam.
-- 
Thomas


Post a reply to this message

From: Samuel B 
Subject: Re: Denoising POV-Ray images in Blender
Date: 16 Jan 2023 10:40:00
Message: <web.63c56fa013ac3328f8c47d526e741498@news.povray.org>
A proximity pattern test. This type of proximity method can be quite noisy at
times, depending on the number of samples used. This object got 12 samples and
the scene took 35 seconds to render using low radiosity and focal blur settings.

Just in case any wants it, here's the proximity macro:

/* Proximity pattern macro
 ProxObject = input object
 Radius   = proximity radius
 Samples   = number of priximy samples
 TurbScale  = scale of turbulence
 TurbAmt   = amount of turbulence
 Example: Object_Prox(MyObject, .3, 20, 1000, 100)
*/
#macro Object_Prox(ProxObject, Radius, Samples, TurbScale, TurbAmt)
 pigment_pattern{
  average
  pigment_map{
   // fermat spiral-sphere distribution
   #local Inc = pi * (3 - sqrt(5));
   #local Off = 2 / Samples;
   #for(K, 0, Samples-1)
    #local Y = K * Off - 1 + (Off / 2);
    #local R = sqrt(1 - Y*Y);
    #local Phi = K * Inc;
    [1
     // object pattern with small-scale turbulence
     pigment_pattern{
      object{ProxObject}

      scale TurbScale
      warp{turbulence TurbAmt lambda 1}
      scale 1/TurbScale

      translate <cos(Phi)*R, Y, sin(Phi)*R>*Radius
     }
    ]
   #end
  }
 }
#end


Post a reply to this message


Attachments:
Download 'denoise-prox-test3.jpg' (338 KB)

Preview of image 'denoise-prox-test3.jpg'
denoise-prox-test3.jpg


 

From: Samuel B 
Subject: Re: Denoising POV-Ray images in Blender
Date: 17 Jan 2023 19:00:00
Message: <web.63c7362f13ac3328f8c47d526e741498@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 16-1-2023 om 16:22 schreef Samuel B.:
> > Here's a striking example of how well Intel's denoiser works. The plastic
> > material uses backside illumination, reflection, refraction, and a tiny granite
> > normal for roughness. (...)

> This one is particularly impressive, Sam.
> --
> Thomas

Hi Thomas,

Yeah, it's amazing how effective it can be. But writing POV script to output
three different images is a bit of a chore (for a few reasons). It would be cool
a future version of POV-Ray supported denoising natively, as a plugin or
something, so that all the difficult stuff was done behind the scenes.

Sam


Post a reply to this message

From: Kenneth
Subject: Re: Denoising POV-Ray images in Blender
Date: 17 Jan 2023 21:55:00
Message: <web.63c75ee013ac33282eadabda6e066e29@news.povray.org>
"Samuel B." <stb### [at] hotmailcom> wrote:
> A proximity pattern test. This type of proximity method can be quite noisy at
> times, depending on the number of samples used. This object got 12 samples and
> the scene took 35 seconds to render using low radiosity and focal blur settings.
>

This is the best example of the denoiser technique that you've posted so far,
IMO. I am amazed that it can discern true noise from your applied ground pattern
that looks *almost like* noise. The foreground detail looks nice and sharp.

It would be interesting to see this same scene denoised but without the original
focal blur-- to see at what point (if any!) in the receding distance the
denoiser might mistake the smaller and smaller actual ground pattern detail for
what it 'perceives' as noise. To see if the denoiser tries to blur it there when
it should not(?)

----
BTW: A few days ago, I downloaded your 2013 file "ToVolume: Object-To-Volume
Conversion and Rendering Process". It also has an interesting and much more
complex 'proximity' file included. I'm sorry to admit that I haven't yet played
around with your amazing proximity pattern :-( I'm still going through that file
to try and understand its workings; much of it is beyond my brain-power, ha.


Post a reply to this message

From: Kenneth
Subject: Re: Denoising POV-Ray images in Blender
Date: 17 Jan 2023 22:30:00
Message: <web.63c766f113ac33282eadabda6e066e29@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

>
> It would be interesting to see this same scene denoised but without the original
> focal blur--

Oops, what I meant to say was, *with* focal blur (and the inherent noise of low
blur samples) but so that the depth-of-field is much wider and not soft-focus
(if that makes sense.) In other words, noisy but not actually blurry-looking.
I'm wondering if the denoiser can distinguish the ground pattern in the
foreground from the same un-blurred smaller pattern in the receding distance.


Post a reply to this message

From: Samuel B 
Subject: Re: Denoising POV-Ray images in Blender
Date: 20 Jan 2023 18:00:00
Message: <web.63cb1c0d13ac3328e167b36c6e741498@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> "Samuel B." <stb### [at] hotmailcom> wrote:
> > A proximity pattern test. (...)
>
> This is the best example of the denoiser technique that you've posted so far,
> IMO. I am amazed that it can discern true noise from your applied ground pattern
> that looks *almost like* noise. The foreground detail looks nice and sharp.
>
> It would be interesting to see this same scene denoised but without the original
> focal blur-- to see at what point (if any!) in the receding distance the
> denoiser might mistake the smaller and smaller actual ground pattern detail for
> what it 'perceives' as noise. To see if the denoiser tries to blur it there when
> it should not(?)
>
> ----
> BTW: A few days ago, I downloaded your 2013 file "ToVolume: Object-To-Volume
> Conversion and Rendering Process". It also has an interesting and much more
> complex 'proximity' file included. I'm sorry to admit that I haven't yet played
> around with your amazing proximity pattern :-( I'm still going through that file
> to try and understand its workings; much of it is beyond my brain-power, ha.

Hi Kenneth,

The denoiser was able to preserve the ground bump largely thanks to the normal
pass I included. It also helps that the normal and albedo passes can take more
camera blur samples than the final pass, since they are faster to render.

Regarding what it would look like with no obvious focal blur, I'm /guessing/
that the denoiser would smooth out everything under a certain size and color
threshold.

Re: ToVolume. I can't remember which type of proximity technique I used for
that. And I would probably be a bit lost myself, opening up that file after all
these years... that tends to happen with old projects ;)

Sam


Post a reply to this message

From: Thomas de Groot
Subject: Re: Denoising POV-Ray images in Blender
Date: 21 Jan 2023 02:34:26
Message: <63cb9582$1@news.povray.org>
Op 20/01/2023 om 23:56 schreef Samuel B.:
> "Kenneth" <kdw### [at] gmailcom> wrote:
>> "Samuel B." <stb### [at] hotmailcom> wrote:
>>> A proximity pattern test. (...)
>>
>> This is the best example of the denoiser technique that you've posted so far,
>> IMO. I am amazed that it can discern true noise from your applied ground pattern
>> that looks *almost like* noise. The foreground detail looks nice and sharp.
>>
>> It would be interesting to see this same scene denoised but without the original
>> focal blur-- to see at what point (if any!) in the receding distance the
>> denoiser might mistake the smaller and smaller actual ground pattern detail for
>> what it 'perceives' as noise. To see if the denoiser tries to blur it there when
>> it should not(?)
>>
>> ----
>> BTW: A few days ago, I downloaded your 2013 file "ToVolume: Object-To-Volume
>> Conversion and Rendering Process". It also has an interesting and much more
>> complex 'proximity' file included. I'm sorry to admit that I haven't yet played
>> around with your amazing proximity pattern :-( I'm still going through that file
>> to try and understand its workings; much of it is beyond my brain-power, ha.
> 
> Hi Kenneth,
> 
> The denoiser was able to preserve the ground bump largely thanks to the normal
> pass I included. It also helps that the normal and albedo passes can take more
> camera blur samples than the final pass, since they are faster to render.
> 
> Regarding what it would look like with no obvious focal blur, I'm /guessing/
> that the denoiser would smooth out everything under a certain size and color
> threshold.
> 
> Re: ToVolume. I can't remember which type of proximity technique I used for
> that. And I would probably be a bit lost myself, opening up that file after all
> these years... that tends to happen with old projects ;)
> 
> Sam
> 

There are/were also your "fastProx" and "nestProx" includes for doing 
proximity patterns. It has been a while since I last used them. They 
tended to be /superseded/ by Edouad Poor's "df3prox-0.95" utility in my 
(slight) personal choice/preference ;-)

However, they are a notable part of my large collection of POV-Ray 
utilities created by the users community. Good opportunity to say a warm 
Thank You.

-- 
Thomas


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Denoising POV-Ray images in Blender
Date: 30 Jan 2023 16:11:50
Message: <63d83296$1@news.povray.org>
Il 14/01/2023 01:50, Samuel B. ha scritto:

Thank you, Sam! A different approach can be a stimulus to revisit old 
projects (and I have many, lost in time...).
Btw, a nice and relaxing test image.

Paolo


Post a reply to this message

From: Samuel B 
Subject: Re: Denoising POV-Ray images in Blender
Date: 2 Feb 2023 19:10:00
Message: <web.63dc4fa213ac3328e167b36c6e741498@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 20/01/2023 om 23:56 schreef Samuel B.:
> > (...)
> > Re: ToVolume. I can't remember which type of proximity technique I used for
> > that. (...)
>
> There are/were also your "fastProx" and "nestProx" includes for doing
> proximity patterns. It has been a while since I last used them. They
> tended to be /superseded/ by Edouad Poor's "df3prox-0.95" utility in my
> (slight) personal choice/preference ;-)

Hey, whatever gets the job done :D

> However, they are a notable part of my large collection of POV-Ray
> utilities created by the users community. Good opportunity to say a warm
> Thank You.
>
> --
> Thomas

No problem! It's cool that you are keeping a collection going.

I do wish it was easier to search for old things, though. It seems like all the
search engines only keep a partial index of the newsgroups.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Denoising POV-Ray images in Blender
Date: 3 Feb 2023 02:17:13
Message: <63dcb4f9$1@news.povray.org>
Op 03/02/2023 om 01:04 schreef Samuel B.:
> No problem! It's cool that you are keeping a collection going.
> 
It is miscellaneous/monstrous thing ;-)  jr encourages me to make it 
better accessible, but /that/ is a hell of a job, and RL is increasingly 
interfering.... :-/

> I do wish it was easier to search for old things, though. It seems like all the
> search engines only keep a partial index of the newsgroups.
> 
Possibly the major crash POV-Ray experienced some time ago destroyed 
part of the index too? However, I agree with you: items are often 
difficult/impossible to find.

-- 
Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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