Announcement

Collapse
No announcement yet.

Write custom metadata to EXR

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

  • Write custom metadata to EXR

    Hi,

    Is it at all possible to write metadata to EXR files when rendering these out of V-Ray for Maya?
    Best Regards,
    Fredrik

  • #2
    This is the Max forum, but yes, you can do that - click on the "Image Format Options" button; in the OpenEXR options there is a field "Extra Attributes".

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Oh, sorry. Maybe you can move the thread...

      So that's what that input box is for!
      What is the syntax like when entering data into that textbox?
      I was quickly trying to find syntax info over at spot3d but couldn't find any info on it.
      Best Regards,
      Fredrik

      Comment


      • #4
        You can use the following tag:
        fake=;user=

        Where the "Fake" command is used to import the module.
        Probably an error will appear, but it has to be ignored.
        Tashko Zashev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Originally posted by Fredrik Averpil View Post
          What is the syntax like when entering data into that textbox?
          I was quickly trying to find syntax info over at spot3d but couldn't find any info on it.
          Not sure what Tashko is talking about, but you can see more info here:
          http://www.spot3d.com/vray/help/maya...#image_options

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            I don't know if I'm doing something wrong here.. I can't fetch anything in Nuke which has been put into the extra attributes textbox.

            Click image for larger version

Name:	options.jpg
Views:	1
Size:	39.5 KB
ID:	847622Click image for larger version

Name:	nuke.jpg
Views:	1
Size:	44.0 KB
ID:	847623

            I'm using a pretty recent nightly of V-Ray for Maya 2012 64-bit and Nuke 7.0v6.
            Best Regards,
            Fredrik

            Comment


            • #7
              Originally posted by Fredrik Averpil View Post
              I don't know if I'm doing something wrong here.. I can't fetch anything in Nuke which has been put into the extra attributes textbox.

              [ATTACH=CONFIG]14404[/ATTACH][ATTACH=CONFIG]14405[/ATTACH]

              I'm using a pretty recent nightly of V-Ray for Maya 2012 64-bit and Nuke 7.0v6.
              I think you have to write :
              vrayversion=2.2;comment=hello

              not :
              vrayversion=2.2,comment=hello
              www.deex.info

              Comment


              • #8
                Ahhh. It works (with semicolon). Great!

                How do I set this via MEL or Python?
                Best Regards,
                Fredrik

                Comment


                • #9
                  I'm answering myself on that one:

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

                  Comment


                  • #10
                    Good to know that it's working

                    Best regards,
                    Vlado
                    I only act like I know everything, Rogers.

                    Comment

                    Working...
                    X