Page 2 of 2

Re: LuxCore Vector Displacements

Posted: Tue Nov 05, 2019 1:59 pm
by Dade
kumaran7 wrote: Tue Nov 05, 2019 1:18 pm Displacement test build link please.
It is included in automatic builds (however, this feature has not yet been exposed in BlendLuxCore so it can not yet be used with some hand editing of the scene): viewtopic.php?f=9&t=736

Re: LuxCore Vector Displacements

Posted: Thu Dec 05, 2019 12:30 pm
by B.Y.O.B.
Hi,

I think it only makes sense to add this scene to the testscene repo once the BlendLuxCore displacement support is implemented.
In the meantime, I was wondering what the license of this scene is? I can only find the youtube description as source, but was that the first time it was uploaded, and under which licensing?

Re: LuxCore Vector Displacements

Posted: Thu Dec 05, 2019 6:15 pm
by u3dreal
I could have a look at this in BlendLuxCore or who is the maintainer ???

cheers u3dreal

Re: LuxCore Vector Displacements

Posted: Fri Dec 06, 2019 12:58 am
by B.Y.O.B.
u3dreal wrote: Thu Dec 05, 2019 6:15 pm I could have a look at this in BlendLuxCore or who is the maintainer ???
Sure, contributions are welcome.
As a proof of concept I have started something here a while ago: https://github.com/LuxCoreRender/BlendL ... he.py#L157
It worked in final render, but I have not investigated yet how best to support viewport updates.

I am the main author of BlendLuxCore, if you have any questions, feel free to ask me.
To discuss this, it's probably best if you open an issue in the repo: https://github.com/LuxCoreRender/BlendL ... issues/new

Re: LuxCore Vector Displacements

Posted: Sat Dec 07, 2019 1:18 pm
by u3dreal
OK seems i'll have a look to see if i get the concept of the code. :D

Re: LuxCore Vector Displacements

Posted: Tue Dec 17, 2019 2:10 pm
by B.Y.O.B.
I added the vector displacement node to the Blender addon, this scene can now be rendered with the attached setup.
However, there are some weird lines appearing along the model, for example on the right, not sure what that's about.

Re: LuxCore Vector Displacements

Posted: Tue Dec 17, 2019 2:58 pm
by neo2068
B.Y.O.B. wrote: Tue Dec 17, 2019 2:10 pm I added the vector displacement node to the Blender addon, this scene can now be rendered with the attached setup.
However, there are some weird lines appearing along the model, for example on the right, not sure what that's about.
These lines are also visible in the cycles video @ 5:20 Min (https://youtu.be/iNAdi1nzOvE?t=317). It seems to be releated with the uv map.

Re: LuxCore Vector Displacements

Posted: Tue Dec 17, 2019 3:09 pm
by B.Y.O.B.
Maybe the subdiv shape in LuxCore is not handling the UVs properly?

Re: LuxCore Vector Displacements

Posted: Tue Dec 17, 2019 3:31 pm
by u3dreal
Nice !

Re: LuxCore Vector Displacements

Posted: Tue Dec 17, 2019 7:07 pm
by provisory
In Blender 2.81 they improved Cycles behavior:
https://wiki.blender.org/wiki/Reference ... .81/Cycles
Adaptive Subdivision
Cycles adaptive subdivision now stitches faces to avoid cracks between edges, that may be caused by displacement or different materials.
Image