## SPPM renderer (CPU-only)

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

Moderators: jromang, tomb, zcott, coordinators

### Re: SPPM renderer (CPU-only)

Aah ok, I will refer the hash from now on Tx.
Chawl

Posts: 71
Joined: Fri May 14, 2010 7:52 pm
Location: Ankara, Turkey

### Re: SPPM renderer (CPU-only)

sppm

Bi-directional

Is it just me, or does it appear like there's a noticeable band of "lighter" ground across the top of the images? I noticed it near the beginning and hoped it would go away with time, but a day later and it's still there. The Bidir render of the same scene didn't have the same anomaly.

I'm using the default settings for SPPM/Bidir.
helloworld922

Posts: 57
Joined: Sat Jul 10, 2010 12:21 pm

### Re: SPPM renderer (CPU-only)

Nope, not you. There's definitely some lighter ground.
Pilchard123

Posts: 406
Joined: Sun Oct 30, 2011 8:05 am

### Re: SPPM renderer (CPU-only)

helloworld922 wrote:
sppm.png

bidir.png

Is it just me, or does it appear like there's a noticeable band of "lighter" ground across the top of the images? I noticed it near the beginning and hoped it would go away with time, but a day later and it's still there. The Bidir render of the same scene didn't have the same anomaly.

I'm using the default settings for SPPM/Bidir.

I noticed this issue few times ago, but it is something really weird and difficult to trace. It appears that there is less light in place far away from the camera, but I don't see where we can have forgot a weighting factor which depends on the camera distance (and moreover, which increase with distance).

By the way, this scene is interesting, because we can see where SPPM is powerfull (the floor under the glass character) and where there is issue (the dark band, the blurred caustics and all those nasty fireflies).

For the fireflies, I'm really looking for a simple test scene which can show them quickly, If someone has one ?
guibou

Posts: 269
Joined: Fri Dec 04, 2009 10:14 am

### Re: SPPM renderer (CPU-only)

Here are fresh binaries of random_parameter_filtering_test branch for Windows x64...

Edit: Deleted the junk attachment.
Last edited by Chawl on Tue Jan 24, 2012 8:25 am, edited 1 time in total.
Chawl

Posts: 71
Joined: Fri May 14, 2010 7:52 pm
Location: Ankara, Turkey

### Re: SPPM renderer (CPU-only)

Chawl wrote:Here are fresh binaries of random_parameter_filtering_test branch for Windows x64...

Oh, wait, I have just started, far from having something usable ... and it is totally unrelated with SPPM

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

### Re: SPPM renderer (CPU-only)

guibou wrote:For the fireflies, I'm really looking for a simple test scene which can show them quickly, If someone has one ?

Something like this?

Here's an archive of the blender scene and luxblend exported files (hopefully I got everything):

untitled.7z
helloworld922

Posts: 57
Joined: Sat Jul 10, 2010 12:21 pm

### Re: SPPM renderer (CPU-only)

I pushed a new accel structure which may use less memory than every other structure and build faster during the eyepass. The performances should be better than hashgrid and kdtree and a bit behind hybrid.

guibou

Posts: 269
Joined: Fri Dec 04, 2009 10:14 am

### Re: SPPM renderer (CPU-only)

I can't compile 3e2c1631ea47 on VS2008 SP1 with this error:
Code: Select all
1>Compiling...1>parallelhashgrid.cpp1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(52) : error C2664: 'boost::interprocess::detail::atomic_cas32' : cannot convert parameter 1 from 'unsigned int *' to 'volatile boost::uint32_t *'1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(54) : warning C4146: unary minus operator applied to unsigned type, result still unsigned1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(59) : error C2664: 'boost::interprocess::detail::atomic_cas32' : cannot convert parameter 1 from 'unsigned int *' to 'volatile boost::uint32_t *'1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(60) : warning C4146: unary minus operator applied to unsigned type, result still unsigned1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(79) : warning C4146: unary minus operator applied to unsigned type, result still unsigned1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(84) : warning C4146: unary minus operator applied to unsigned type, result still unsigned1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(119) : warning C4146: unary minus operator applied to unsigned type, result still unsigned1>..\..\..\lux\renderers\sppm\parallelhashgrid.cpp(127) : warning C4146: unary minus operator applied to unsigned type, result still unsigned1>Build log was saved at "file://***masked***\windows\Projects\luxrender\BuildTemp\liblux\x64\Release\BuildLog.htm"1>liblux - 2 error(s), 6 warning(s)========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

PS: Also windows repo has to be updated for solution to contain the new parallelhasgrid.cpp
Chawl

Posts: 71
Joined: Fri May 14, 2010 7:52 pm
Location: Ankara, Turkey

### Re: SPPM renderer (CPU-only)

guibou wrote:For the fireflies, I'm really looking for a simple test scene which can show them quickly, If someone has one ?

They usually show up on the first or second pass for me.
Attachments
studio.blend
Competition Coordinator.
Current Competition: Math is Beautiful / Abstract Wallpaper

Member of the first official jeanphi-fan club

binarycortex

Posts: 1501
Joined: Fri Feb 22, 2008 10:44 pm

PreviousNext