Jump to content

Transparent Alpha Doesn't Show


Recommended Posts

Ok, so, I have two images I would like to share:

The first one is the original, unedited file. You may need Photoshop or some other program to see the actual pre-render. It appears to be the entire texture for a Chimera. https://www.mediafire.com/file/3853sozesw7iah9/Chimera_V00_t00_sp.tga

However, the second image is an "alpha-restored" copy, with the Alpha Channel put to Full Opacity. As you can see... it is "destroyed". 
https://www.mediafire.com/file/sx44d0dfv2wum3o/Chimera_V00_t00_ori.tga

It appears that paint.net does not "recognize" Full Transparent pixels, and thus, leaves it blank.

Here's an image of the Chimera, taken from 3dsmaxChimera_Example.JPG.0cfe9dbb4736daa6366fbba6c35f358f.JPG

Does paint.net in any way support Fully Transparent pixels?

 

EDIT #2: Okay, so, from what I've tinkered with, I found a transparency mapper plugin from the forums and already had it in paint.net.

But I'm trying to make a black and white image for transparency purposes for 3dsmax.

 

Image #1: Wings Regular Layer http://www.mediafire.com/file/x73a4l4avm4y61r/Chimera_V00_t01_ori.tga

Image #2: Black and White Opacity Mask http://www.mediafire.com/file/qz1xp3loj5h0q0n/Chimera_V00_t01_ori_op.tga

Using TR's Alpha Mapper shows ALL of the image, including Transparent pixels.

This makes it all appear black, not transparent.

Image #3: TR's Alpha Mapper of Chimaerahttp://www.mediafire.com/file/6h9497dxrvundfw/Chimera_V00_t00_TR.tga

Simply removing the black parts with the magic wand wont work, as segments directly adjacent to the black segments must be semitransparent. Also, I have no idea what parts are actually transparent, so that option wouldn't work anyway.

EDIT #3: It's apparently a DXTC3 (S3) Texture Compression. Perhaps this info would help.

 

Edited by gondracorn
Adding more details
Link to comment
Share on other sites

All the color (RBG) information in your image is still there, so you just need to adjust the opacity for the entire image. Here's a script to do it:

Spoiler

void Render(Surface dst, Surface src, Rectangle rect)
{
    ColorBgra CurrentPixel;
    for (int y = rect.Top; y < rect.Bottom; y++)
    {
        if (IsCancelRequested) return;
        for (int x = rect.Left; x < rect.Right; x++)
        {
            CurrentPixel = src[x,y];
            CurrentPixel.A = byte.MaxValue;
            dst[x,y] = CurrentPixel;
        }
    }
}

 

 

Some instructions, if you need them:

https://forums.getpaint.net/topic/111233-codelab-for-average-users-a-laymans-guide/

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...