Skip to content

Saving mitsuba 3 scene #388

Answered by Speierers
sapo17 asked this question in Q&A
Nov 16, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @sapo17 ,

No unfortunately this is not what the update_scene does in load_file. It can be used to update an old Mitsuba XML file (e.g. one written for Mitsuba 0.7 or Mitsuba 2). For instance Mitsuba 2 and 3 uses snake_case convention in parameter names while Mitsuba 0.7 used CamelCase.

There is no good way to write back the updates done to a scene instance to XML. Also the scene object parameters (in params) don't map one-to-one with the XML parameters, so this will be difficult.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sapo17
Comment options

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