Circular ramp inside cops?

   1794   2   1
User Avatar
Member
5 posts
Joined: March 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 - April 3, 2020 13:31:05
User Avatar
Member
384 posts
Joined: April 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: Sept. 2013
Online
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