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 Discussion / set alpha mapping on() for DBC v120

Author
Message
Silverman
13
Years of Service
User Offline
Joined: 18th Jan 2007
Location: France
Posted: 29th Apr 2012 16:20 Edited at: 6th May 2012 20:21
hi all,

this is a simple snippet to emulate an alpha mapping.
(visible object which is gradually becoming invisible)

You can use this effect to smooth the transition between two levels of details, for example.

@+

edit: code updated, see link:
http://forum.thegamecreators.com/?m=forum_view&t=196593&b=10

DirectX 9.0c (February 2010)/ DBClassic v1.13
Fluffy Rabbit
User Banned
Posted: 29th Apr 2012 20:48
@Silverman-

It works! The only thing left to do for this would be to allow for an image to represent the alpha map of the object.
Silverman
13
Years of Service
User Offline
Joined: 18th Jan 2007
Location: France
Posted: 30th Apr 2012 23:14
@Fluffy Rabbit

it's quite possible(using the media of my first post):



DirectX 9.0c (February 2010)/ DBClassic v1.13
Fluffy Rabbit
User Banned
Posted: 1st May 2012 01:09
@Silverman-

There you have it, then. Another successful DarkBASIC project brought to completion.

Login to post a reply

Server time is: 2020-08-05 03:12:16
Your offset time is: 2020-08-05 03:12:16