LuxCoreRender / LuxCoreRender/BlendLuxCore

Persistent Session Data

Open
#59 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
877
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Make it possible to have a persistent render session to avoid re-exporting unchanged meshes, textures etc. to speed up rendering of subsequent frames where only a part of the scene has changed.
This could be used for repeated single-frame renders as well as animation rendering.
The unsolved problem is how to reliably track which scene elements have been changed between renders.

Technical Details

Blender does not delete the LuxCoreRenderEngine instance of a final render if scene.render.use_persistent_data (or "Persistent Images" in the Cycles UI) is enabled.

Maybe we can re-use the luxcore scene in this case and use the viewport update methods to only update changed data.
Needs investigation.

See also https://developer.blender.org/D2613


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating the LuxCoreRenderEngine lifetime when scene.render.use_persistent_data is enabled, then compare it with Blender's viewport update methods. Determine how changed scene elements can be tracked between repeated or animated renders, and consider the work complete when unchanged meshes and textures are reused while changed data is updated reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.