Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Attribute Transfer

Share your components here. First one to 100 wins!

Attribute Transfer

Postby ajk48n » Sun Jan 13, 2019 7:01 am

Here is an early making an Attribute Transfer SOP. For those that aren't familiar with Houdini, this lets you transfer an attribute from one sop to another based on distance.

In this limited example, this is hard coded to color transfer, although you can adjust the distance threshold, as well as a blend distance.

At it's base, this works by way of a glsl shader, so the input geometry can't have more than 32,768 points, although my guess is it would start slowing down long before you got there.

The geometry that you want to copy attributes to can have a fairly large point count, although the geometry that you are copying attributes from will slow things down if it has too many points.

Plug the geo that you are copying TO into the first input, and the geo that you are copying FROM into the second input.

Enjoy!

Update 1/14/19
This now works with custom attributes, as long as they are float, vec2, vec3, or vec4
Attachments
Attribute_Transfer.tox
(3.93 KiB) Downloaded 43 times
attribute_transfer.jpg
attribute_transfer.jpg (14.3 KiB) Viewed 445 times
ajk48n
 
Posts: 103
Joined: Sat Jun 06, 2015 3:48 am
Location: Sydney

Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 2 guests