Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    RenderDocument - Render Animation

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 176 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

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

      On 18/02/2005 at 06:18, xxxxxxxx wrote:

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

      ---------
      Well, I'm somehow stuck again.

      I've figured out how to render an image but I can't render a whola animation (or some frames).

      Even if I try and get the RenderData from the document (and set it to render 5 or 6 frames) it just saves one single image.

      I've tryed with own Render settings, created a BaseContainer called RSettings and used SetData to manually set RDATA_FRAMEFROM ect. but it just doesn't work.

      I'm pretty sure this is just a simple and stupid mistake on my side but I just can't figure it out.

      Here is the code:

      BaseDocument *doc = GetActiveDocument();
      CamImage = BaseBitmap::Alloc();
      CamImage ->Init(width, height, 32);

      RenderDocument(doc, doc->GetActiveRenderData()->GetData(), NULL, NULL, CamImage, 0, NULL);

      ShowBitmap(CamImage);

      ------

      Thanks

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        On 23/02/2005 at 01:42, xxxxxxxx wrote:

        Hm, just in case anyone cares..

        I've found a workaround (or maybe that's the way C4D handles rendering multiple frames? - I don't think so)

        I used the "BaseTime" parameters to get the frames I want and render them "by hand".

        1 Reply Last reply Reply Quote 0
        • First post
          Last post