Announcement

Collapse
No announcement yet.

Writing metadata to vrimg

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Writing metadata to vrimg

    Is it somehow possible to write meta data into an vrimg file and then have it passed on to an EXR (via vrimg2exr.exe)?

    If not, I'd like to put this into the hat of wishes
    Best Regards,
    Fredrik

  • #2
    Standard camera meta-data attributes + compression, dataWindow, displayWindow, screenWindowCenter, screenWindowWidth are automatically written into *.vrimg file and they are automatically passed onto EXR file during the vrimg2exr-conversion.
    Svetlozar Draganov | Senior Manager 3D Support | contact us
    Chaos & Enscape & Cylindo are now one!

    Comment


    • #3
      Hi Svetlozar,

      With EXR, I can add custom meta data (via the "extra attributes" textbox), such as the name of the project, the date of render, version of Maya/V-Ray etc.

      What I was wondering was if there is any way add custom meta data to .vrimg files. I can't find any information on this over at spot3d.com.
      Best Regards,
      Fredrik

      Comment


      • #4
        Hello Fredrik Averpil
        Unfortunately currently this is not possible - but I will add in into our system.
        Svetlozar Draganov | Senior Manager 3D Support | contact us
        Chaos & Enscape & Cylindo are now one!

        Comment


        • #5
          That would be great, thank you!
          Best Regards,
          Fredrik

          Comment


          • #6
            Fredrik, is it also possible to write those attributes dynamically to the EXRs? Like the scene name etc.?
            EDIT: To make this clear, is it possible to query attributes and values from the maya-scene with MEL and write it to the EXR?
            Last edited by pechart; 03-06-2013, 06:07 AM.

            Comment


            • #7
              Yes, I'm doing it with Python though:

              Code:
              import maya.cmds as cmds
              cmds.setAttr("vraySettings.imgOpt_exr_attributes", "vrayversion=2.2;hello=True;name=Rod Stewart", type="string")
              Best Regards,
              Fredrik

              Comment


              • #8
                Great, thanks! Could be nice to set this stuff with post-translation python while we submit the job to the farm.
                Last edited by pechart; 03-06-2013, 08:17 AM.

                Comment

                Working...
                X