RGB

From polycount
Revision as of 04:45, 29 July 2014 by Cheeseplus (Talk | contribs)

Jump to: navigation, search

{{:OutOfDate}}

RGB Colorspace

Red, Green, and Blue are the primary colors used to display RT3D on your computer screen. All the colors you see are combinations of those three. RGB space is the place where any transformations are made to colors, whether reducing the bit depth, texture blending, rendering, etc.

In RT3D, we use numerical RGB values to describe the colors in each texture. These numbers can be a drag to use, but they give you more control of the medium, especially when you want to tweak something like texture blending.

In texture programs like Photoshop, the RGB values for texture colors are in an 8bit scale which is usually 0 to 255. But RT3D programmers prefer a simpler scale, representing all colors with the values 0 to 1. For instance, red is (1,0,0), white is (1,1,1), black is (0,0,0), brown is (.4,.21,0) etc. The decimal places can go out as far as the programmer decides it needs to, but usually just two decimal places (.00) is precise enough. The less decimals, the smaller the file sizes will be, which conserves precious memory. This was the root of the Y2K problem, but we don't need to get into that... heh heh.

See also additive color model.


Personal tools
Namespaces

Variants
Actions
Navigation
Tools