Renderdocument renders whole animation



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

    On 02/09/2005 at 02:02, xxxxxxxx wrote:

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

    ---------
    If I don't set

    rdata.SetLong(RDATA_FRAMESEQUENCE, 1); // actual frame only
    and update the rendering sequence step by step with:

    BaseTime bt = BaseTime(starttime + newOffset);
       m_dlg->m_doc->SetTime(bt);
       m_dlg->m_doc->AnimateDocument(this->Get(), TRUE, TRUE);
       EventAdd(EVENT_FORCEREDRAW);

    the RenderDocument(...) starts rendering the whole
    animation, as given in the rendersettings (i.e. frames 0-100). This is obvious by the time, it takes (2times with 2 frames, 10times with 10 frames and so on).

    But the Renderdocument can only output single BaseBitmaps, while rendering all 100 frames.
    In the end it puts out the last rendered image.

    I'm running the RenderDocument in a Thread.
    Is there a special event that occurs when RenderDocument has finished the next frame?
    Or am I totally wrong-going???


Log in to reply