eljofa
10-02-2003, 03:29 AM
ok!
so i guess i have to put this up for those of us who want
to make of renderman our main pipeline driver with maya :)
so here is the info on how to render hair from shave and haircut
with mtor in renderman
my thanks to rdavis for helping out so much
on figuring out how to make renderman render the
hair generated by shave and haircut by joe alter
first
1) generate your hair in maya
2) once you have hair in your surface
2b) write this in the script editor
shaveWriteRib("c:\\file.1.rib","1");
explain: shaveWriteRib is the mel that will do the conversion
in the parenthesis are both the filename + its location, and the frame number
so it is like this
shaveWriteRib("c:\\filename.rib","frame#");
**there is no mistake on the 2 slahes, thats how it has to be
for shave to specify the path. Now!!! if you are puting the ribs into
a folder you would do this
shaveWriteRib("c:\\folder\folder\file.1.rib","1");
you only need the 2 slashes at the beginning of the sentence :)
3) once rib is done
3b) create a RIBbox in mtor with slim
and on the ribbox put the following line
ReadArchive "c:/file.1.rib"
when you click on the edit button of the ribbox you will get a
text editor window. (remember, once you put the line
ReadArchive "c:/file.1.rib"
dont close the editor window, without saving the document,
beware it will not prompt you to enter a filename when you press
control s, or do file--->save;
what it will do is just save that line on the ribbox, so that way when you open hit the edit button you will see your line there.
back to explaining the procedure
ReadArchive "c:/file.1.rib"
of course ReadArchive "c:/filename.frame_number.rib"
in the frame number if you have many frames rendering as an animation
or something like that
you can put
ReadArchive "c:/filename.$f.rib"
that will take the ribs on a frame by frame basis as the $f is number
it will also call that number for that frame.
so your file has to be called
ReadArchive "c:/filename.1.rib"
ReadArchive "c:/filename.2.rib"
ReadArchive "c:/filename.3.rib"
etc...
ReadArchive "c:/filename.10.rib"
ReadArchive "c:/filename.20.rib"
etc...
pretty much without padding, Now!! if you like to have padding
just use
ReadArchive "c:/filename.$f4.rib"
4) attach the ribbox to your surface
4b) PUT LIGHTS IN YOUR SCENE :)
5) render with prman
6) hair!!! :)
very nice
if something you dont understand feel free
to email at eljofa@yahoo.com
or my msn name is eljofa1984@msn.com
you can chat with me there
or eljofa84 for aol instantmessenger
hope you enjoy
and thank rdavis for helping me figure it out
cheers
eljofa
so i guess i have to put this up for those of us who want
to make of renderman our main pipeline driver with maya :)
so here is the info on how to render hair from shave and haircut
with mtor in renderman
my thanks to rdavis for helping out so much
on figuring out how to make renderman render the
hair generated by shave and haircut by joe alter
first
1) generate your hair in maya
2) once you have hair in your surface
2b) write this in the script editor
shaveWriteRib("c:\\file.1.rib","1");
explain: shaveWriteRib is the mel that will do the conversion
in the parenthesis are both the filename + its location, and the frame number
so it is like this
shaveWriteRib("c:\\filename.rib","frame#");
**there is no mistake on the 2 slahes, thats how it has to be
for shave to specify the path. Now!!! if you are puting the ribs into
a folder you would do this
shaveWriteRib("c:\\folder\folder\file.1.rib","1");
you only need the 2 slashes at the beginning of the sentence :)
3) once rib is done
3b) create a RIBbox in mtor with slim
and on the ribbox put the following line
ReadArchive "c:/file.1.rib"
when you click on the edit button of the ribbox you will get a
text editor window. (remember, once you put the line
ReadArchive "c:/file.1.rib"
dont close the editor window, without saving the document,
beware it will not prompt you to enter a filename when you press
control s, or do file--->save;
what it will do is just save that line on the ribbox, so that way when you open hit the edit button you will see your line there.
back to explaining the procedure
ReadArchive "c:/file.1.rib"
of course ReadArchive "c:/filename.frame_number.rib"
in the frame number if you have many frames rendering as an animation
or something like that
you can put
ReadArchive "c:/filename.$f.rib"
that will take the ribs on a frame by frame basis as the $f is number
it will also call that number for that frame.
so your file has to be called
ReadArchive "c:/filename.1.rib"
ReadArchive "c:/filename.2.rib"
ReadArchive "c:/filename.3.rib"
etc...
ReadArchive "c:/filename.10.rib"
ReadArchive "c:/filename.20.rib"
etc...
pretty much without padding, Now!! if you like to have padding
just use
ReadArchive "c:/filename.$f4.rib"
4) attach the ribbox to your surface
4b) PUT LIGHTS IN YOUR SCENE :)
5) render with prman
6) hair!!! :)
very nice
if something you dont understand feel free
to email at eljofa@yahoo.com
or my msn name is eljofa1984@msn.com
you can chat with me there
or eljofa84 for aol instantmessenger
hope you enjoy
and thank rdavis for helping me figure it out
cheers
eljofa
