Hi;
1) I assigned a Principled Shader material to my geometry.
2) I created a “Shape” COP node, and I use it as diffuse texture in my material.
3) That Shape COP node, has a parameter called “Number Of Points” and I want to change it using an attribute in my geometry.
Is it possible to read geometry attributes in a COP?
Thanks for helping.
My question about COPs ...
1742 2 0- Masoud
- Member
- 398 posts
- Joined: Aug. 2015
- Offline
- malexander
- Staff
- 5151 posts
- Joined: July 2005
- Offline
- Tristannn
- Member
- 26 posts
- Joined: May 2018
- Offline
There's a couple ways…
If you can expose the relevant geometry attribute to a SOP or OBJ parameter, you can reference that parameter directly in your COP parameter.
If you're trying to do something more complicated, put down a VOP COP2 Generator and use the Get Attribute node with an
EDIT:
Or, throw down an inline node inside your VOP COP2 Generator and use http://www.sidefx.com/docs/houdini/vex/functions/getattribute.html [www.sidefx.com]
If you can expose the relevant geometry attribute to a SOP or OBJ parameter, you can reference that parameter directly in your COP parameter.
If you're trying to do something more complicated, put down a VOP COP2 Generator and use the Get Attribute node with an
"op:/obj/geo1"
reference for the “Geometry File” parameter.EDIT:
Or, throw down an inline node inside your VOP COP2 Generator and use http://www.sidefx.com/docs/houdini/vex/functions/getattribute.html [www.sidefx.com]
Edited by Tristannn - Aug. 18, 2018 20:32:40
-
- Quick Links