Notifications
Clear all

[Closed] VRay EXR Metadata

Hi,
I’ve been programming a while, but I’m very new to MaxScript.
How would I go about editing the attribute for VRay metadata?
This is how I did it with Maya/MEL:
setAttr vraySettings.imgOpt_exr_attributes -type “string” $extras;
http://cg.earlyworm.co.nz/vray-openexr-metadata/
However, I haven’t seen any similar attributes using MaxScript.
Thank you for any help.

7 Replies

Hello,
Check “file properties” in the Maxscript Help and you will know how to do it.

It depends on how you write the .exr file; if you go through the 3ds Max regular render output, then feranti advice will help. If you go through the V-Ray VFB, you will have to use the VRayOptionsRe render element and put the metadata string there (the format is the same as in Maya).

Best regards,
Vlado

Thank you for the replies.
I tried “File Properties”. I added text to the comments area and didn’t see anything when I used the View MetaData node in Nuke.
I’m not sure what you mean about using VRayOptionsRe. Typing that into the listener shows undefined. I thought the only way to edit VRay settings was using
vr = renderers.current.
I’ve also tried doing
show vr
but none of the properties seem to have anything to do with render elements, exr metadata, etc.

Christ Vlado how do you find the time?

Elveatles – VrayoptionsRe is a plugin render element for vray 2.x – Vlado added it as a separate download for vray initially to give us more exr options to make reading in nuke quicker and it’s now packaged with the installer for 2.4x.

So where do I find it? I just went through all the VRay folders and found nothing, and it’s not in my RE list either. I could do with this right now…

Cheers,

Dave

I could be wrong dave but I think it’s in the default install of 2.4.04 now, if not I’m on max 2012 x64 and I’m using this – http://pich.chaosgroup.com/vlado/vray_downloads/vrayoptionre2012.rar – I’m not sure if vlado compiled it for other versions.

I installed 2.40.04 yesterday, and like I said, I can’t find it anywhere. Maybe it’s not in there yet, or I just haven’t found it.

I keep jumping between 2012 and 2014, so I’ll give your 2012 link a go.

Cheers,

Dave