2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: EXAMPLES for Gamma Ramp Correction DLL
[Re: Lion_Ts]
#51968
09/01/05 05:17
09/01/05 05:17
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
How do you find out the values of the colors that are already there? For example, I wanna desaturate the screen (make it black and white) but I need to know all 3 color values before I can do this, I will then take the 3 values, average them and then apply the average to all 3 brightnesses of rgb.
|
|
|
Re: EXAMPLES for Gamma Ramp Correction DLL
[Re: Orange Brat]
#51970
09/01/05 10:12
09/01/05 10:12
|
Joined: Oct 2002
Posts: 4,753 Munich, Bavaria, South of Germ...
TripleX
Expert
|
Expert
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
|
Thank you very much for the examples.. Didn't thought that you can do so nice things with the gamma ramp correction! Thanks Triple-X PS: Quote:
TripleX has plan to add my code to BIG.DLL. Check showcase thread.
I'll add it within the next big dll update
|
|
|
Re: EXAMPLES for Gamma Ramp Correction DLL
[Re: ]
#51973
09/09/05 17:04
09/09/05 17:04
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
Hi, all ! All of you make me happy... Sorry for long pauses in posting - I don't have instant access to internet. I'm going to internet-cafe, when needed. TO WING:When I'm thinking about effect with gamma, I try it in photoshop first Then I try to reproduce that correction in my formulas. TO ORANGE BRAT:It's possible, but with other technique, I think about it. TO TRIPLEX:YES, all screenshots made from my live game project with gammaramping. TO MICHAEL SCHWARZ:I made it with A6 SDK, sorry. Download A6 update... TO WING again:Thank you for your little example. P.S. When I'm coding, RAMMSTEIN is playing...
Last edited by Lion_Ts; 09/09/05 17:07.
|
|
|
Re: EXAMPLES for Gamma Ramp Correction DLL
[Re: ]
#51974
09/10/05 18:05
09/10/05 18:05
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
Quote:
Hey, I published a little example where you can choose different color effects I made with this dll. Click here to download the Thermal Colors examples.......
I'm playing with your 'little' example at last night. Thank you for contribution. With guys like you world seems better...
|
|
|
Re: Gamma Ramp Correction DLL for FULLSCREEN mode
[Re: William]
#51975
09/16/05 11:08
09/16/05 11:08
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
What says Micro$oft about gamma correction in windowed mode: Quote:
Starting with version DirectX 8.x, setting a gamma ramp has no effect unless the swap chain is full-screen. To change the gamma ramp in windowed mode, use the Microsoft Windows® Graphics Device Interface (GDI) function SetDeviceGammaRamp, which will impact the entire screen(not just the active window). SetDeviceGammaRamp will not allow "extreme" gamma ramps, such as an all red gamma ramp. In contrast, IDirect3DDevice9::SetGammaRamp will clean up the gamma ramp when the application is minimized or exits, and then restore it again when the application is restored.
As you can see, gamma ramp correcting in windowed mode is'nt good idea, you have to use other technique (may be camera.ambient for brightness, but it don't work with some shaders, applied to whole level). Or write fullscreen games ! And disable task swiching. And disable all system keys. And no exit item in menu. And...
|
|
|
|