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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    RGBA Buffer

    SDK Help
    0
    5
    414
    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
      Helper
      last edited by

      On 25/01/2016 at 10:59, xxxxxxxx wrote:

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

      ---------
      Hey! Is it possible in VideoPostData::AllocateBuffer() to allocate an RGBA buffer? (as opposed to a seperate
      RGB and Alpha buffer).

      Thanks!

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

        On 26/01/2016 at 05:42, xxxxxxxx wrote:

        Hi Niklas,

        Do you want to create a custom RGBA buffer with Render::AllocateBufferFX() in VideoPostData::AllocateBuffers()?

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

          On 26/01/2016 at 06:32, xxxxxxxx wrote:

          Yes exactly Yannick. Is it possible? VPBUFFER_POSTEFFECT gives me only an RGB buffer and 
          VPBUFFER_POSTEFFECT_MUL gives me only a Grayscale (Alpha) buffer.

          If it is not, maybe there is some way to "associate" the two buffers so file formats that support it
          will receive it as a single RGBA layer instead?

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

            On 26/01/2016 at 07:32, xxxxxxxx wrote:

            I'll ask the developers if that's possible.

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

              On 27/01/2016 at 03:39, xxxxxxxx wrote:

              Hi Niklas,

              I'm afraid it's not possible to associate VPBUFFER_POSTEFFECT and VPBUFFER_POSTEFFECT_MUL buffers.

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