English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a game that needs Rgb values for parts of it and the format is like this... nameofobject R G B (4 other values after that)
and there are over 200 of these objects, how do i BATCH INVERT all of those values??? (I need the RGB's inverted to the exact oposite) Thank you.

2006-11-23 14:04:29 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

If the values for the component colors are 8 bits each (ranging from 0 to 255) just subtract each source value from 255.

If the table is in a format you can easily import or export to and from a spreadsheet you can bring it in, make a 2nd sheet that points to the values on the first and inverts the color values while taking the others as-is, then export the 2nd sheet.

If that doesn't work, you'll have to write your own program or script.

2006-11-23 14:12:04 · answer #1 · answered by John's Secret Identity™ 6 · 0 0

fedest.com, questions and answers