blibli wrote: ↑Thu Jan 18, 2018 3:55 pm
first of all, I'm very happy to see this project continue. I'll do my best to help with the little time I have. I made a quick test today. The new error log is extremely helpful !!! The new installation with just a click in user pref is also awesome. Some feedback on first test:
- When starting the rendering, there is always a 2second lag in the test scene I used (in the video below). Does the addon export all geometry every time? I couldn't find the older option to only export geometry that was not already exported (available in older luxcore versions).
- Sometime, it also stays at "creating session" for 20-30 seconds, but I couldn't find a way to make it reproducible, it seems random at first.
Are you using OpenCL (with NVIDIA GPU) ? I have the feeling what you are describing is the time required for kernel compilation by the driver (NVIDIA one is particularly slow).
There is also a kernel cache so a specific rendering kernel is compiled only the first time is encounter (this could explain the "random" behavior you are observing).
If you open the Blender console, you should see a lot of text messages, if you see something like:
Code: Select all
[LuxCore][1.876] [PathOCLBaseRenderThread::0] Defined symbols: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1.000000e-05f -D PARAM_RAY_EPSILON_MAX=1.000000e-01f -D PARAM_LIGHT_WORLD_RADIUS_SCALE=1.050000e+00f -D PARAM_TRIANGLE_LIGHT_HAS_VERTEX_COLOR -D PARAM_ACCEL_BVH -D PARAM_FILM_RADIANCE_GROUP_0 -D PARAM_FILM_RADIANCE_GROUP_COUNT=1 -D PARAM_ENABLE_TEX_CONST_FLOAT -D PARAM_ENABLE_TEX_CONST_FLOAT3 -D PARAM_ENABLE_TEX_IMAGEMAP -D PARAM_ENABLE_TEX_NORMALMAP -D PARAM_ENABLE_TEX_IRREGULARDATA -D PARAM_ENABLE_TEX_FRESNELCOLOR -D PARAM_ENABLE_TEX_FRESNELCONST -D PARAM_ENABLE_MAT_MATTE -D PARAM_ENABLE_MAT_GLOSSY2 -D PARAM_HAS_PASSTHROUGH -D PARAM_CAMERA_TYPE=0 -D PARAM_HAS_TRIANGLELIGHT -D PARAM_MAX_PATH_DEPTH=3 -D PARAM_MAX_PATH_DEPTH_DIFFUSE=3 -D PARAM_MAX_PATH_DEPTH_GLOSSY=3 -D PARAM_MAX_PATH_DEPTH_SPECULAR=3 -D PARAM_RR_DEPTH=5 -D PARAM_RR_CAP=5.000000e-01f -D PARAM_SQRT_VARIANCE_CLAMP_MAX_VALUE=0.000000e+00f -D PARAM_IMAGE_FILTER_TYPE=5 -D PARAM_IMAGE_FILTER_WIDTH_X=2.000000e+00f -D PARAM_IMAGE_FILTER_WIDTH_Y=2.000000e+00f -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_X=1 -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_Y=1 -D PARAM_SAMPLER_TYPE=2 -D PARAM_SAMPLER_SOBOL_RNG0=9.965103e-01f -D PARAM_SAMPLER_SOBOL_RNG1=9.467506e-02f -D PARAM_SAMPLER_SOBOL_STARTOFFSET=32 -D PARAM_SAMPLER_SOBOL_MAXDEPTH=3
[LuxCore][1.876] [PathOCLBaseRenderThread::0] Compiling kernels
[LuxCore][3.102] [PathOCLBaseRenderThread::0] Kernels not cached
The "Kernels not cached" means the driver is compiling the kernel.
blibli wrote: ↑Thu Jan 18, 2018 3:55 pm
Also, I got a lot of fireflies, any help appreciated if someone know how to get rid of them with a better water shader for example or to make nice stars with a bloom/convolution filter:
https://streamable.com/s/lce1a/tvgfce
As suggested by B.Y.O.B., just use variance clamping: it only needs a couple of rendering tests. If the value is too low, you will start to cut highlights, if it is too high, fireflies will start to appear. Just do a couple of tests to find the middle ground you like (an example:
https://www.youtube.com/watch?v=9KqzfxgMRuA)
blibli wrote: ↑Thu Jan 18, 2018 3:55 pm
The noise pattern of sobol are also pretty visible in videos but also in stills even at 64spp (in the shadow parts it's very visible).
https://imgur.com/a/GI3zb
This is somewhat expected from Sobol sampler, it is noise under another form. Regular patterns Vs. random noise: in both case you need more samples for a clean image.
If you prefer one type over the other, you can use the RANDOM sampler instead of SOBOL. However, I'm not sure if BlendLuxCore exposes the RANDOM sampler