-
Hello, sorry if a similar question is already answered, but I could not find a similar topic anywhere. So in the mitsuba 3 documentation the method So, really naively I am trying the following to see whether the mitsuba updates scene to a newer version and consequently the updates written back to disk:
Unfortunately the updated scene is not written back to disk. Am I missing something, or that is not the use case for Is there a way to export a modified mitsuba scene (e.g. after optimization finished)? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sapo17 , No unfortunately this is not what the There is no good way to write back the updates done to a scene instance to XML. Also the scene object parameters (in |
Beta Was this translation helpful? Give feedback.
Hi @sapo17 ,
No unfortunately this is not what the
update_scene
does inload_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 usessnake_case
convention in parameter names while Mitsuba 0.7 usedCamelCase
.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.