Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ampere

OpenGL 3dfx, opengl, and gamma

This topic is 6944 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In my 3d engine, I use a double intensity gamma ramp for overbrightening my scene, and everything appeared to be fine. I call SetDeviceGammaRamp() on my TNT2, and all is well. But on 3dfx cards, I check for WGL_3DFX_gamma_control, and if it''s present I use the wglSetDeviceGammaRamp3dfx() (I think that''s the function name. If that''s not it, it''s a memory lapse and not a bug). On the voodoo and voodoo2 boards I''ve tested this on, there''s no problem getting a pointer to this function. The problem is when I call it. On the voodoo, the call fails and returns FALSE, but on the voodoo2 it succeeds but doesn''t actually change the gamma level as specified. I''m passing the exact same values that work successfully on my TNT, so I don''t know what the problem could be. Any advice is appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Oh, and do the 3dfx gamma functions work on NT? I know the GDI ones don't, but I don't have access to an NT box to test the 3dfx ones.

Edited by - Ampere on 4/21/00 1:15:26 PM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!