Adding multiple cameras from a single file to the render queue
-
Hi @beezle,
yes, I am on R23.110. I did test it on Windows and I just reran successfully the script for good measure. Regarding point three in my previous posting, I meant that you should print out the camera objects and file paths the script does generate for you and check if they "add up". So when you say that the files have the correct cameras activated, but the render queue manager does not, that is rather puzzling:
- Just to understand this correctly, the renders go through for you, right? You get the little green traffic light signals in the render queue, not the red ones, indicating an error?
- Have your tried clearing the render queue and then adding the files manually to see if the manger still shows the wrong camera?
- Since you did use my file, the render settings and the scene objects can be eliminated as possible causes, but I still would recommend removing all plugins to test if they are the reason for your problems.
Cheers,
Ferdinand -
@zipit
- Yeah, the renders all go through. The "R" column is all green.
- Manually adding the cameras from the original file renders the corrects cameras. So does adding the cameras from the documents your script created. But interestingly, when I opened those files, and found the right cameras selected in each one, I added them to the render queue, and it queued up the wrong camera. It wasn't until I changed the active camera to a different one, and then reselected the correct camera that it queued up the right camera when I manually added it with the Render Queue's "Add Current Project" button.
- I haven't installed any plugins in this iteration of c4d.
-
Hi @beezle,
I was able to reproduce your problem with the file you did sent us. The problem seems indeed to be connected to the fact if the document has a user chosen camera or just the editor camera. This behavior is most likely a bug - I am not sure though yet what conditions do make it appear and what not, as I was also now able to reproduce it with my file. I will report back when we have any further news.
Cheers,
Ferdinand -
@zipit Thanks for looking into it!
-
Hi @beezle,
just as a quick update, this issue has not been forgotten, but is still under inspection.
Cheers,
Ferdinand -
@zipit Thanks for the update
-
Hi @beezle,
so I heard back from the devs now and:
- This is a bug unrelated to Python, as I was able to reproduce the faulty behavior just in Cinema 4D.
- The bug has been fixed and the fix will be published with one of the next service updates of R23 (I cannot guarantee though that it will be the upcoming update).
- For now there is not much to do for you, since the bug is related to Cinema's take system and there is not much you can reasonably do to prevent it from happening.
So the only thing for you to do at the moment is unfortunately to wait for the update. You could technically try use
RenderDocument
or theNetRenderService
to basically create your own render queue, but that would be of course a lot of work and also outside of the scope of the solutions we can provide here for you; but we will be happy to answer any questions you might have when you need and immediate solution and choose to take that route of implementing your own render queue functionalities.Cheers,
Ferdinand -
@zipit
That's quite alright. I still have the workaround of manually unsetting the active camera for now, so I don't have a problem waiting for the update. Thanks very much for looking into it. -
Sorry to resurrect this old thread but this workflow works amazing for our studio. My only question: Can you run this script without saving a multiple iterations of the source .c4d file to the OS? Or, is it possible to delete the source .c4d file iterations upon completion?
The goal is to run multiple render jobs from one file without making a mess of our OS file directory. Thank you for any help.
-
@gsmetzer said in Adding multiple cameras from a single file to the render queue:
My only question: Can you run this script without saving a multiple iterations of the source .c4d file to the OS?
Sadly, this is not possible, you are forced to create a c4d file each time. However this is a feature we will tackle in the future, but I can't say when neither give any guarantee.
Or, is it possible to delete the source .c4d file iterations upon completion?
You can iterate all elements, call GetElementStatus and check for its finish state.
If you need help to achieve that please open a new topic.Cheers,
Maxime. -