Propschick opened this issue on Dec 02, 2007 · 30 posts
kuroyume0161 posted Sun, 02 December 2007 at 12:26 PM
See http://www.kuroyumes-developmentzone.com/poser/poserfilespec/material.html for information on these. Not a tutorial just descriptive information. These are Pre-Poser 5 material specs. Poser 5+ use the Shader Nodes from the Shader Tree.
The values after KdColor, KaColor, KsColor, TextureColor, ReflectionColor are RGBS (Red-Green-Blue-Strength) values. You are probably more accustom to 0-255 values for RGB. These are the same but in the range 0.0-1.0 (255 = 1.0). To convert them into 8-bit 0-255 values, just multiply by 255:
8bit value = 255.0 * realvalue
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone