first test with water

Post your tests, experiments and unfinished renderings here.
blibli
Posts: 29
Joined: Thu Jan 18, 2018 2:52 pm

Re: first test with water

Post by blibli »

Dade wrote: Sat Jan 20, 2018 9:33 am Anyway, I will work on this topic after the release of alpha2, it shouldn't be hard to fix.
thanks :)
Dade wrote: Sat Jan 20, 2018 9:33 am you are using auto-linear tone-mapping and it was affected by the presence of fireflies (i.e. the image brightness was changing during the animation); without fireflies, the auto-linear use a more constant brightness and the pattern may be easier to spot.
Is there a way to have get stable values, like a pre pass, running the pathtracing for 10sec, getting good enough values for the tonemapping and then save it in scene custom properties or so? Or do you know another way to get good values quickly for videos?

Regarding fireflies, they could be used to make some nice bloom effect like that with an appropriate convolution filter:
metal_nobloom.jpg
metal_bloom.jpg
Edit: how do I add images that are displayed in the message? It just write "image" for me.
Last edited by blibli on Sun Jan 21, 2018 8:23 am, edited 3 times in total.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: first test with water

Post by B.Y.O.B. »

blibli wrote: Sat Jan 20, 2018 5:16 pm Is there a way to have get stable values, like a pre pass, running the pathtracing for 10sec, getting good enough values for the tonemapping and then save it in scene custom properties or so?
This is basically like I implemented it.
You start a rendering and after a warmup of 10 seconds it the optimal clamp value is computed.
You can then just press a button in the render settings (below the clamping settings) to apply and use this value.
blibli wrote: Sat Jan 20, 2018 5:16 pm Regarding fireflies, they could be used to make some nice bloom effect like that with an appropriate convolution filter
Support for bloom will be in the next alpha release, but I doubt you want it with fireflies, it will cause a lot of flickering.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: first test with water

Post by Dade »

blibli wrote: Sat Jan 20, 2018 5:16 pm
Dade wrote: Sat Jan 20, 2018 9:33 am you are using auto-linear tone-mapping and it was affected by the presence of fireflies (i.e. the image brightness was changing during the animation); without fireflies, the auto-linear use a more constant brightness and the pattern may be easier to spot.
Is there a way to have get stable values, like a pre pass, running the pathtracing for 10sec, getting good enough values for the tonemapping and then save it in scene custom properties or so? Or do you know another way to get good values quickly for videos?
As soon as BlendLuxCore supports tone mapping you will be able to pick the tone mapping you prefer, adjust the parameters, etc. At the moment the image pipeline used is just hard coded so it is not very flexible.
blibli wrote: Sat Jan 20, 2018 5:16 pm Regarding fireflies, they could be used to make some nice bloom effect like that with an appropriate convolution filter:
Imagehttps://imgur.com/L8Debmy
Image https://imgur.com/tHmzjM2
LuxCore has several image pipeline plugins, including a bloom filter: https://github.com/LuxCoreRender/LuxCor ... ne/plugins

(like tone mapping, they are not yet supported by BlendLuxCore at the moment but it is only a matter of time)
blibli wrote: Sat Jan 20, 2018 5:16 pm Edit: how do I add images that are displayed in the message? It just write "image" for me.
You click on the "Attachments" tab just on the left of the "Options", under the post you are writing, than click on "Add files" and "Place inline" to include them in your post.
Note: the current version of the forum software has a know bug when you re-edit a post with attachments: viewtopic.php?f=10&t=49
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: first test with water

Post by B.Y.O.B. »

BlendLuxCore supports tonemapping (and the bloom plugin) since a few hours :)
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: first test with water

Post by Sharlybg »

B.Y.O.B. wrote: Sat Jan 20, 2018 7:02 pm BlendLuxCore supports tonemapping (and the bloom plugin) since a few hours :)
Thanks you so much !
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
blibli
Posts: 29
Joined: Thu Jan 18, 2018 2:52 pm

Re: first test with water

Post by blibli »

B.Y.O.B. wrote: Sat Jan 20, 2018 7:02 pm BlendLuxCore supports tonemapping (and the bloom plugin) since a few hours :)
BYOB, the one coding faster than his shadow!
blibli
Posts: 29
Joined: Thu Jan 18, 2018 2:52 pm

Re: first test with water

Post by blibli »

B.Y.O.B. wrote: Sat Jan 20, 2018 5:46 pm
blibli wrote: Sat Jan 20, 2018 5:16 pm Is there a way to have get stable values, like a pre pass, running the pathtracing for 10sec, getting good enough values for the tonemapping and then save it in scene custom properties or so?
This is basically like I implemented it.
You start a rendering and after a warmup of 10 seconds it the optimal clamp value is computed.
You can then just press a button in the render settings (below the clamping settings) to apply and use this value.
Ok, I had the alpha1 version, with latest github, there is this optimal value button, however, it seems to set very high values. Here is a blend that still get fireflies after setting the optimal value from the warmup: http://pasteall.org/blend/index.php?id=48770
I already said it, but the error log is really helpful, it was really easy to rebuild the broken node trees after the addon update.
The Nvidia kernel compile time is impressive... slow. But it's NVidia's job.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: first test with water

Post by B.Y.O.B. »

blibli wrote: Sun Jan 21, 2018 8:21 am however, it seems to set very high values
The formula is: optimal_clamping_value = (average_film_luminance * 10)²
https://github.com/LuxCoreRender/BlendL ... er.py#L170
I just copied it from Dade and did not test it so far.
Maybe it does not perform well on some conditions, e.g. if the values are very high.

By the way, in your test scene disabling specular light visibility on the sun light removes all fireflies. But I realize this is a different matter from the sub-optimal clamp value.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: first test with water

Post by Dade »

B.Y.O.B. wrote: Sun Jan 21, 2018 10:45 am
blibli wrote: Sun Jan 21, 2018 8:21 am however, it seems to set very high values
The formula is: optimal_clamping_value = (average_film_luminance * 10)²
https://github.com/LuxCoreRender/BlendL ... er.py#L170
I just copied it from Dade and did not test it so far.
The "* 10" is intended for normal renderings (with 2000-10000 samples per pixel). If you are in a corner case like rendering an animation preview and you want a strong clamping just reduce the value (but you have now a starting point, before you were totally blind).

The "* 10" could be transformed in a "Strength bar" with values, for instance, between 2 and 25 :idea:
Support LuxCoreRender project with salts and bounties
blibli
Posts: 29
Joined: Thu Jan 18, 2018 2:52 pm

Re: first test with water

Post by blibli »

Particles are enabled :)
I found 2 problems, they seem to be shift on Z when using emitter type. With hair, it makes an "list index out of range" error.
The file is here: http://pasteall.org/blend/index.php?id=48776
Result with wireframe over to see the difference:
particles render wireframe overlay.jpg
Post Reply