PDA

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


cameyo
08-22-04, 08:35 AM
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 ? ;)
...Download and run it...
Please, notify me any error.
121 requested.

Ciao

cameyo

kokoro
08-23-04, 02:32 AM
hi massimo :)
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 (http://www.worqx.com/color/) is a nice general page on colortheory which was very helpful to me ... and here is a is a list (http://www.worqx.com/color/resources.htm) 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 ...

cameyo
08-23-04, 09:40 AM
Thank you, kokoro ;)

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

kokoro
08-23-04, 10:56 AM
thanks cameyo ;)

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 :)

Svengali
08-23-04, 11:03 AM
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.

3. 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

MitchellT.
08-23-04, 11:47 AM
Cameyo, Take a look at colorschemer.com. and download the pro demo. Should help

kokoro
08-24-04, 11:34 AM
i just tried the script, cameyo:) it works wonderfully and all functions as i expected :) thanks again for making for me z1.55b version :)
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 ... ;) ) ...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 :)

marcus_civis
08-24-04, 11:37 AM
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

Svengali
08-24-04, 11:59 AM
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

kokoro
08-24-04, 12:10 PM
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 .... :)

cameyo
08-24-04, 10:57 PM
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...:D
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

cameyo
08-27-04, 04:49 AM
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'.

Polaris30
08-27-04, 09:37 AM
Thankyou for this Cameyo :D:tu:

cameyo
09-01-04, 11:17 PM
Thank you all;)
here is a new version of ZColor:
Image1.jpg
There are some small bug, but we now how to remove it :D
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

marcus_civis
09-01-04, 11:31 PM
cameyo is too kind - this is all his hard work! I just made the coffee!!:D

Frenchy Pilou
09-02-04, 02:39 AM
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 (http://www.pourpre.com/chromograf/en/)
Pilou
Ps I don't remember what is the use of your Zcolor script :confused:

cameyo
09-02-04, 04:31 AM
Thanks Frenchy.
ZColor is a script to help you on ...choice colors:D

Ciao

Svengali
09-02-04, 10:10 AM
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

marcus_civis
09-02-04, 12:32 PM
Thanks Sven! That works a treat - though cameyo has to test it, of course...;)

cameyo
09-02-04, 11:02 PM
Thanks Sven!!! :tu: :tu: :tu:
I'm glad this script will benefit from the knowledge of multiple scripter.:D
I'm looking for a place to put your name as author (co-author);)

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.

cameyo
09-06-04, 11:26 PM
ZColor Rev.A:
[EDIT] Image removed...

Download....and try.

RGB, HSV, HSL sliders....HEX value
Monochromatic palette, Bichromatic palette, add/remove saturation, add/remove Brightness, merge palettes, merge color with palette, color wheel 12 and 16 colors,....
Three palettes: Italian color, pantone color, web safe color.

Author: cameyo and Markus Civis
Thanks to Svengali for tint code.

cameyo

Svengali
09-07-04, 07:03 PM
Hi Cameyo,

I've just downloaded the new version of the color tool - looks very interesting!

Will try it out this week. Most curious to try to the slide-mixers. Nice work.

Sven

PS. I'm working on a color tool too, which I'll share with you when I get a few more things working on it... and the help screens written - It's called Kolor Lab. :D

cameyo
09-07-04, 11:20 PM
Ciao Sven,
thanks for try...
I'm glad to see other script on color ;), i have some ideas about CMYK, but i can't be able to find the correct formula for conversion...I like to known the Photoshop formula!!!
Have a nice day.

cameyo

aminuts
09-07-04, 11:21 PM
Thanks Cameyo and Marcus.....this just keeps getting better and better!!

custom_junk_mail
09-11-04, 02:48 PM
Hey Cameyo, finding the complement of a color (when we are dealing with additive mixing of light, not subtractive mixing of pigment) is simple if you have the RGB components. Just subtract the RGB components from the RGB components of white (255, 255, 255) or (1.0f, 1.0f, 1.0f) depending on the way you are representing component ranges.

For example, the complement of red (255, 0, 0) is cyan (0, 255, 255). The complement of green (0, 255, 0) is magenta (255, 0, 255). The complement of orange (255, 192, 0) is a bright blue (0, 63, 255).

cameyo
09-13-04, 12:46 AM
Thanks!!!
I known the code to complement, triadic, diadic, split complements;) ...the problem is to find a place to put these colors on interface:D

cameyo

p.s. now the script is under development by Markus...

TVeyes
09-15-04, 10:38 AM
Thanks Cameyo and Marucs for your work. I am sure it is going to come in handy one day. Cheers.

cameyo
09-22-04, 11:06 PM
Hi all,
cameyo and marcus civis announce: ZColor revB
COLOR.jpg
Please try it and report any error.

Thank you Marcus for collaboration.

Source on PM.

cameyo

Frenchy Pilou
09-22-04, 11:17 PM
You have refound the palette of Leonardo Da Vinci ;)
Pilou

cameyo
09-23-04, 06:55 AM
Thanks Frenchy,
i have some problem to connect to this forum after restyling...very slow for me.
I can't wait for post or read other threads...
maybe using Teleport....

ciao

p.s. many, many lurkers around ...

peter.villumsen
02-04-05, 01:55 AM
sry.. I normally hate to bring old threads up again, but this one reminded me too much of a problem I've had with Photoshop since.. well, always really...

My question: does anyone know if there's a (free) plugin for Photoshop that does the same as cameyos small zbrush script here?

I've always found Photoshop palettes to be annoyingly small and cumbersome... Would be forever thankfull if someone could point me to a small tool that would help me out abit...

thanks

cameyo
02-04-05, 04:48 AM
Hi Peter,

which functions do you need in Photoshop?

cameyo

peter.villumsen
02-04-05, 06:22 AM
hi cameyo

I've been painting digitally for several years and it strikes me odd that nobody else have produced such a feature for photoshop.. nor even requested one... as far as i know...

Most of my requests are based on stuff I've found in other programs such as zbrush, deeppaint, Painter etc. But I've not to this day seen a tool that provides the best of all worlds...

What it all boils down to, is the need to have more precise color picking controls in Photoshop. Photoshop does have a rather complete set already but the way you access it is just too slow and cumbersome. Espeically if you are a 2d/3d artist like myself.

What I had in mind is rougly something like this...

A nice layout of a few large colorwheels would be great. Some 'sticky'sliders that will control the brightness, saturation and hue respectwould be awesome to have. Some of the stuff you have in your small scripts would be invaluable too - like complimentary/oppostie colors, harmony colors etc...

Do you ask because you have time to do such a plugin yourself (here's hoping) or is because you know of such a plugin?

If its for the former reason I could produce a mockup of a layout for you decribing in more detail what I had in mind.

cant wait to get feedback... :)
Until then,
;Peter

marcus_civis
02-04-05, 08:14 AM
Hi Peter,

It is not free and it's not a plugin ;) but you might take a look at Color Cache (http://www.tlhouse.co.uk/ColorCache/) which will import/output Photoshop swatches and has various color mixing and palette creation options.

Also I'm working on a zscript ZPalette (a companion to ZSwatch) which will import Photoshop swatches as well as create large palettes for use in ZBrush and outputting as a psd file but it won't be ready for a while...

cameyo
02-06-05, 10:46 PM
Hi Peter,
i think the best program to works with color is ColorImpact (www.tigercolor.com).
I wrote small plugins for PSP some years ago ... but the time is gone ;).
Sorry, i don't known where is the plugin for you.

cameyo

BooMMooB
02-07-05, 08:34 AM
Its me again, just from my home computer! ;)

too bad.. I was just getting my hopes up... :)

I'm sure those programs are maginicent, but I'm not looking for something that advance. Just something more userfriendly than what Photoshop currently offers... Besides as I understand neither of those programs incorporates directly into photoshop.. Am I right?

best,
Peter