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 / ghost object not working or is it me ?

Author
Message
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 1st Sep 2003 22:22
I`m trying to make a series of cubes, all of which should be semi-transparent, here is a snipet of my code..



I have been playing about with the ghost settings, and I have also tried to use the set object transparency command, but I either get no objects displayed, all objects solid white, or it looks as if the objects are inside out..

I know it sounds like my GFX card cant handle it, but I have ghosted objects many times before, in DB classic, so I know the card ( creative Geforce 256 pro ) can handel ghosting..



Any suggestions ??

TIA,
simon
Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 1st Sep 2003 23:42
Try applying a texture to the object first. It might be that ghosting the object without a texture makes it appear invisible.

Insiiiiiiiiiiiiiiiiiiiiiiiide!
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 1st Sep 2003 23:55
set object transparent o,1 is needed for ghosted objects sometimes otherwise they won't draw what's behind them properly.

Do you get the same problem with set alpha mapping on?

Theres no place like 127.0.0.1
There are 10 people in this world, those who understand binary and those who don't
Bus station = where bus stops. Train station = where train stops. Workstation = ?
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 2nd Sep 2003 23:35
ok, here is all of my code, so far, - all it does at the moment it make a grid, like a 3d matrix, and I want it to place a semi transparent cube, within each loaction in the grid, but all I get is the objects being white, no matter what colour I set, even with the ghosting / transparency rem`ed out
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 3rd Sep 2003 00:32
fallout, you were right...


thank very much!!!!

although, it worked for my code, to texture the object, I tried to write a basic snippet ( make object, position object, color object, ghost object ) and it ghosted fine, but for some reason it wont in the code I have posted, unless I texture.

strange, but thanks again

Login to post a reply

Server time is: 2026-07-23 15:49:42
Your offset time is: 2026-07-23 15:49:42