simple team render plugin
-
On 02/11/2015 at 00:10, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :---------
is that possible to build a render plugin calling standard c4d renderer routines, only to have different frame distribution. i want frames to be distributed between machines using odd-even frames fashion. existing team render does not have such feature. so i want my plugin to be kind of interface/wrapper/controller to have my job done. -
On 02/11/2015 at 04:15, xxxxxxxx wrote:
Hi,
welcome to the Plugin Café forums
It's not possible to change the way Team Render distributes frames to the machines.
But maybe you want to try something else. It's just an idea, I tested very roughly. Instead of a render videopost, use a simple CommandData plugin:
- Select only the machines you want to render even frames (Machine::SetGlobalSelected())
- Now, issue a render to the render queue with "Frame From" set to zero and "Frame Step" set to two.
- Start this render.
- Select the TR clients for odd frames.
- Issue another render to the render queue with "Frame From" set to one and "Frame Step" set to two.
- Start the second render.
As said before, it's just an idea, but maybe it works for you.
-
On 02/11/2015 at 09:00, xxxxxxxx wrote:
do you mean building Project by Cloning cinema4dsdk ?
or
will this guide
http://www.andrewnoske.com/wiki/Cinema_4D\_-\_my_C%2B%2B_plugins
be right way? -
On 13/11/2015 at 05:59, xxxxxxxx wrote:
i am pretty new to the subject. but i got some c++ programming skills. but as You sure know, programing is 50%, the other part is working around the system, and organizing the environment, configuring project ide settings with sdk. is there c++ the best solution, or you talking bout python maybe. i know nothing in python. since i gues c++ plugin woud be best solution. would you possibly pick the place on the net to get working starting framework for buliding this? thank you.
-
On 17/11/2015 at 08:31, xxxxxxxx wrote:
Hi,
actually you should already have a working framework
Cinema 4D (any version, even the demo) comes with the C++ SDK, which contains the cinema.framework (basically providing you with the API), project files and example plugins.In order to get started, first compile the example plugins (cinema4dsdk found in the plugins folder of your C4D installation). The Visual Studio solution and the Xcode project file are included in this directory.
Now, I'd suggest to study these examples a bit (at least the ones, that have something in common with your future plugin, in your case for example those derived from CommandData).
Then set up your new project by cloning like described in the article you linked.