external renderer



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/10/2006 at 02:21, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.6 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hello,

    A newbie question here: I'm developing a plugin to connect Cinema4D with a external renderer, which works as a standalone application, so you just have to export the C4D scene to the external app file format and invoke it.

    My question is:
    Is it possible to treat the plugin as a "renderer" so the scene flushing and the external app invocation is done when you hit 'render' from cinema?

    Or the only way to do this is creating an exporter and calling the rendering application manually?

    I hope anybody can give me a clue, thanks!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/10/2006 at 03:20, xxxxxxxx wrote:

    void SkipRenderProcess(void) ;)

    Then use the volumedata and render instance for "your" renderer.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/10/2006 at 06:15, xxxxxxxx wrote:

    Thanks, this is a starting point!

    So according to that I should write a plugin which skips the render process with that function call but, in that case, where can I obtain the "render" instance from? a VideoPost plugin?

    regards



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/10/2006 at 06:24, xxxxxxxx wrote:

    Yes, I´d say a Videopost plugin is the best bet. Simply call the SkipRenderProcess before rendering starts and use the VolumeData GetRenderInstance() function to retrive...the render instance. :)

    But that´s only a guess. I haven´t tried it myself.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/10/2006 at 01:32, xxxxxxxx wrote:

    Thanks a lot for your advice 3D Designer, i'll investigate and will try to post the results on here so we all can learn :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/10/2006 at 02:53, xxxxxxxx wrote:

    would be glad to see any results. :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2006 at 00:56, xxxxxxxx wrote:

    Just writting a couple of lines to confirm you the VP method works ;) just have to implement the VideoPostData::Execute method. Furthermore, with the volume data instance i got direct access to the scene data and some additional information (like the smoothed normals)!

    thanks!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/10/2006 at 03:35, xxxxxxxx wrote:

    Hey Joesfer,

    glad to hear it all works fine. Keep me informed. I´d be highly interested in that topic. :)


Log in to reply