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 / DBC - How to make black transparent in 3D objects?

Author
Message
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 2nd Feb 2006 00:52 Edited at: 2nd Feb 2006 00:53
I tried ghosting it, but it made any darkish colors slightly transparent, which is not what I want. I want it so that only a color of rgb(0,0,0) is transparent, like transparent sprites.
Here is the image:

Help would greatly be appreciated


Hippopotomonstrosesquippedaliophobia-Fear of long words

Attachments

Login to view attachments
Cybermind
Valued Member
22
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 2nd Feb 2006 01:44
SET OBJECT TRANSPARENCY object number,1

That should do it

The byte chrunchers are coming...
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 2nd Feb 2006 12:59
Thank you! I will try it this afternoon.


Hippopotomonstrosesquippedaliophobia-Fear of long words
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 2nd Feb 2006 13:56 Edited at: 2nd Feb 2006 13:56
There is no object transparency command in DBClassic..

You just put..

Set Object OBjectNumber,1,0,1

Cybermind
Valued Member
22
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 2nd Feb 2006 18:35
oh

The byte chrunchers are coming...
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 2nd Feb 2006 21:43
you can also use ghost object on objnum,1

[/center]
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 3rd Feb 2006 00:17
Quote: " you can also use ghost object on objnum,"

That is what I did, but everything was faded that was a little dark.


Quote: "You just put..

Set Object OBjectNumber,1,0,1"

Wow! That worked. Thanks Alot!

Thanks for all the help


Hippopotomonstrosesquippedaliophobia-Fear of long words

Login to post a reply

Server time is: 2025-05-23 13:02:09
Your offset time is: 2025-05-23 13:02:09