Wed, Nov 20, 8:18 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 20 6:12 am)



Subject: numbers for colors in Poser files


Francemi ( ) posted Tue, 20 July 2004 at 12:26 AM · edited Wed, 20 November 2024 at 6:29 AM

Is there a chart for the colors in Poser files? If I want to set the diffuse color to dark green, for example, is there a chart that will tell me what number to enter in the pz2 file? Thanks. France

France, Proud Owner of

KCTC Freebies  


ockham ( ) posted Tue, 20 July 2004 at 12:44 AM

Attached Link: http://ockhamsbungalow.com/Python/LightPanel5.zip

file_117826.jpg

You might try my NewLightPanel python script. It's meant to set lights in various ways, but it also shows the actual color resulting from the numbers in Poser form. (That is, numbers from 0.0 to 1.0, as opposed to the usual color picker with 0 to 256.) For this use, without actually changing any lights, you can just hit Cancel after choosing the color.

My python page
My ShareCG freebies


ockham ( ) posted Tue, 20 July 2004 at 12:46 AM

The panel on the left shows the actual color; I tried to set a dark green for this example.

My python page
My ShareCG freebies


Francemi ( ) posted Tue, 20 July 2004 at 1:09 AM

I have 2 more questions then ;o) 1) How do I apply a Python script? and 2) In a PZ2 file, for the color shown in your screenshot, I would put: 0.150 0.700 0.390 0 I have a feeling that is wrong ;o) Thanks. France

France, Proud Owner of

KCTC Freebies  


kuroyume0161 ( ) posted Tue, 20 July 2004 at 4:56 AM
  1. Yes, that is correct. All color triplets in all Poser files (PZ3, PZ2, CR2. etc.) are decimal values between 0.0 and 1.0 (instead of the usual 0 to 255 8-bit integer format). But they transfer identically: 0.0 = 0, 1.0 = 255 - I think that values inbetween should be obvious. ;0) The fourth value is 'intensity' or 'strength' and should be set to '1' in most cases. One way to set the colors is to get the color you want in, for instance PSP or Photoshop, and convert as follows: decimal value = integer value / 255 Going the other way requires rounding: integer value = INT((decimal value * 255) + 0.5) - where INT() truncates the decimal portion (255.5 becomes 255). Kuroyume

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


ockham ( ) posted Tue, 20 July 2004 at 10:06 AM

Attached Link: http://ockhamsbungalow.com/Python/Manual.gif

If you have Poser 5 or ProPack, the easiest way to run a script is by the main menu choice File : Run Python Script. There's a whole palette for selecting several scripts, but if you're just starting out, the menu choice is best. If you have plain Poser 4.0 (or "Artist"), you can't use Python at all. See my single-picture tutorial at this link...

My python page
My ShareCG freebies


Francemi ( ) posted Tue, 20 July 2004 at 10:26 AM

Thanks, I'll download the script and look at the tutorial. I might have to download the images from the tutorial though. Do you have any idea why Internet Explorer reduces the image size? I clicked on the link you provided and while they were loading, I saw that they were large images. After the page has finished loading, the images are so small I can't read a thing - I can't even see a thing! France

France, Proud Owner of

KCTC Freebies  


ockham ( ) posted Tue, 20 July 2004 at 11:07 AM

Attached Link: http://ockhamsbungalow.com/Python/ColorPicker.zip

file_117827.jpg

Yes, you'll have to download that GIF. Browsers are odd about sizing. Also, I found an old script that does what you want more directly: you type in a color name and it gives the RGB values. It uses a list of color names that's built into Python, so it's somewhat limited.... if your name doesn't match one of the hundred or so choices, it's out! The ZIP includes the list of choices.

My python page
My ShareCG freebies


Francemi ( ) posted Tue, 20 July 2004 at 11:08 AM

Thanks for all your help. I've downloaded everything and will try to make it work ;o) France

France, Proud Owner of

KCTC Freebies  


Nance ( ) posted Tue, 20 July 2004 at 11:27 AM

Attached Link: http://www.nattyware.com/

drifting a bit OT, but long ago someone posted a link to this site with a free color picker tool that I've found pretty handy. It's a tiny app that tells you the color values for any pixel you pass your cursor over. Color "Pixie" at the nattyware site linked above.


Nance ( ) posted Tue, 20 July 2004 at 11:33 AM

... and great looking new tool Ockham! Been needing this one a long time


Dizzie ( ) posted Tue, 20 July 2004 at 3:39 PM

France, In Internet Explorer go to Tools/Internet Options/Advanced/go down to Multimedia and UNCHECK Enable Automatic Image Resizing


Francemi ( ) posted Tue, 20 July 2004 at 3:58 PM

Thank you Dizzie! It works (as I'm sure you know). That has been bugging me since I installed the latest version. France

France, Proud Owner of

KCTC Freebies  


Dizzie ( ) posted Tue, 20 July 2004 at 4:52 PM

glad to help! I know the frustration...:>)


maclean ( ) posted Wed, 21 July 2004 at 2:54 PM

Attached Link: http://www.silverleifstudios.com/MATTut.htm

France, Here's a link to Silverlief's MAT-making tutorial - the best I've ever seen - and she includes a complete list of every color + it's poser numerical value. It's exactly what you want. mac


maclean ( ) posted Wed, 21 July 2004 at 2:57 PM

Attached Link: http://www.datastic.com/tools/colorcop/

PS This link is to a really neat color eyedropper tool (color cop). It's tiny, unintrusive and does everything you need. I tried 3 or 4 before I settled on this one. mac


Francemi ( ) posted Wed, 21 July 2004 at 3:47 PM

Thank you mac! Indeed, it is exactly what I was looking for. I've tried the Python script but even with the tutorial, I didn't understand (I'm completely null for that kind of things except if it is explained in French with the English terminology of the software) ;o)) I was able to get the correct color of green using color cop and kuroyume's equations but it will be faster with that chart, that's for sure. France

France, Proud Owner of

KCTC Freebies  


maclean ( ) posted Wed, 21 July 2004 at 4:35 PM

Cool. Glad it helped. mac


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.