Page 1 of 1

Hair Strand Step Bug

Posted: Fri Aug 21, 2020 10:02 pm
by DionXein
Hello there!
I find strange bug while trying to transport scene from Cycles to LuxCore. All materials and meshes work fine, except hair. It gives me error notify (pic 1). In other scene simple hair works pretty fine. Sometimes changing values in hair render and viewport menu (pic 2) let me render hair in viewport . But I didn't find any dependency between these moments. In blend file hair cause problems are disabled, just try to enable-disable it.

Error text:
Python argument types in
Property.__init__(Property, str, tuple)
did not match C++ signature:
__init__(class boost::python::api::object, class boost::python::str, class boost::python::list)
__init__(struct _object * __ptr64, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)
__init__(struct _object * __ptr64, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, double)
__init__(struct _object * __ptr64, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, int)
__init__(struct _object * __ptr64, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, bool)
__init__(struct _object * __ptr64, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

Link to blend file:
https://drive.google.com/file/d/1j0hGD9 ... sp=sharing

Re: Hair Strand Step Bug

Posted: Sat Aug 22, 2020 8:58 am
by B.Y.O.B.
You could try v2.5alpha (latest build), I think this bug is already fixed there.

Re: Hair Strand Step Bug

Posted: Sat Aug 22, 2020 12:31 pm
by DionXein
B.Y.O.B. wrote: Sat Aug 22, 2020 8:58 am You could try v2.5alpha (latest build), I think this bug is already fixed there.
I'm using it in production already. By the way I found it's happening if mesh got another hair particle system (disabled in viewport and render).

Re: Hair Strand Step Bug

Posted: Sat Aug 22, 2020 12:48 pm
by B.Y.O.B.
Your scene is working fine here with v2.5 latest.

Re: Hair Strand Step Bug

Posted: Sat Aug 22, 2020 1:34 pm
by Dade
B.Y.O.B. wrote: Sat Aug 22, 2020 12:48 pm Your scene is working fine here with v2.5 latest.
It looks like a broken installation with a mix of different versions of Python and binary code. He should try to delete the BlendLuxCore directory and re-install.

Re: Hair Strand Step Bug

Posted: Mon Aug 24, 2020 12:48 am
by DionXein
B.Y.O.B. wrote: Sat Aug 22, 2020 12:48 pm Your scene is working fine here with v2.5 latest.
So I did like you said - now problem is solved and everything works fine except one thing. In viewport some strands align to center of coordinates. You can see it on screenshots below.

Re: Hair Strand Step Bug

Posted: Mon Aug 24, 2020 7:31 am
by B.Y.O.B.
DionXein wrote: Mon Aug 24, 2020 12:48 am In viewport some strands align to center of coordinates.
This is a known bug, unfortunately not yet solved: https://github.com/LuxCoreRender/BlendL ... issues/408

Re: Hair Strand Step Bug

Posted: Sun Aug 30, 2020 1:38 am
by DionXein
B.Y.O.B. wrote: Mon Aug 24, 2020 7:31 am
DionXein wrote: Mon Aug 24, 2020 12:48 am In viewport some strands align to center of coordinates.
This is a known bug, unfortunately not yet solved: https://github.com/LuxCoreRender/BlendL ... issues/408
So I tested 2.5 in hair rendering, and it's look pretty nice.

Do you planning to implement any special shader for hair (like Principled Hair bsdf)?

Re: Hair Strand Step Bug

Posted: Sun Aug 30, 2020 11:40 am
by Dade
DionXein wrote: Sun Aug 30, 2020 1:38 am Do you planning to implement any special shader for hair (like Principled Hair bsdf)?
It is is something on my "radar" but I don't know when.

Re: Hair Strand Step Bug

Posted: Sun Aug 30, 2020 11:08 pm
by DionXein
Dade wrote: Sun Aug 30, 2020 11:40 am
DionXein wrote: Sun Aug 30, 2020 1:38 am Do you planning to implement any special shader for hair (like Principled Hair bsdf)?
It is is something on my "radar" but I don't know when.
At least good to hear that it is there :D