[Bf-python] Modified RenderEngine API Proposal

Brecht Van Lommel brechtvanlommel at pandora.be
Fri May 13 10:48:41 CEST 2011


Hi,

On Thu, May 12, 2011 at 3:13 PM, Doug Hammond
<doug.hammond at luxrender.net> wrote:
>
> A further comment about the general approach here:
> By using these callbacks, is there going to be a provision for updating an existing running rendering process with changed data?
> For example, with the viewport "rendered" mode, it would seem rather inefficient to have to re-export the entire scene if just one object has changed (either in transform, mesh edit or material assignment, etc) - will there be a mechanism available to only update that single object and continue the render while retaining all the other data in memory?
> I'm not sure if you've already implied this with the *_update() methods - is that what you're aiming for ?

The way I have it working now with Cycles is that datablocks are
tagged as being changed, and then in the update() callback you can use
that info. But it's a bit of a hack and requires more work, so will
make a proposal for that separately.

Brecht.



More information about the Bf-python mailing list