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 / Patch 4 bug perhaps.

Author
Message
Mnemonix
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 1st Apr 2003 17:46
I was creating a map editor in dbpro with patch 4.

I made a plain that was to be used to highlight other objects. But it was the same color as them all. I dont know if anybody else has suffered from this same complaint but

Color object 1,rgb(),rgb() etc. does not work. It works on other primitives, just no the plain. I have not checked to see if this works or not in DBC.
Im addicted to Proplus.
Current Project: Eternal Destiny by Halbros Productions
http://www.halbrosproductions.netfirms.com
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Apr 2003 17:57
You are aware that plains only have colour/texture data on one face, yes? I.e. I think you're looking at the wrong side of your plain.

Try this, works for me:



Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Mnemonix
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 1st Apr 2003 18:31
well i used this code just after i had created the plain.




Would it work if i rotated it by -90 degrees instead of 90 degrees. If so thnx for ur help.

Im addicted to Proplus.
Current Project: Eternal Destiny by Halbros Productions
http://www.halbrosproductions.netfirms.com
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Apr 2003 18:33 Edited at: 1st Apr 2003 18:34
yrotate it by 180, not x - x makes it spin (like the wheel of a car).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Mnemonix
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 1st Apr 2003 19:45
No, i wanted the plain to be flat. Kind of like a floor tile. Not facing the camera. but when i rotated it it must have appeared upside down

Im addicted to Proplus.
Current Project: Eternal Destiny by Halbros Productions
http://www.halbrosproductions.netfirms.com
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Apr 2003 19:56
Ah right ok, well easier to xrotate by 270 then.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Mnemonix
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 1st Apr 2003 23:23
Ah i guess so. I suppose it doesnt matter really. Anyway thanks for your time. You have shed light on my dark mind.

Im addicted to Proplus.
Current Project: Eternal Destiny by Halbros Productions
http://www.halbrosproductions.netfirms.com

Login to post a reply

Server time is: 2026-07-23 00:44:59
Your offset time is: 2026-07-23 00:44:59