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 / BUG Ghost object on!!!!!!!!

Author
Message
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 17th Dec 2002 21:44
Is this a bug, or can someone come up with a cure?

The sphere is supposed to be in front of the plain and ghosted!

This is not right...
p4;gforce4;256Megram;win98

ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 17th Dec 2002 21:47
That should be;
disable object zdepth 1
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 18th Dec 2002 00:22
Can anyone get it to work?
cyrano
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location:
Posted: 18th Dec 2002 02:53
Not sure this will make a difference but this line seems off:

position object 2,object position x(2),object position y(2)+20,object position x(2)

You have two 'x' positions and no 'z' parameter. Shouldn't there be a 'z' position at the end, like this:

position object 2,object position x(2),object position y(2)+20,object position z(2) (z instead of x)

The sphere is supposed to be in front, but you only moved the plain up the y axis a little, so both objects seem to be in about the same spot from what I can tell of your code.

cyrano
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location:
Posted: 18th Dec 2002 02:59
Also, you have this line:

disable object zdepth 1

It's hiding behind a rem statement, so it will never execute until you remove the rem.

AsylumHunter
21
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: United States
Posted: 18th Dec 2002 05:02
I have mentioned this on about 5 different threads so far and still no official response. Sorry you are experience this also, but it was enough for me to stop using DBPro...oh that and the 150 other show stopper bugs. (try comparing UV scrolling speeds in DBP to those in DBv1.13. The DBP application is about 50 times slower? Why?

DBP has potential, but to actually complete anything in it is impossible - Back to DBV113 for me also. Is it any wonder these threads are so empty these days.


AsylumHunter

still falling out of my binary tree most evenings (hicup!)
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 18th Dec 2002 08:41
Cyrano;
Common man it's not heavy code
position object 2,object position x(2),object position y(2)+20,object position x(2)
SHOULD READ:
position object 2,0,20,0



WELL IF THIS IS A BUG IT SHOULD THIS IS THE MOST REPREHENSIBLE ONE OF THEM ALL...
GHOST OBJECT IS ONE OF THE LURING EFFECTS OF THE LANGUAGE!

THERE MUST BE A TRICK TO IT? OTHERWISE WHY NO COMMENT FROM THE ADVANCED USERS HERE LIKE USER OR VANB?
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 18th Dec 2002 08:48
plus the fact that I put many, many hours in a program in DB1.13 which required the use of ghost on to make thrusters work...

For those who don't realize...
If you take the rem out of the line
rem disable object zdepth 1

the disable object zdepth makes it look like as if ghost object is actually working, but in reality it doesn't reckognize going behind objects anymore...

Ghost object (without the disable object zdepth) literally does the opposite and sends the ghosted object to the back of every object no matter how close or far...

This is really maddening!
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 18th Dec 2002 10:01
I found the solution!!!!
Which I suppose is OK
because it saves the day!!!
And requires no freaking out man!!!!!
Took me all day...

Primitives created with DBpro will not ghost.
Objects created with a 3d program will ghost; IF; they have been mapped with a transparent color...

Yay for ME!!!


(I imagine it would be alot better if there was actually a thread search or email notification of reply)
BOC4J
21
Years of Service
User Offline
Joined: 31st Oct 2002
Location: United Kingdom
Posted: 18th Dec 2002 14:00
you have to make/load the object which is to be ghosted after the objects which it you are going to see behind it, otherwise they appear infront of the ghosted object

BOC4J
21
Years of Service
User Offline
Joined: 31st Oct 2002
Location: United Kingdom
Posted: 18th Dec 2002 14:00
i think that is a different bug

cyrano
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location:
Posted: 18th Dec 2002 20:02
Hey ICERGB, no need to be smart about it. If you want to put two 'x's in a xyz formated function go ahead. It just makes the code that more confusing. If you expect people to try and help you then stop biting back at them when they make the effort.

ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 19th Dec 2002 04:53
Didn't mean to sound like that...
Thanks for taking the time to try to help!

Login to post a reply

Server time is: 2024-05-02 00:49:52
Your offset time is: 2024-05-02 00:49:52