View Full Version : Problem with batch rendering...
Digit 07-05-2006, 06:09 AM Help! I've searched but not found an answer to this:
I have a big problem with batch rendering. I have an environment with quite a few instanced objects but it seems these instances are being ignored by batch render. In fact its not as simple as that as a few instanced objects are rendering, but most don't.
If I simply render the current frame everything looks perfect. (The whole lot is referenced in to the scene and Im using Maya software renderer).
Anyone got any ideas what the cause could be? Why do these weird things always happen in 3D?!
Thanks in advance for any help...
|
|
isoparmB
07-05-2006, 08:03 AM
I am not absolutely sure, but I think there is an issue with referencing instanced objects. i.e., it dosen't work.
Either you un-instance your objects in the referenced scene file, or you import objects from reference in your render file. You should make an alternate file whatever approach you choose to test, and test batch render it.
Digit
07-05-2006, 04:19 PM
Ok, thanks. I'll try that. Thats annoying though as it all seems fine, just the batch render thats messed up.
Now I feel really dumb but... is there an easy to take an object and un-instance it?
Digit
07-06-2006, 04:55 AM
Ok, I am having no luck at all with this.
First, I dont understand why Batch rendering doesnt render instances in the first place - is it a bug or what?
Second, theres no way of uninstancing stuff in maya without deleting the instance and making a new copy. Thats a LOT of work in this, um, instance :) Its not funny! This is really turning into a big problem for me :(
isoparmB
07-06-2006, 06:40 AM
This looks like a job for FOR IN LOOP. TADAAAAAAAN.
In your reference scene, select all the objects you want to uninstance, then execute this script:
\\start of code
string $Objects[];
string $Object;
$Objects = `ls -sl`;
for($Object in $Objects)
{
string $newObject[];
$newObject = `duplicate -rr -renameChildren $Object`;
parent -w $newObject[0];
};
delete $Objects;
\\end of code
OR
Go to the reference editor, select your instance file there amd go to file-import objects from reference, if you want to try unreferencing your file.
Digit
07-06-2006, 03:58 PM
Thats a very handy bit of script! Thanks very much!
(Still annoyed that Maya wont render this in the first place though!)
manacrystal
07-06-2006, 10:04 PM
I've been having the same problem lately with MR batch rendering(single frame renders perfectly, batch render doesn't render some objects/the material is just black). After hours of frustration trying to render a sequence, I just set it to batch render starting at frame 2 instead of frame 1. And for some reason it worked!!
I have no idea if it'll work for you but you could always try starting a few frames later.
Good luck. I hope someone finds a good solution for this lovely little issue.
Digit
07-07-2006, 03:24 PM
No way! That worked?
Hm, now I think about it my shots all have different time ranges and so that doesnt apply to me. Ah well, Ive cleane out all the instances and it works again. Who knows why I had to do that...
CGTalk Moderation
07-07-2006, 03:24 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.