Mi Scene File..mentalray

Hello!

Is there a way of rendering a .mi file (maybe of someones elses Max) within Max. I mean open Max, load or import the .mi file and render right away like one would in the standalone version.

If you really intended to post about max then You posted this on worng forum the maya boards subcategory for mentalray is for maya use only. At least maya can do this to some extent but its a bit convoluted and cant be launched form normal preview renders (just in batch mode). To be honest have never tested to do this with max.

But there are limitations that are aimed so you can sell standalone.

Do you wish this post be moved to the right place?

Sorry,I've been working with Max and Maya so was a typo..
I meant with 'MAYA' so am on the right forum.

Yeah,so how is it possible with Maya?

Make a custom text node (an be found in the mentalray subb menu of rendering windows) and wirute a mi imoort statement in it that points to file in question and then render with BATCH render (it will not work in preview render as not to crash maya, i otherwords if you push the rendr button on the statusbar it will not show up)

Its not totally 100% functional so you will need to do a hellaofalot of work to register the max shaders properly. Also the version is different form max so ceratin features might not work out at all.

Thanks Joojaa..Am gonna try this ..in the meantime,am on a super tight deadline and I need to do a milk shader,am looking at the milk tutorial by Paolo Berto.but being new to MR,it seems confusing....

I need to do a simulation of pouring milk..the sim part is already done ,the shading bit is left and that needs to be done in MR..Any suggestions?

Hi ,I tried it...it renders out a blank frame.

mi imoort?

Well i assumed you understand how mi statements work since you asked about mi standalone. And no i am not going to teach you the syntax for mi streams (that either you know or not, buy Programming mental ray)

But yes its a typo statement is import or $include (depending on what you need, and where you do it) and i believe literal paths must be qoted i believe dont have my mi handvbook at hand theres about 1000 pages worth of manual of them.

But its actually harder than this, since you must include the max specific libraries also, and so you must edit your conf too.

Also any error on your part and it renders black, also you must use batch render it never renders form within windowed maya anything. Also the cutom text must be associated to the scene.

Cool.Thanks.Will figure the blank frame bit.
mi imoort?...I thought it were a typo,was confirming ..
I recently the book,thanks anyway!

Any suggestions on doing a quick milk shader?

QUOTE(izu @ 06/06/08, 02:44 PM) [snapback]286789[/snapback]
[b]Any suggestions on doing a quick milk shader?[/b]

Nope not much. Use sss you can get the coefficents form the original publications on sss research. Alo i think theres a tutorial on lamrug.org But thats strictly for mi streams so you need to use your brains a bit