Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Does SET IMAGE COLORKEY not work with textures?

Author
Message
Levanthus
21
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 15th Apr 2010 17:38
Does SET IMAGE COLORKEY x,x,x not work with textures on objects? when i use it the area that is meant to be transparent just shows up black and i have made sure that the transparency color and the colour on the image are the same, i tried 0,0,0 and i tried 255,0,255 but neither worked

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
NickH
16
Years of Service
User Offline
Joined: 19th May 2008
Location: Nova Prospekt, North Yorks, UK
Posted: 15th Apr 2010 18:42
Make sure the image is of the correct filetype. (See the help file) BMP images should work.
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 15th Apr 2010 20:22 Edited at: 15th Apr 2010 20:50
Post some code, and upload your image(s).

Some things to remember...

SET IMAGE COLORKEY works an all images loaded after the command runs.

Objects have transparency settings.

Here is some code to demonstrate that SET OBJECT COLORKEY works on images mapped on objects.



Levanthus
21
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 19th Apr 2010 12:29
Ah i figured out what it was, it was lack of object transparency, and i wasn't applying textures within the programming, apparently loading the model with the textures already applied doesn't work.

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.

Login to post a reply

Server time is: 2024-11-16 12:09:35
Your offset time is: 2024-11-16 12:09:35