Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 3
Page 3 of 6 1 2 3 4 5 6
Re: EXAMPLES for Gamma Ramp Correction DLL [Re: Lion_Ts] #51968
09/01/05 05:17
09/01/05 05:17

A
Anonymous
Unregistered
Anonymous
Unregistered
A



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: ] #51969
09/01/05 08:50
09/01/05 08:50
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
Thanks for the contrib. The other one was DirectX8.1, so it's nice to have an up to date one. Plus, it has been tested. If there is a way to get it to work in Windowed mode, that would be great, but if it's impossible or too much trouble, then no big deal, I suppose.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
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 Offline
Expert
TripleX  Offline
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: TripleX] #51971
09/01/05 10:37
09/01/05 10:37
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
Very cool dll from what i see from the screens! Is it A5 compatible or do i have to wait for my A6 to come?


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: EXAMPLES for Gamma Ramp Correction DLL [Re: Michael_Schwarz] #51972
09/02/05 02:06
09/02/05 02:06

A
Anonymous
Unregistered
Anonymous
Unregistered
A



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 couldn't get a screenshot but it looks something like this:


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 Offline OP
Serious User
Lion_Ts  Offline 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 Offline OP
Serious User
Lion_Ts  Offline 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 Offline OP
Serious User
Lion_Ts  Offline 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...

Re: EXAMPLES for Gamma Ramp Correction DLL [Re: Lion_Ts] #51976
11/30/05 04:42
11/30/05 04:42
Joined: Jan 2005
Posts: 19
Honolulu, Hawaii
M
MASH Offline
Newbie
MASH  Offline
Newbie
M

Joined: Jan 2005
Posts: 19
Honolulu, Hawaii
Lion TS,

Is it possible to create a Grayscale effect with this dll, and if possible could you explain how? Would I need to use a shader or can it be done completely through your dll? Thanks for any answer from anybody that might know!

Re: EXAMPLES for Gamma Ramp Correction DLL [Re: MASH] #51977
11/30/05 05:40
11/30/05 05:40
Joined: Jan 2003
Posts: 1,142
California
Daedelus Offline
Senior Developer
Daedelus  Offline
Senior Developer

Joined: Jan 2003
Posts: 1,142
California
@Wing:
That demo project will not run on my laptop. Keeps crashing after opening.
@LionTS: Are there any known stability issues with this .DLL on some laptops?



Formula Games - A place to buy and sell Indie games.
Page 3 of 6 1 2 3 4 5 6

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1