#6 transparancy option in fb-png, ...

Major Effort
closed-later
Sean Morrison
2
2007-12-17
2005-03-30
lieven
No

Can the background used to create a picture bump be set
to transparant. This would potentially make the
creation of documents in which renders are used
extremely attractive.

Discussion

  • Lee Butler
    Lee Butler
    2006-02-07

    • priority: 5 --> 4
     
  • Sean Morrison
    Sean Morrison
    2007-12-17

    Logged In: YES
    user_id=785737
    Originator: NO

    While it would be desirable to have full alpha channel support in the framebuffers so that we could readily keep track of transparency, this simply isn't worth the effort right now given other priorities. You can render to a framebuffer as it is and set the background color to some unique value (default is 0/0/1), making it pretty simple to post-process the image with your favorite image editor to remove the background from the image. Several of the BRL-CAD tools rely on the use of a special user-specified background-color for image processing in the manner you suggest even.

    The mod to libfb, however, to support a proper additional alpha channel would be more work than I think we're currently willing/capable of investing in this. Thank you for the submission, though, and we'll keep note of the feature request in our TODO file.

    Cheers!
    Sean

     
  • Sean Morrison
    Sean Morrison
    2007-12-17

    • priority: 4 --> 2
    • assigned_to: nobody --> brlcad
    • status: open --> closed-later