Old 26th April 2006, 23:34   #1
JFASI
Major Dude
 
JFASI's Avatar
 
Join Date: Jan 2005
Location: I was hoping you could tell me
Posts: 1,350
Color Map Details

How exactly does Colormap work? What is it that it actually do?

Certified Spam Connoisseur.
JFASI is offline   Reply With Quote
Old 27th April 2006, 09:44   #2
Magic.X
Major Dude
 
Magic.X's Avatar
 
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
Reading a color based value from the avs-screen.
This can be a pixels:
-red color value
-blue color value
-green color value
-the maximum color [red, blue or green, whatever is the highest]
-old brigtness (red+blue+green)/2
-corrected brightness (red+blue+green)/2

Depending on the per pixel color values, it does a mapping.

Color values are in a range from 0 to 255.

As you create your colormap, you are assigning specific or mixed colors to each value in this range.

So now in runtime, colormap reads the desired value of each pixels, looks up the equivalent color in your map. By assigning these into a new frame, the mapping is pretty much done.

Now there's still the blending to do, either simple replace, or additive or whatever you desire.


-=[The Ultimate VJ-Tool for AVS]=-

Hotlist 2.3 developement thread (old)
Magic.X is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump