ZBrushCentral

ZColor: cameyo and Marcus Civis revA (7-09-2004) (page 2)

Hi all,
this script is a wip…
Image1.jpg
I wish to add some heuristic to choice colors…
Complementary, Triadic, hue shift, etc…
I’m looking for some reference on internet. Can you help me?
Where is Pilou ? :wink:
…Download and run it…
Please, notify me any error.
121 requested.

Ciao

cameyo

hi massimo :slight_smile:
wonderful idea, i download knowing that it is porbably for z2, but script unfortunatley not work with z1.55b, never worry, z2 is shortly coming for us mac users too, i HOPE ;)… so i cant help in testing, but i tried find ressources on internet for you, frenchy seems in holiday, i miss him too …

here is a nice general page on colortheory which was very helpful to me … and here is a is a list of ressources on color …
i dont know if these have the information you look for, if not, please let me know, i would like help

also would it be possible to add that one can choose color by hue, asturation and value instead of rgb ? i personally find rgb choosing very confusing, hsb or also hsv is much closer to color theory …

Thank you, kokoro :wink:

I have sent the 1.55b version at your email:D

ciao

cameyo

p.s. 120 views and one reply, maybe this script is bad:p

thanks cameyo :wink:

i check tomorrow … i am in moving procedure, so a little busy … i dont think reason why noone answers is that script is bad … “air at zbc” is different from ealirer times, you know … thanks for sending me, i let you know as soon i can :slight_smile:

Hi Cameyo,

I tried the script and like where it goes so far… I had three things to say:

  1. For some reason when I press the buttons to store color on the secondary palette, I get a save dialog instead. Maybe it’s just me.

  2. Second thing is an idea about implementation that I might have done differently. See what you think. Each time I choose any of the process buttons a popup asks me to confirm the operation. That can get annoying after a short while.

Another way to approach it might be to just do what the button says immediately whether it be generate a random palette, generate a monochromatic progression of the current color or whatever… The user would see the effect right away. I would simply add an undo button which would restore to the palette to its previous state. That way the buttons are direct actions… and the user will only rarely need to take back what they did. Internally it means a little extra copying into a temporary array I guess.

BTW, I think I have code that transforms from RGB to HSV and back if you are interested. Kokoro’s suggestion for HSV color mixing might be a neat option.

  1. A long time ago, back when 256 color lookup tables were the rule and true-color display cards were very expensive, I played around a lot with functions to manipulate color tables. I did things like you are doing here and some other things that were a little more weird, like tinting an entire palette by the currently active color (using a slider) and interactive blending between two existing palettes, creating a third, hybrid palette (again, using a slider). It might be fun to add some of these to your palette utility.

Later, Sven

Cameyo, Take a look at colorschemer.com. and download the pro demo. Should help

i just tried the script, cameyo:) it works wonderfully and all functions as i expected :slight_smile: thanks again for making for me z1.55b version :slight_smile:
as svengali said already, i too would prefer, if thats not too complicated with programming, have that the buttons act immediately instead of asking again if they should do this …
and an idea, which is influnenced by that i often use photoshop layers to colorcorrect or also to unify an image colorwise … namely, say i have made palette1 with colors i want. now i try them out, and see i want all of those colors say a little more to the red to make mood in image more warm … would it be possible that user has additional field where he can stor a red, and then click a button saying “multiply” or “overlay” or “rotate hue towards that red” … ? (or even more adventurous with a slider which lets user determine influence of red … :wink: ) …just idea
anyway, as this script is, i already really like it, and is help for me painting in zbrush.
i like in particular that i can store palettes, this gives good way to try out lots of variations :slight_smile:

Hi Cameyo,

This is great but I agree with Sven about the confirmation messages. Some sliders to add color hues to the existing ones would be great.

Marcus

Kokoro,

If you already know about this then ignore me :confused:

The Render:Adjustment palette option offers a great way to tweak color of a rendered image in exactly the way you describe!

You can individually adjust the tint influence of red, green and blue AND vary the amount of contrast and brightness. Furthermore, R,G,B and contrast can be modified precisely with Level Curves which can be saved and reloaded to be applied to future rendered images.

The Render:adjustment control set is totally interactive and doesn’t require a re-render between each change in a setting, nice for tweaking a Best render.

Sven

hardly never used adjustments:o … yes for render … i wil check if they work on flat material (and flat render) too, which i use for painting … thanks for remember me svegali … :slight_smile:

Thank you all:)
kokoro: thank for your words and advice:idea:
Sven: yes, i’ll remove the confirm window. Send to me the rgb2hsv source…help is always accepted;)
MitchellT: i have tried ColorSchemer, Color Dabbler, ColorImpact (one of the best), ColorScheme,…They are great programs and far superior to my script. I write my code for fun and for my work; i learn new things in this way…:smiley:
I’ll send the source on PM (as always)…too many lurkers around:mad:
I’ll post an interesting method to use image within ZBrush on tutorial forum.

cameyo

Latest version…
Image1.jpg
I’m working on:

  • HSL, HSV sliders color space
  • Color wheel (12 colors)
  • Triadic, opposite, complement colors, etc.
  • Web Palette, Pantone Palette, etc.

Thank you for viewing

cameyo

p.s. to select the color on palette you must move the mouse over the color and press ‘c’.

Thankyou for this Cameyo :D:+1:

Thank you all;)
here is a new version of ZColor:
Image1.jpg
There are some small bug, but we now how to remove it :smiley:
This script is written by me and by Marcus Civis, i’m happy to work with another scripter and a very good boy.

Post your hints.

Have a good color choice.

cameyo and Marcus Civis

cameyo is too kind - this is all his hard work! I just made the coffee!!:smiley:

Hi Cameyo
Not present for a long time:rolleyes: , maybe this can interest you:cool:
(there are some utilities inside under the root adress)
Chromograph
Pilou
Ps I don’t remember what is the use of your Zcolor script :confused:

Thanks Frenchy.
ZColor is a script to help you on …choice colors:D

Ciao

Nice utility guys, will be very useful!

Here’s a few script lines for a TINT button that modifies the Main palette by the current color: It adds more tint to the palette each time you press the button.

I inserted it in your code just after the wheel_16 button (both for Main and Secondary palettes)

//------------------------------------------------------------------
// BEGIN TINT Main palette colors
//------------------------------------------------------------------

[VarDef,TintPercent,256/20] // sets the degree of tinting

[PenMove,4]
[SectionBegin,“tint”,0,“Tint Main colors by current color”,
// OPEN COMMANDS
[iUnPress,0]
[VarSet,RR,[IGet,Color:R]]
[VarSet,GG,[IGet,Color:G]]
[VarSet,BB,[IGet,Color:B]]
[VarSet,i,0]
[Loop,16,
[VarInc,i]
[VarSet,MColorR(i),MColorR(i)+(RR-MColorR(i)/TintPercent)]
[VarSet,MColorG(i),MColorG(i)+(GG-MColorG(i)/TintPercent)]
[VarSet,MColorB(i),MColorB(i)+(BB-MColorB(i)/TintPercent)]
]
// CLOSE COMMANDS
[iUnPress,0],
]
[SectionEnd]
// END TINT main palette colors

Sven

Thanks Sven! That works a treat - though cameyo has to test it, of course…:wink:

Thanks Sven!!! :+1: :+1: :+1:
I’m glad this script will benefit from the knowledge of multiple scripter.:smiley:
I’m looking for a place to put your name as author (co-author):wink:

Have a nice day.

cameyo

p.s. of course, here is the new version (without the sven code…because i have seen it now :cry:)
The source code will be released when the script will be finished.