View Full Version : shake: getting pixel Color Values
02-19-2004, 10:28 AM
not sure but i can not find anything in the dics (speaking of maya 2.46).
is is possible to get the color value of a single defined pixel (e.g. x/y = 100, 12) in an image to use in expressions like for the ColorX node? (and i dont mean to use a crop or something. i mean in an expression)
get pixel 100,12 from image1 and assign that color to image2
02-19-2004, 03:54 PM
Just to clarify, do you want an integer value to drive other parameters with, or do you wish to fill an image with the colour sampled at that specific pixel?
02-19-2004, 04:08 PM
you can use the color tracker to watch a pixel or group of pixels and snag it's color, it's bright or dark and it's average over a range of frames.
02-19-2004, 05:44 PM
whoa.. oops.. for some reason I was thinking you were talking about shake.
wow, wrong.. :)
and I was doubly wrong - in shake it's the pixel analyzer (not a color tracker...bah!)
Anway, before I drift further off subject, I'll leave now..
02-20-2004, 08:18 AM
it is like having the pixel values via script if possible.
like when i am working with colorX e.g. and enter as a red expression:
i get vertical stripes.
i get them horizontaly..
so since there is a way acessing x and y with that function i was wondering if there is a way as well to directly adress or querey pixel values in an expression like that as well?
02-23-2004, 01:00 PM
So what you meant by "get pixels" was actually to "write pixels" or "put pixels" onto the screen?
02-23-2004, 01:13 PM
but mainly something like
02-23-2004, 01:19 PM
Sounds like you need the SDK for that.. :hmm:
02-23-2004, 01:20 PM
check out the lightning script on highend.
there are commands that can be used, but i can not find any documentation in the manuals about that :/
02-23-2004, 01:39 PM
Yea that's a pretty cool script. I'm sure the docs you need to do that comes with the SDK, however ;)
02-23-2004, 02:10 PM
ok.. checking for a reinstall
not really. there is only a small pdf as a documentation :/
01-17-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.