BlendLuxCore Particles support

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

Re: BlendLuxCore Particles support

Post by B.Y.O.B. » Sat Jan 13, 2018 10:40 pm

I did some more work on particle/emitter visibility and updates during viewport render.
I think we can merge the branch into master.

There is still one bug during viewport render: when the number of particles is lowered, they are not deleted from the luxcore_scene.
However I don't think it's worth to fix this currently, it would require us to keep track of every particle in python which might slow things down again (and consumes memory).
And since a simple restart of the viewport render fixes it, I'd leave it like it is for now.
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Supporting Users
Posts: 685
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: BlendLuxCore Particles support

Post by Sharlybg » Sun Jan 14, 2018 9:50 am

However I don't think it's worth to fix this currently, it would require us to keep track of every particle in python which might slow things down again (and consumes memory). 
And since a simple restart of the viewport render fixes it, I'd leave it like it is for now.
So can you make the viewport render restart automatic when particles setting require it until the fix.this way we do not have to update it manually by switching between shading mod ?
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1464
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Particles support

Post by B.Y.O.B. » Sun Jan 14, 2018 10:00 am

To do that I would need the same info as for the fix ("particle x vanished"). And if I had that info, I could just fix it.
Support LuxCoreRender project with salts and bounties

Post Reply