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
    • Login

    AllocateBuffer from Message()

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 207 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 16/06/2011 at 11:13, xxxxxxxx wrote:

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

      ---------
      Hi,

      I am trying to allocate a depth buffer when the MSG_MULTI_RENDERNOTIFICATION message is sent to my object:

      RenderNotificationData* rnd = (RenderNotificationData* )t_data;  
      if(rnd->external && rnd->start)  
        if(!rnd->render->AllocateBuffer(VPBUFFER_DEPTH,0,8,TRUE))  
        GePrint("not Allocated");  
       
      

      However, I don't get the according channel shown in the Picture viewer (AllocateBuffer returns TRUE btw). What am I doing wrong here or am I expecting the wrong thing?

      Thanks in advance

      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 17/06/2011 at 03:01, xxxxxxxx wrote:

        It seems that allocation of multipass buffers is only possible in a videopost. I will ask the developers to make sure.

        cheers,
        Matthias

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