Skip to content
Discussion options

You must be logged in to vote

Hi @georgy95

Currently, the only modifications that can be applied to an instantiated scene are updates to certain plugin parameters, as described in the tutorial.

The SceneParameters.keep() method is practically syntactic sugar to programmatically identify certain parameters in your scene. It indeed, is not meant to delete objects.

The general recommendation is to instantiate objects (materials, integrators, geometry, ...) separately and only tie them together into a scene when necessary, if you want to avoid reloading a scene from scratch on every "major" update. By "major" update I mean:

  • Adding/removing plugins
  • Chaning the type of an existing plugin
  • Modifying some plugin parameter tha…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@georgy95
Comment options

@njroussel
Comment options

@georgy95
Comment options

Answer selected by georgy95
Comment options

You must be logged in to vote
4 replies
@njroussel
Comment options

@gioarma
Comment options

@njroussel
Comment options

@georgy95
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants