DavidBrainard / RenderToolbox3

Matlab toolbox for managing graphics rendering for psychophysics
MIT License
11 stars 4 forks source link

Save Collada asset and authoring_tool with renderings #52

Closed benjamin-heasly closed 10 years ago

benjamin-heasly commented 10 years ago

The Collada spec includes a document-level asset element which describes miscellaneous data about the scene, like creation date and distance units. In particular, this includes the authoring_tool, such as "Blender 2.69.0 r60991".

RenderToolbox3 should parse out the asset info, present it to the user during batch processing, and save this info along with rendered data files.

benjamin-heasly commented 10 years ago

5fad9f3ae540c93df44391121e2e3e979ba85166 contains this change.

authoring_tool for the original Collada parent scene is displayed when entering MakeSceneFiles().

MakeSceneFiles() appends the asset element data as "authorInfo" to each renderer-native scene description. This happens after any remodeling functions have been applied, allowing remodeling functions to describe themselves using the asset element.

BatchRender() saves the authorInfo to output .mat files, along with other metadata about the scene and renderings.