Anyone know anything about doing this?
Announcement
Collapse
No announcement yet.
looking for any information regarding porting MR shaders to VR
Collapse
X
-
I would suggest that you start from simple stuff in VRay and work from there.
As MentalRay use C and VRay both uses C++, so in many case it's just difference for setting up entry point and arguments(which vray have plenty examples), and how you map ray context object and following calls from MR to VRay.
( I just checked and MentalRay have also C++ extension, so I don't know if your shader source in C or C++ )
For mental ray you should check this page:
http://docs.autodesk.com/MENTALRAY/2.../chapter3.html
Pay attention to State Variables(where you need to know what your shader did to the ray context and XXXXXX Shaders sections for simple examples.
And for VRay you have to check the examples, which usually requires a material and a BRDF(or multiple).
You can start with samples\vray_plugins\materials\vray_mtldiffuse this example and see if you can convert calls from MR to VRay.
I suggest that you chop off codes from "// from RTMtlInterface" to "// end from RTMtlInterface" from the example, because that section would seriously mess your brain if you are new to writing VRay shaders. :P
That would be all for now, good luck.
Comment
-
Originally posted by jbbarnette View PostIt is an animated texture node that outputs one channel that is RGB and one that is scalar.
Best regards,
VladoI only act like I know everything, Rogers.
Comment
Comment