how can i access the point color within vops?

   4210   4   1
User Avatar
Member
151 posts
Joined: Feb. 2009
Offline
how can i access the point color within vops?

i want to use it to shade with it and ad some noise and then clamp it to get a nice sharp and noisy blend.
https://openfirehawk.com/ [openfirehawk.com]
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
User Avatar
Member
257 posts
Joined: Nov. 2007
Offline
if you are dealing with vops to build shaders, then have a look inside the basic material. Color is brought in as an attribute called “Cd”, it is a float attribute that should be present on your geometry (as a point attribute).

If you want to use it in regular vop sops, you can use the Global input variable “Cd”.
Cg Supervisor | Effects Supervisor | Expert Technical Artist at Infinity Ward
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
User Avatar
Member
151 posts
Joined: Feb. 2009
Offline
i can't see it in the global variables. i added a new parameter and called it cd which seemed to work.
https://openfirehawk.com/ [openfirehawk.com]
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
That is correct in your shader material you need to create the attribute Cd and assign it a value. You also can manipulate Cd at many other levels like SOPs POPs etc etc. Drop down a VOP SOP and dive inside. Note you can manipulate the incoming Cd attribute and then output it. I often use Cd to view noise that I am creating at the SOP level.

Rob
Gone fishing
User Avatar
Member
151 posts
Joined: Feb. 2009
Offline
Thanks
https://openfirehawk.com/ [openfirehawk.com]
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
  • Quick Links