Using VRay Sdk to create a new material

I need to create a Random Material for Max wrapped around VRay.

Has anyone used the SDK for such a task? I mean, what is the proper direction to take on this? Should I contact Chaos to get access to the SDK or is it available somewhere not made public?

Can someone point me in the direction to create such shader? I mean, a dlo compiled in C++ or a script hooked into VRay or something. Do anyone have any idea even if it is possible to create such a material from outside of the VRay core?

Any help, Vlado?

Thanks.

Anyone? Vlado maybe?

Btw, its nice question.
I would like to see RIM - shader model besides blinn and phong. it very usefull model for advertising graphics.

Checkout your Program Files/Chaos Group/V-Ray/3dsmax 20??/ directory.
Documentation, libraries and samples…

HTH

Simon

There is probably no need to create an entire material for this, as this is quite a complicated task. Normally just a few parameters of the material will vary (e.g. diffuse color or something) - and for this, you can code a Texture instead. You can then code a MaxScript wrapper around VRayMtl if you want simplified user interface for the whole thing.

Best regards,
Vlado