Bitmap Alpha Pasting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've found some threads on the Internet discussing this issue, but I haven't actually solved it. I have a script that pastes a bunch of bitmaps as pieces onto another bitmap. The pastebitmap() function does not seem to keep the alpha channel of the pasted bitmaps regardless of the parameters I've passed. Most suggestions have been to use getPixels() and setPixels(). When I rewrote my code to use these instead, the same problem arises.
Here is the kind of scenario I'm trying to run: render 4 bitmaps (that result with alpha channels that are correct) then paste the 4 bitmaps as tiled pieces of a larger bitmap. That larger bitmap must have all the alphas for the original pieces.
I've read all the docs and read multiple threads across the net but no working examples.
Shawn Olson
Developer of Wall Worm
3ds Max plugins and Scripts
3ds Max 4/Gmax - 3ds Max 2020
Mudbox 2009-2019
Windows 10 x64
i7 8700K
64GB RAM
Geforce 1080ti