Page 1 of 2

Glossy with Object Motion Blur bug

Posted: Wed Feb 14, 2018 4:29 pm
by kintuX
If Camera Motion Blur is active (on) then Glossy reflection gets corrupt, is stuck to surface & shading goes flat...
(BlendLuxCore alpha4, w7)

eg
1. Motion Blur ON :shock:
MotionBlur ON.gif
2. Motion Blur OFF :D
MotionBlur OFF.gif
EDIT/ scene file attached
Atollo238_bug.zip
(842.96 KiB) Downloaded 465 times

Re: Glossy with Camera Motion Blur bug

Posted: Wed Feb 14, 2018 5:56 pm
by Dade
This is likely to happen because some error in UV transformations, going to check.

Re: Glossy with Camera Motion Blur bug

Posted: Wed Feb 14, 2018 6:10 pm
by B.Y.O.B.
In your .blend file, only object motion blur is enabled, not camera motion blur.
Just saying because you wrote "Camera Motion Blur" in your post.

Re: Glossy with Camera Motion Blur bug

Posted: Wed Feb 14, 2018 6:43 pm
by kintuX
B.Y.O.B. wrote: Wed Feb 14, 2018 6:10 pm In your .blend file, only object motion blur is enabled, not camera motion blur.
Just saying because you wrote "Camera Motion Blur" in your post.
oh, my bad, fixed the title ;) thanks

Re: Glossy with Object Motion Blur bug

Posted: Thu Feb 15, 2018 1:44 am
by kintuX
narrowed down to Object (bug only appears when Object is checked/enabled)

ps
used an updated BlendLuxCore from current master

edit: above mentioned build crashes instantly when rendering with OCL (noticed it first when i tested the updated pyluxcore.pyd) :?

Re: Glossy with Object Motion Blur bug

Posted: Thu Feb 15, 2018 12:08 pm
by Dade
It should be an OpenCL-only bug. This is a rendering with PATHCPU:
cpu.png
and this with PATHOCL:
ocl.png
Going to track it.

Re: Glossy with Object Motion Blur bug

Posted: Thu Feb 15, 2018 1:08 pm
by kintuX
Dade wrote: Thu Feb 15, 2018 12:08 pm It should be an OpenCL-only bug. This is a rendering with PATHCPU:
...
Going to track it.
So am back to official alpha4
& IDK... i get even worse result switching to CPU
ie. first frame renders OK (as yours), but on the next frame partial geometry simply disappears (also in LuxCore display) :?
eg.
RTdisplay.jpg

Re: Glossy with Object Motion Blur bug

Posted: Thu Feb 15, 2018 8:25 pm
by Dade
There were 3 problems. One was general when rendering any anisotropic material (metal, glossy, etc. with uroughness != vroughness) on GPUs. The second was about motion blur support on CPUs. I fixed both:

metal.jpg

The last one: https://github.com/LuxCoreRender/LuxCor ... ry.cpp#L77

I guess it is time to write the motion blur support there :mrgreen:

Re: Glossy with Object Motion Blur bug

Posted: Thu Feb 15, 2018 9:06 pm
by kintuX
At least something good out of it all comes... Small victories! :D
TYVM

Re: Glossy with Object Motion Blur bug

Posted: Fri Feb 16, 2018 11:23 am
by Dade
I should have fixed everything, this is the original animation posted:

animated3.gif

and this with a bit less "purple-ness":

animated2.gif