## LuxCore: PATHOCL with radiance and pdf clamping

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: Dade, jromang, tomb, zcott, coordinators

### LuxCore: PATHOCL with radiance and pdf clamping

I have added the support for radiance and pdf clamping to PATHCPU/OCL (it was available only for BIASPATHCPU/OCL before). Clamping is disabled by default (while it is enabled in BIASPATH). The properties are:

Code: Select all
path.clamping.radiance.maxvaluepath.clamping.pdf.value

This is Piita's "Hotel Lobby" scene without radiance clamping (30 seconds rendering):

and this is with a soft radiance clamping:

and this with a strong clamping:

I think it is pretty obvious as radiance clamping can be incredibly effective for removing fireflies (just compare the first and second image) and highly reduce rendering times. It is also pretty much impossible to spot the bias if you use a "soft" clamping (i.e. first image is just like the second ... plus an hell of fireflies ).

Posts: 8404
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

### Re: LuxCore: PATHOCL with radiance and pdf clamping

Note: this code is on micro-kernel branch. I'm probably going to create a for_v1.5 branch where to consolidate all new features for 1.5

Posts: 8404
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

### Re: LuxCore: PATHOCL with radiance and pdf clamping

Nice!

pciccone

Posts: 1579
Joined: Wed Jan 13, 2010 11:02 am
Location: South Carolina