This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Fastest way to create a brightness control


Fastest way to create a brightness control

Postby tedson » Apr 3, 2003 @ 6:22am

tedson
pm Member
 
Posts: 85
Joined: May 29, 2002 @ 8:22pm


Postby Hosed » Apr 3, 2003 @ 9:30am

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby tedson » Apr 3, 2003 @ 3:49pm

Alpha blt with white seems to just wash out the graphics, does anyone know a true way to brighten. (Might be time to go break out the graphics gems books)
tedson
pm Member
 
Posts: 85
Joined: May 29, 2002 @ 8:22pm


Postby Hosed » Apr 4, 2003 @ 10:59am

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby efortier » Apr 6, 2003 @ 7:37am

That's a very nice piece of code.

Does anyone knows how to adjust the color saturation? I suppose there is a formula along the same lines, but I can't seem to locate anything on the web...

Thanks!

--Eric
User avatar
efortier
pm Insider
 
Posts: 373
Joined: May 15, 2002 @ 10:32pm


Postby Hosed » Apr 6, 2003 @ 9:16am

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby efortier » Apr 6, 2003 @ 9:25pm

User avatar
efortier
pm Insider
 
Posts: 373
Joined: May 15, 2002 @ 10:32pm


Postby egarayblas » Jul 4, 2003 @ 9:14am

-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby Hosed » Jul 5, 2003 @ 5:59pm

The last gamma adjustment control I saw in a game was for a Jimmy Soft game, which were all done using Jimmy's custom graphics library. I don't recall if his just adjusted the brightness of the backlight or not however.

On the PC gamma is done through the video card so it's nice and fast. In the past it was done through the equations I posted in this article earlier. Obviously an optimized version there of.

If noone else has, I think I'll go ahead and start on one this coming week.
L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby DillRye » Jul 6, 2003 @ 12:10am

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby warmi » Jul 6, 2003 @ 1:53am

warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron