Notifications
Clear all
[Closed] Export complex matrix to file and get it back
Jul 05, 2014 2:53 am
I have a complex matrix
camStates #(camera, objTransform_startrecord, objTransform_finishrecord, hiddenobj_startrecord, hiddenobj_finishrecord, ren_width, ren_height, ren_priority)
where
objTransform_startrecord = for i in objects collect DataPair i i.transform
hiddenobj_startrecord = for i in objects where i.isHidden collect i
I use the matrix camStates in the script many times, so I have a btn to export it and other to import.
I love Kameleon’s XML version from here
http://forums.cgsociety.org/showthread.php?f=98&t=748348&highlight=xml+transform
Please help to write matrix data to file and get it back to the variable