VRay material in 3ds max script

Hi everyone,
I'm new in 3ds max script. I want to define materials based on this document(https://docs.chaosgroup.com/display/VMAX/V-Ray+Illumination+Relevance+Test)
I defined some standard materials in 3ds max script, But I don't know How I can set Vray materials in 3ds max script.
Another problem is about map an HDR image on a plane for the window's view out. how can I map HDR image on the plane without effect on interior lighting? Should I map this image in 3ds max script?
I will appreciate it if you help me.

Bests, Maedeh.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DavidZaagsma's picture

show Vray Material

Hi Maedeh, the material you want to create is vraymtl()
To see the properties of this material you can type:
show (vraymtl())

Another good method to see a materials properties and class is to add it to the Compact Material Editor (eg. slot 1) and type:
show medimaterials[1]
classof medimaterials[1]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.