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

    MultipassBitmap Alpha Structure

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 326 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 10/03/2005 at 21:58, xxxxxxxx wrote:

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

      ---------
      I'm having difficulty retrieving the alpha component from a multipass bitmap layer in floating point color mode (RGBAf).

      When saved out the original file definitely contains Alpha data for the layer, however I'm unable to retrieve it through MultipassBitmap.

      I've tried retreiving the fourth Real in the hope that this would be the alpha from the layer data, checking for sublayers, checking for subalpha and hidden layers. Finding the internal channel. Unfortunately so far I've had no luck at all.

      The documentation says that the alpha is a floating point value too, so it can't really be retrieved through GetAlphaBitmap (especially as there's no internal channel to get).

      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 14/03/2005 at 05:49, xxxxxxxx wrote:

        Where did you find a buffer in MODE_RGBAf? I'm having trouble setting up a test environment for this. Could you post some code?

        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/03/2005 at 11:27, xxxxxxxx wrote:

          Sorry my mistake. You're right, alpha in a render is stored in a seperate layer only.

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