pz2 editing

OldminerOldminer Posts: 134
edited April 2013 in New Users

( SOLVED) I am using DS4.5 and am trying to work up a pz2 for a png file I have developed. I can set the Diffuse, Specular and Ambient colors OK within the pz2 but can’t set the color strengths from the pz2. Where can I find the parameters for this adjustment, or is it even possible?

Post edited by Oldminer on

Comments

  • SpottedKittySpottedKitty Posts: 7,232
    edited December 1969

    You've already found them. The colour specs in a .pz2 are defined as four numbers for standard RGB (Red, Green, Blue) colours, as a decimal value between 0 and 1, in steps of 1/256. The fourth number (or maybe the first number, I can't remember for sure) in each four-number group is the colour strength value, again decimal from 0 to 1.

  • SloshSlosh Posts: 2,391
    edited December 1969

    You've already found them. The colour specs in a .pz2 are defined as four numbers for standard RGB (Red, Green, Blue) colours, as a decimal value between 0 and 1, in steps of 1/256. The fourth number (or maybe the first number, I can't remember for sure) in each four-number group is the colour strength value, again decimal from 0 to 1.

    It's the fourth number, SpottedKitty.

  • OldminerOldminer Posts: 134
    edited December 1969

    Thanks to all I didn't think of the forth digit !!!:cheese: lots of help out there Thanks

  • SpottedKittySpottedKitty Posts: 7,232
    edited December 1969

    Oh good, it's been a while since I did any hand-hacking of the actual colours in a .pz2 so I wasn't entirely sure I remembered it right. Glad I could help.

  • wancowwancow Posts: 2,708
    edited December 1969

    Slight correction, the numbers for colours are between 0-255

    On the Grayscale:
    0=Black
    255=White

    An RGB Value across the RGB Scale is identical.

  • SpottedKittySpottedKitty Posts: 7,232
    edited December 1969

    <headdesk>

    Told you it had been a while... :red:

Sign In or Register to comment.