"GRAYMAP" for Powerups

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: "GRAYMAP" for Powerups

Re: "GRAYMAP" for Powerups

by Theshooter7 » Sat Nov 06, 2010 5:37 pm

Enjay wrote:I didn't even know this feature existed.

Very cool. :)
Indeed! If I had known this, I wouldn't have bothered. :P

This is pretty cool, though. Thanks.

Re: "GRAYMAP" for Powerups

by Enjay » Sat Nov 06, 2010 4:57 pm

I didn't even know this feature existed.

Very cool. :)

Re: "GRAYMAP" for Powerups

by Graf Zahl » Sat Nov 06, 2010 4:12 pm

It's different effect

Powerup.Color is for palette blends.
Powerup.Colormap is the generalization of the old INVERSEMAP, GOLDMAP etc colormaps. It desaturates a palette and then creates a color ramp from the first specified color to the second one.

So Powerup.Colormap 0,0,0,255,255,255 and Powerup.colormap 255,255,255 both create a grayscale, Powerup.Colormap 255,255,255,0,0,0 creates the well known inverse map and Powerup.Colormap 255,0,0,0,255,0 creates a red to green effect (which, btw, is quite ugly... :mrgreen:)

Re: "GRAYMAP" for Powerups

by NeuralStunner » Sat Nov 06, 2010 4:11 pm

Gez wrote:What's the difference from Powerup.Color?
I guess it translates everything, instead of blending.
Gez wrote:What does it change to use 6 instead of 3 parameters?
Start R, G, B, End R, G, B?

Re: "GRAYMAP" for Powerups

by Gez » Sat Nov 06, 2010 4:06 pm

What's the difference from Powerup.Color?

What does it change to use 6 instead of 3 parameters?

Re: "GRAYMAP" for Powerups

by NeuralStunner » Sat Nov 06, 2010 4:06 pm

Graf Zahl wrote:Oddly enough it was never documented in the Wiki...
Thus why I never knew it existed. Handy though!

Re: "GRAYMAP" for Powerups

by Graf Zahl » Sat Nov 06, 2010 3:50 pm

'powerup.colormap'. For a gray map it should be 'powerup.colormap 255,255,255'

Oddly enough it was never documented in the Wiki...

Re: "GRAYMAP" for Powerups

by NeuralStunner » Sat Nov 06, 2010 3:39 pm

It's possible to make a desaturated display? How? :?

Re: "GRAYMAP" for Powerups

by Graf Zahl » Sat Nov 06, 2010 3:32 pm

Deprecated features won't get extended. You can achieve the same result by setting a custom colormap.

"GRAYMAP" for Powerups

by Theshooter7 » Sat Nov 06, 2010 2:36 pm

Simple predefined colormap that is a full Grayscale effect.
Attachments
graymap.zip
(542 Bytes) Downloaded 29 times

Top