Mesh Caching

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Mesh Caching

Post by Asticles »

Hi all,

About export times, would be great that there is a check that controls if the scene has changed, so only exports the changed objects. Some blender controls could be:
Export all (for every time export all geometry)
Export selected (to only update selected geometry)
Export modified (to let the program decide what geometry has changed)

Best regards.

(Split from alpha6 bugs thread. BYOB)
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Mesh Caching

Post by Asticles »

Also if 'only' material has changed, is it possible to only export material info?

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

Re: Mesh Caching

Post by B.Y.O.B. »

I have attempted to implement a mesh disk cache like you suggest in the past, see this branch: https://github.com/LuxCoreRender/BlendL ... disk_cache
As noted in the commit message there, it was slower than a re-export of the meshes.
Maybe I was doing something wrong though.
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Mesh Caching

Post by Asticles »

Have tried corona from blender and works really well, don't know what they do.

I'm getting 1 minute of export in the current scene I'm working.

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

Re: Mesh Caching

Post by B.Y.O.B. »

Asticles wrote: Sat Mar 10, 2018 8:11 pm I'm getting 1 minute of export in the current scene I'm working.
That doesn't really tell me much without some reference point. ;)
How long did your scene export without caching/on first run?

Is their Blender plugin open source?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Mesh Caching

Post by Dade »

Is it the mesh export time or the NVIDIA OpenCL compiler time ? Be sure to compare apples with apples: Corana is CPU-only so compare with PATHCPU or BIDIRCPU.
Support LuxCoreRender project with salts and bounties
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Mesh Caching

Post by Asticles »

Hmm, is it possible to make some tests with hotel scene or similar, that we can freely distribute?

Regards.
Post Reply