The Ramp Parameter

   2099   1   1
User Avatar
Member
33 posts
Joined: 5月 2006
Offline
more chheeezier than the last file, hehe!!!

Just a glance of the ramp parameter.

——————————————————————–
http://www.youtube.com/user/Khermah [youtube.com]
——————————————————————–

Attachments:
The Ramp Parameter.hip (97.3 KB)

User Avatar
Member
17 posts
Joined: 2月 2006
Offline
Another nice&clean example. Thanks Khermah, and for the other tips on Youtube; U're doing it inventive, precise and straightforward.

I spent some time working with ramps in the shader context recently, and haven't been successful:
The usage of ‘chramp’ function is effective if the value from the ramp is to be returned, and used to drive something.
But my problem is that I want the opposite: to use a parameter that will drive the specific color (or point) of the ramp. Simple example would be 2-3 colors ramp shader where one of the ramp colors would be driven with some pattern.

I did export pattern value multiplied with some color, within VOP network (as if any export would be made: paint, color, displace in a way), and then tried to call it in the ramp colors with simple “ch” with the name of my export.
However, I sense that this isn't the right way of doing it - at least not the right expression function to call (export value should be a variable, but not to be used as $VAR, but rather in specific field meant for variable call, etc… thats why i used ‘varnamer, varnameg, varnameb’ in the rgb fields respectively)

The result I've got, is that “ch” reads the default value of my export parameter, not the (variable) value that should be exported (and the export parameter is visible, but it makes no difference).

Would U suggest some solution to this?

If U have time, take a look at this simple example.

Thanks

Attachments:
ramps.hip (337.4 KB)

  • Quick Links