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.

Author
Message
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 1st Aug 2003 15:16
I have got a GF5200 graphics card, and I cant seem to get any
Set Gamma commands to work in DB
Does anyone know if this is a problem with the card?
Or some knowen bug in DB?

Also, does anyone know another way to change the screens colouring if the card dosnt support gamma changing?
(which seems weird seeing how new the card is)
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Aug 2003 15:17
Are you using fullscreen-exclusive mode, or are you in a windowed mode?

You can only change screen gamma values in exclusive mode.
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 3rd Aug 2003 14:19
I was in full screen, yes

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Aug 2003 14:25
This code works for me:



Can you try it out?
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 3rd Aug 2003 14:55
Nope, I see:
white
(hit key)
white again
(hit key)
Grey



"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 3rd Aug 2003 15:01 Edited at: 3rd Aug 2003 15:03
wait, I got it working now..when I turned the gamma settings to defult on my graphic card it worked
Must be constantly overridding it or something..

Thanks anyway

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
Shock
AGK Developer
23
Years of Service
User Offline
Joined: 24th Oct 2002
Location: United Kingdom
Posted: 3rd Aug 2003 15:11
i dont like changing gamma settings in games because there are alot of cards that have problems with it.

even nVidia cards have problems (where the changing of gamma levels is very slow). Unless ofcourse this was somehow fixed with DBP and the latest nVidia drivers?

Sticking feathers up your butt doesn't make you a chicken.
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 3rd Aug 2003 15:15
well, Im forced too really, unless anyone knows an alternative way of achiveing the same effect?

In this case i am using it to make everything go a bit blue-y when you go underwater.
Im using a matrix and I cant easily texture the underwater bits different (its a random landscape for one)

Maybe theres something you can do with screen memory to manualy do a gamma altering effect....but thats beyond my skills.

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Aug 2003 15:17 Edited at: 3rd Aug 2003 15:18
Hmmm... It works correctly on both my laptop (ATI M4) and my mini-tower (FX5200).

I get white-white-grey only when I'm running in one of the windowed modes, but I do get the last stage showing a dark-cyan in fse/16bit mode.

[EDIT]Doh! Took too long to post [/EDIT]
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Aug 2003 15:26
Here's the alternative ... but it's slower.

Use 1 and 2 to switch the gamma effect off/on, and space to exit.



Your code can decide which to use by checking the result of the FULLSCREENGAMMA AVAILABLE() function.
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 3rd Aug 2003 15:30
arr...that just overlays a semi-transparent sprite.
Not quite the same effect, but it will easily do for my purpose's, thanks

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard

Login to post a reply

Server time is: 2026-07-23 02:10:41
Your offset time is: 2026-07-23 02:10:41