garrr opened this issue on Aug 25, 2002 ยท 3 posts
lesbentley posted Sun, 25 August 2002 at 3:06 PM
<br></br><br></br>{<br></br><br></br>version<br></br> {<br></br> number 3.0<br></br> }<br></br>figure<br></br>{<br></br>//---MAT section STARTS here---<br></br><br></br><br></br>//---MAT section ENDS here---<br></br>}<br></br>}<br></br><br></br>
Open Poser, load a character, set the colours and textures of the eyes the way you want them. Save the character to a pallet.
Open the cr2 of the character you just saved in a text editor. Use the TE's seaarch facility to search for the word "canonType", this will take you near to the start of the materials section.
You need to find the material section that relates to each part of the eye, and copy it into your MAT file. In Posette these materials will be called:
material pupil
material iris
material eyeball
The complete file will look something like the following, save it with a "pz2" file extention to a pose directory (folder).
<br></br><br></br>{<br></br><br></br>version<br></br> {<br></br> number 3.0<br></br> }<br></br>figure<br></br>{<br></br>//---MAT section STARTS here---<br></br><br></br> material pupil<br></br> {<br></br> KdColor 0 0 0 1<br></br> KaColor 0 0 0 1<br></br> KsColor 0.0366527 0.651143 0.398602 1<br></br> TextureColor 1 1 1 1<br></br> NsExponent 30<br></br> tMin 0<br></br> tMax 0<br></br> tExpo 0.6<br></br> bumpStrength 0<br></br> ksIgnoreTexture 0<br></br> reflectThruLights 1<br></br> reflectThruKd 0<br></br> textureMap "GetStringRes(1029,53)"<br></br> 0 0<br></br> bumpMap NO_MAP<br></br> reflectionMap NO_MAP<br></br> transparencyMap NO_MAP<br></br> ReflectionColor 1 1 1 1<br></br> reflectionStrength 1<br></br> }<br></br> material iris<br></br> {<br></br> KdColor 0 0.552941 0.501961 1<br></br> KaColor 0 0 0 1<br></br> KsColor 0.559991 0.52079 0.544976 1<br></br> TextureColor 1 1 1 1<br></br> NsExponent 30<br></br> tMin 0<br></br> tMax 0<br></br> tExpo 0.6<br></br> bumpStrength 0<br></br> ksIgnoreTexture 0<br></br> reflectThruLights 1<br></br> reflectThruKd 0<br></br> textureMap "GetStringRes(1029,53)"<br></br> 0 0<br></br> bumpMap NO_MAP<br></br> reflectionMap NO_MAP<br></br> transparencyMap NO_MAP<br></br> ReflectionColor 1 1 1 1<br></br> reflectionStrength 1<br></br> }<br></br> material eyeball<br></br> {<br></br> KdColor 1 1 1 1<br></br> KaColor 0 0 0 1<br></br> KsColor 0.135087 0.0355541 0.183856 1<br></br> TextureColor 1 1 1 1<br></br> NsExponent 30<br></br> tMin 0<br></br> tMax 0<br></br> tExpo 0.6<br></br> bumpStrength 0<br></br> ksIgnoreTexture 0<br></br> reflectThruLights 1<br></br> reflectThruKd 0<br></br> textureMap "GetStringRes(1029,53)"<br></br> 0 0<br></br> bumpMap NO_MAP<br></br> reflectionMap NO_MAP<br></br> transparencyMap NO_MAP<br></br> ReflectionColor 1 1 1 1<br></br> reflectionStrength 1<br></br> }<br></br><br></br>//---MAT section ENDS here---<br></br>}<br></br>}<br></br><br></br>