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.

DarkBASIC Professional Discussion / make my texturized plane object getting invisible!

Author
Message
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 18th Feb 2013 13:46
Hi,
I made a little code to make a plain object as a tree.

It working good and the tree image has correctly the black color as transparent.
Here the code (use the attached image as media)



Ok so you can see that the tree working good but I would to add a transparent effect to make my tree fading to total invisibility.

So I set correctly the object and I using FADE OBJECT command (inside a timer loop) but nothing..

Can you help me to obtain a gradual transparency (from total visible to total invisible) for the plain object and his tree texture too? Thanks!
WLGfx
18
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 18th Feb 2013 14:30
@Alduce - I think the command you might be looking for is "SET ALPHA MAPPING ON object, percent"

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 18th Feb 2013 14:47
Quote: "@Alduce - I think the command you might be looking for is "SET ALPHA MAPPING ON object, percent""


Thank you so mutch WLGfx! working fine now

Login to post a reply

Server time is: 2026-07-07 09:04:47
Your offset time is: 2026-07-07 09:04:47