PhotonGI cache

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PhotonGI cache

Post by B.Y.O.B. »

By the way, Sharlybg, can you start the viewport render in the Nakagin scene?
Because on my computers, it crashes on both Linux and Windows.
But only this scene, and only since a few days. I think some recent change broke the RT PATH CPU engine. Final render works fine, as well as Bidir in viewport.

edit: here's a gdb backtrace:

Code: Select all

(gdb) bt
#0  0x00007fffdcd3ab00 in typeinfo for boost::exception_detail::error_info_injector<boost::uuids::entropy_error> () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#1  0x00007fffdb36285a in slg::Material::ComputeGlossiness(slg::Texture const*, slg::Texture const*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#2  0x00007fffdb52e89e in slg::Metal2Material::UpdateTextureReferences(slg::Texture const*, slg::Texture const*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#3  0x00007fffdb493f1d in slg::MaterialDefinitions::UpdateTextureReferences(slg::Texture const*, slg::Texture const*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#4  0x00007fffdb4b939b in slg::Scene::ParseTextures(luxrays::Properties const&) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#5  0x00007fffdb38044c in slg::Scene::Parse(luxrays::Properties const&) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#6  0x00007fffdb25e840 in boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void (luxcore::detail::SceneImpl::*)(luxrays::Properties const&), boost::python::default_call_policies, boost::mpl::vector3<void, luxcore::detail::SceneImpl&, luxrays::Properties const&> > >::operator()(_object*, _object*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#7  0x00007fffdc17f8dc in boost::python::objects::function::call(_object*, _object*) const () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#8  0x00007fffdc17fc38 in boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke(boost::detail::function::function_buffer&) ()
   from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#9  0x00007fffdc188cf3 in boost::python::handle_exception_impl(boost::function0<void>) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#10 0x00007fffdc17e549 in function_call () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#11 0x0000000002e4f06c in PyObject_Call ()
#12 0x0000000002f123a2 in PyEval_EvalFrameEx ()
#13 0x0000000002f1607b in PyEval_EvalFrameEx ()
#14 0x0000000002f1869e in ?? ()
#15 0x0000000002f1581a in PyEval_EvalFrameEx ()
#16 0x0000000002f1869e in ?? ()
#17 0x0000000002f18773 in PyEval_EvalCodeEx ()
#18 0x0000000002e79674 in ?? ()
#19 0x0000000002e4f06c in PyObject_Call ()
#20 0x0000000001472964 in ?? ()
#21 0x00000000019a7a51 in ?? ()
#22 0x0000000001352b1f in ED_render_scene_update ()
#23 0x00000000017a179a in DAG_ids_check_recalc ()
#24 0x00000000018749e2 in BKE_scene_update_tagged ()
#25 0x000000000107ee54 in wm_event_do_notifiers ()
#26 0x0000000001078f80 in WM_main ()
#27 0x0000000001016a38 in main ()
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

B.Y.O.B. wrote: Sun Feb 24, 2019 4:10 pm By the way, Sharlybg, can you start the viewport render in the Nakagin scene?
Because on my computers, it crashes on both Linux and Windows.
But only this scene, and only since a few days. I think some recent change broke the RT PATH CPU engine. Final render works fine, as well as Bidir in viewport.
Yes can but only now. Before that all my old luxcore project wann't render because of a "empty band" node issue. each time i start to try a given old luxcore project all Band node were reset to empty band in all shader so i'd to redo recheck each single one to make it work again :roll: .

Was thinking about a way to talk about it but with a lighter 3D scene but can't find something like that.
So check the dark shader of the black lamp on the wall (look for the band node).
Viewport.jpg
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

It may be a factor only if you are using caustic cache (not if it was an indirect cache only rendering).
Don't use caustic cache here. only indirect as you say.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: PhotonGI cache

Post by Racleborg »

Still having a problem with this......

Thanks

[quote=Racleborg post_id=10424 time=1550919164 user_id=149]
The scene (attached) crashes every time with PGI on, and any scene I create with a MIX material like this, also crashes.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

By the way we still miss a clay/custom override shader feature !
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PhotonGI cache

Post by B.Y.O.B. »

Sharlybg wrote: Sun Feb 24, 2019 4:32 pm By the way we still miss a clay/custom override shader feature !
No, it's in the render layer settings:
Attachments
2019-02-24_17-32-53.png
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

No, it's in the render layer settings:
Woahou how i miss something like that. Thank for being faster than my thougs ;)
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PhotonGI cache

Post by B.Y.O.B. »

Racleborg wrote: Sun Feb 24, 2019 4:28 pm Still having a problem with this......

Thanks
Racleborg wrote: Sat Feb 23, 2019 10:52 am The scene (attached) crashes every time with PGI on, and any scene I create with a MIX material like this, also crashes.
I think this problem was already fixed, with the latest sources I only get

Code: Select all

PhotonGI WARNING: nothing is visible and/or cache enabled.
as warning.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: PhotonGI cache

Post by Dade »

B.Y.O.B. wrote: Sun Feb 24, 2019 4:10 pm By the way, Sharlybg, can you start the viewport render in the Nakagin scene?
Because on my computers, it crashes on both Linux and Windows.
But only this scene, and only since a few days. I think some recent change broke the RT PATH CPU engine. Final render works fine, as well as Bidir in viewport.

edit: here's a gdb backtrace:

Code: Select all

(gdb) bt
#0  0x00007fffdcd3ab00 in typeinfo for boost::exception_detail::error_info_injector<boost::uuids::entropy_error> () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#1  0x00007fffdb36285a in slg::Material::ComputeGlossiness(slg::Texture const*, slg::Texture const*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#2  0x00007fffdb52e89e in slg::Metal2Material::UpdateTextureReferences(slg::Texture const*, slg::Texture const*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#3  0x00007fffdb493f1d in slg::MaterialDefinitions::UpdateTextureReferences(slg::Texture const*, slg::Texture const*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#4  0x00007fffdb4b939b in slg::Scene::ParseTextures(luxrays::Properties const&) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#5  0x00007fffdb38044c in slg::Scene::Parse(luxrays::Properties const&) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#6  0x00007fffdb25e840 in boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void (luxcore::detail::SceneImpl::*)(luxrays::Properties const&), boost::python::default_call_policies, boost::mpl::vector3<void, luxcore::detail::SceneImpl&, luxrays::Properties const&> > >::operator()(_object*, _object*) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#7  0x00007fffdc17f8dc in boost::python::objects::function::call(_object*, _object*) const () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#8  0x00007fffdc17fc38 in boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke(boost::detail::function::function_buffer&) ()
   from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#9  0x00007fffdc188cf3 in boost::python::handle_exception_impl(boost::function0<void>) () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#10 0x00007fffdc17e549 in function_call () from /home/simon/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so
#11 0x0000000002e4f06c in PyObject_Call ()
#12 0x0000000002f123a2 in PyEval_EvalFrameEx ()
#13 0x0000000002f1607b in PyEval_EvalFrameEx ()
#14 0x0000000002f1869e in ?? ()
#15 0x0000000002f1581a in PyEval_EvalFrameEx ()
#16 0x0000000002f1869e in ?? ()
#17 0x0000000002f18773 in PyEval_EvalCodeEx ()
#18 0x0000000002e79674 in ?? ()
#19 0x0000000002e4f06c in PyObject_Call ()
#20 0x0000000001472964 in ?? ()
#21 0x00000000019a7a51 in ?? ()
#22 0x0000000001352b1f in ED_render_scene_update ()
#23 0x00000000017a179a in DAG_ids_check_recalc ()
#24 0x00000000018749e2 in BKE_scene_update_tagged ()
#25 0x000000000107ee54 in wm_event_do_notifiers ()
#26 0x0000000001078f80 in WM_main ()
#27 0x0000000001016a38 in main ()
I should have fixed this problem.
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

Nothing about the dark render ? Dade can you try nakagin scene on your side for brightness comparison ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
Post Reply