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.

Newcomers DBPro Corner / using fog makes nearly everything go dark

Author
Message
JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 22nd Sep 2006 22:29 Edited at: 22nd Sep 2006 22:30
I've tried alot of code and searches here at the forum, but I havn't gotten anywhere with the fix on this. Using fog makes everthing that has the for effect applied to go black.





_abovewater:
fog on
FOG COLOR 0, 128, 256
FOG DISTANCE 10000
SET AMBIENT LIGHT 100
RETURN


has anyone had this problem before?

THANKS again guys,

JABBER

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 22nd Sep 2006 23:45
Try increasing the fog distance, if that doesn't work, I don't know.

JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 23rd Sep 2006 16:17
I've tried a range from 1 to 1,000,000 and it won't even look different.
I thought it might be a setting somewhere in the code that doesn't seem to have anything todo with the fog,

THANKS DAEMON

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 23rd Sep 2006 16:42
Quote: "This command will activate the effect of fogging, if the current display card supports it."


According to the help file, the fog on command depends on if your graphics card supports it, so it could be that your card just doesn't support it

JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 23rd Sep 2006 19:01 Edited at: 23rd Sep 2006 19:02
I tested this with a little program with one camera and a matix as a ground model then added fog, everything work great, I'm just trying to find what changed in this new project which is the longest program I've ever written . I'm at 609 lines of code now, for my skill level that's huge!

here the project---->


Thanks for ya time guys, and PLZ keep the ideas coming. 10,000 heads is better than one, and if the one head is mine it's like 1/4 a head LOL,

JABBER

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 23rd Sep 2006 19:38
After Upgrade 6.0 I remember there was a fog bug related to the presence of particles in the code ( it would make fog go black whatever the fog color settings were, even if particles weren't used at runtime ).
Try remming the particles code out or even remove it all the way.
Not sure if this bug was fixed.
Cheers
Scorpyo
JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 23rd Sep 2006 19:40
Thanks Scorpyo, I'll give it a shot, alot of particles to REM LOL


JABBERWOCKY

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 24th Sep 2006 00:29
Bug report that explains the problem;

http://forum.thegamecreators.com/?m=forum_view&t=79939&b=15

Boo!
JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 24th Sep 2006 03:25
Thanks Spooky
Looks like I'll have to choose between particles and fog till the bug is fixed

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975

Login to post a reply

Server time is: 2024-11-27 05:42:48
Your offset time is: 2024-11-27 05:42:48