Batch Rendering Dialog
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/12/2007 at 14:46, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.111
Platform:
Language(s) : C++ ;---------
How do I address the batch rendering dialog within Cinema? I see the res file for it, but no other information as to how to call that menu. I'm trying to insert my own information into the edit text fields there. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/12/2007 at 21:03, xxxxxxxx wrote:
CallCommand() may help you get the menu item called - you'll need the ID.
If you can find the resource for the dialog, you might be able to set the text fields knowing their IDs.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/12/2007 at 00:49, xxxxxxxx wrote:
Still not having any success here...
CallCommand() will open the window, but from there, I'm stumped as to how to actually address that window or get any information to it or from it.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/12/2007 at 09:54, xxxxxxxx wrote:
What do you need the Batch rendering window for? It should be easy to write your own little plugin calling the according scenes with LoadFile(), then use CallCommand to start the rendering of the scene and then close the file again.
Then wait until the rendering is done (maybe you need to write another pluggy that keeps track of the rendering and notifies you once the rendering is finished) and do the same thing again.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/12/2007 at 11:15, xxxxxxxx wrote:
For the wait until the rendering is done, you could use a simple plugin to get the MSG_MULTI_RENDERNOTIFICATION message in Message(). A SceneHook plugin seems most appropo here.
For instance, I call this method from Message() when this particular message is sent to a tag plugin of mine (note the earliest version of C4D in which this possible) :
> #ifdef C4D_R85
> // IPPFigure.MsgRenderNotification - Message MSG_MULTI_RENDERNOTIFICATION
> //*---------------------------------------------------------------------------*
> Bool IPPFigure::MsgRenderNotification(BaseTag* tag, RenderNotificationData* rnd)
> //*---------------------------------------------------------------------------*
> {
> // Render Notification for Showing/Hiding BodyParts in Render
> if (!rnd) return TRUE;
> // Start Editor or External Render (set Render visibility)
> if (rnd->start || (rnd->external && (rnd->doc != GetActiveDocument())))
> {
> VisibilityRender(tag);
> MVisibilityRender(tag);
> }
> // End Editor or External Render (restore Editor visibility)
> else
> {
> VisibilityEditor(tag);
> MVisibilityEditor(tag);
> }
> return TRUE;
> }
> #endif -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/12/2007 at 15:09, xxxxxxxx wrote:
Thanks for the replies. I have a plugin that records scene states and saves that data to external text files. What I'm trying to do is automate sending those recorded scene states to the Cinema 4D batch renderer, which is why I am looking for a way to get access to its GUI. I guess, yes, I can write my own batch render utility - but since there is already a tool that does what I need as part of the core package (and that the user is already familiar with), it seems like, ideally, I should be able to find a way to utilize it.
Is there really no way to insert my own text into Cinema's batch render window?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/12/2007 at 15:32, xxxxxxxx wrote:
As there is no container accessible via the SDK (at least I don´t know such a container), I doubt you will be able to change the state. Furthermore it is a modal dialog, it is not meant for interaction.