I'm trying to put together a dialog using RscPicture as an interface.
Creating the image in Photoshop, using RGB and 8 bits per channel, with an alpha channel for transparency (pure black and white only to create the shape) I then save it as a TGA using 32 bits/pixel and no compression. I then use TexView2 to save it as a paa file. (This is the result)
Called using _handle=createdialog "DRN_dialog"; the image appears only as a grey shape at 50% transparency. No pretty picture as hoped for. Using a standard paa pulled from a pbo does result in a correctly displayed image.
I'm missing something here, can someone help me out? Thanks in advance :)
Dialogs.hpp used below (standard defines);
class DRN_dialog
{
idd=-1;
movingenable=false;
class controls
{
class RscPicture_1200: RscPicture
{
idc = 1200;
text = "pda.paa";
x = 10 * GUI_GRID_W + GUI_GRID_X;
y = 5 * GUI_GRID_H + GUI_GRID_Y;
w = 21.5 * GUI_GRID_W;
h = 14 * GUI_GRID_H;
};
};
};
Question
Darce
I'm trying to put together a dialog using RscPicture as an interface.
Creating the image in Photoshop, using RGB and 8 bits per channel, with an alpha channel for transparency (pure black and white only to create the shape) I then save it as a TGA using 32 bits/pixel and no compression. I then use TexView2 to save it as a paa file. (This is the result)
Called using _handle=createdialog "DRN_dialog"; the image appears only as a grey shape at 50% transparency. No pretty picture as hoped for. Using a standard paa pulled from a pbo does result in a correctly displayed image.
I'm missing something here, can someone help me out? Thanks in advance :)
Dialogs.hpp used below (standard defines);
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now