Hello,
I use a scatter sop with color attribute. The color value comes from HDR image and sometimes exceeds 1.0 .
I would like to fit all my point to reach the maximum value to 1.0.
How can I read the 3 components of the color of each points and get the maximum value inside them ?
Thanks for your help
Vincent
vopsop : how to get the maximum value of points attribute
8021 5 3- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- Alejandro Echeverry
- Member
- 691 posts
- Joined: 6月 2006
- Offline
I have an asset that takes a float attribute and compute the min and max per frame and also across a time range.
Edited by - 2012年10月19日 18:03:40
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
vbk!!!
Hello,
I use a scatter sop with color attribute. The color value comes from HDR image and sometimes exceeds 1.0 .
I would like to fit all my point to reach the maximum value to 1.0.
How can I read the 3 components of the color of each points and get the maximum value inside them ?
Thanks for your help
Vincent
Hi Vincent,
I think your getting confused From the HDR image its the value you want to read in the Pixel from HSV which is then can be turned into an attribute and applied. I used the technique to sample a HDR to find the averaged brightest pixel from an HDR. I used this as a position and value for a key light. I made a tool some time ago and will have to dig out the workflow as it took some figuring.
rob
Gone fishing
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- animatrix_
- Member
- 4495 posts
- Joined: 2月 2012
- Offline
Hi,
Try the RGB to HSV VOP.
Try the RGB to HSV VOP.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
-
- Quick Links