Hi - I'm using Maya to create stimuli for a psychology project.
I have written a procedural modeling script that churns out random objects.
Here is my question: I need about 200 of these objects, and would just as soon not have to click render that many times. Is there a way to add a render command to the end of my script and loop it? I'd love to be able to set things up, run my script, and come back in the morning and find my stimuli rendered and ready to go. I've tried to use the BatchRender; mel command, but that only works once - when I try to run it in a loop, it gets backed up and throws up warnings about quitting my current render. Is there a way to tell maya via mel to wait for a render to finish before continuing on a with a script or something like that?
BTW, I am insanely new to MEL, so use small words!
Thanks -
P.S. The way I have things set up now, I've set it up to delete one object and build another, and I've been trying to insert my render command in between construction of one obj and its deletion.
I think there is, I'm not a huge MEL user, so I don't know the specifics.
What I would suggest is probably easier. Do your creation and deletion on sequential frames. Create one object on frame one, create another object on frame two, and either move object one out of the render area or key its visibility, not too hard. Then you can batch render your 200 frame sequence easily.
You may not post new threads |
You may not post replies |
You may not post attachments |
You may not edit your posts |
BB code is On |
Smilies are On |
[IMG] code is On |
HTML code is Off