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

    RenderData, VideoPost

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 237 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 31/07/2011 at 10:59, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R12 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi,
      I'm quite a newbi in C.O.F.F.E.E. programming, so please bare with me.
      Currently I'm trying to modify render settings via C.O.F.F.E.E.
      With the help of forum search, it was a breeze to get a hand on current active RenderData and modify it's basic settings. I also found a way to walk through the VideoPosts (thanks to ScottA). Now, I'd like to add a new VideoPost (like e.g. Global Illumination) to current RenderData. Perhaps I should stress, I don't want to create a VideoPost of my own (which, if I understood another poster correctly, is not possible with C.O.F.F.E.E.).
      With ScottA's code I got this far:
        var rd = doc->GetFirstRenderData();
        var post = rd->GetFirstVideoPost();
        while (post != NULL) {
          if(post->GetType() == VPglobalillumination) {
            println("VP GI");
          }
          post = post->GetNext();
        }

      Searching all the headers within the resource directory, I also tried some of the following, but still I'm not able to get a hold on a new BaseVideoPost instance:
        var vp = new(BaseVideoPost);
      or
        var vp = VpAlloc(VPglobalillumination);

      Anybody any hint, where to search for information on this?

      Thanks in advance,
      Andreas

      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 31/07/2011 at 11:23, xxxxxxxx wrote:

        Sorry, it's not possible to allocate video posts in COFFEE.

        cheers,
        Matthias

        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 31/07/2011 at 11:29, xxxxxxxx wrote:

          Thanks for the quick reply.
          Obviously I'll have to switch over to C++ then...

          Have a nice vacation,
          Andreas

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