sample color value on surface

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 09 September 2010   #1
sample color value on surface

is it possible to sample the color value on a surface or texture, so that those values can be converted to data? So, for instance, if I had a checkerboard texture applied, the black values could be used do set an attribute to 0 and the white could set an attribute to 1. Would be most interesting if I could sample the values across a surface somehow, so that I could read various values depending on what part of the surface was sampled.

Could a value be queried at a UV?

Thanks a lot for reading.
Old 09 September 2010   #2
Take a look at the 'colorAtPoint' command, it does just what you are after..

Old 09 September 2010   #3
Ding ding ding, correct.

Exactly what I needed.

Old 09 September 2010   #4
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 03:07 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.