Copy stamping vop attributes

   3355   3   1
User Avatar
Member
71 posts
Joined: Sept. 2018
Offline
Hi!

I'm using bind export in Point VOP to create an attribute to copy stamp. I can see my attribute name and value in the geometry spreadsheet, but I haven't found any way to access these for copy stamping.

After some research I found that point expression can be used to do this. But I have no idea how. http://www.sidefx.com/docs/houdini14.0/expressions/point [www.sidefx.com]

The Point VOP is a noise. Ideally the attribute should be driven by a ramp too. This is what I'm after, sort of:



Any help is appreciated!!!

Best,
Albin
Edited by albinioni - Jan. 28, 2019 09:51:34

Attachments:
Copy stamp attribute.hipnc (139.9 KB)

User Avatar
Member
738 posts
Joined: Dec. 2006
Offline
Try this. This uses a foreach loop/compile with a spare input for speed. In this trivial case, there is no great difference between doing this and doing the old copy/stamp way, but if you had a lot of points this would be much faster.

See this for an explanation: http://www.sidefx.com/docs/houdini/copy/tutorial_stamping.html [www.sidefx.com]

Image Not Found

Attachments:
Copystampattribute.3.hipnc (138.5 KB)

Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
71 posts
Joined: Sept. 2018
Offline
Thanks Mr. Catfish! I'll definitely take a look at that explanation!

By the way, is there a way to add a ramp to this parameter in the Copy Stamp SOP? :



I tried creating a chramp in an attribute wrangle and feed that attribute as a parameter, but to no avail.

Best,
Albin
User Avatar
Member
71 posts
Joined: Sept. 2018
Offline
I solved the issue with adding a ramp to the copy stamp variable.

I just attribute wrangle:d a chramp over @ptnum/@numpt. Very easy. Works like a charm.


Albin
  • Quick Links