Circular ramp inside cops?

   1788   2   1
User Avatar
Member
5 posts
Joined: 3月 2016
Offline
Anyone know how to do a circular ramp inside cops?
When using ramp circular I get something reminiscent of the figure to the left, and what I'm looking for is the figure to the right. Your text to link here… [i1.wp.com]
Edited by Jakob Houlby - 2020年4月3日 13:31:05
User Avatar
Member
384 posts
Joined: 4月 2017
Offline
A circular ramp like the one on the right is just a function of distance from the center point. Get the center by dividing W and H by two, then get the distance from the sampled XY position from that center point, then fit that to a range to determine your black and white points.
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
User Avatar
Member
682 posts
Joined: 9月 2013
Offline
Here is a tutorial on creating and combining various color ramps in COPs:

https://www.youtube.com/watch?v=o_MJAL0uB64 [www.youtube.com]
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links