Hi!
when I have two attributes coming from different channel and I want to connect them in a Point Wrangler, why does the Point Wrangler does not get the attributes from the second channel automatically?
I uploaded a picture to show, what I exactly mean.
In my case: I created an attribute in the Point Wrangler Node “set Vorticity” and in the node "merging the channels I want to use it without using the command point(.., …,… )
Thanks for your help !
attributes from different channels
2092 3 1- mosberlin
- Member
- 9 posts
- Joined: March 2016
- Offline
- malbrecht
- Member
- 806 posts
- Joined: Oct. 2016
- Offline
Moin,
use “pointattrib(1,…)” to retrieve the attributes from your second input.
Marc
use “pointattrib(1,…)” to retrieve the attributes from your second input.
Marc
---
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
- tamte
- Member
- 8599 posts
- Joined: July 2007
- Offline
what do you mean automatically?
if you want to get attrib of matching point (by @ptnum or some attrib like @id) of other inputs
you can use type@opinput1_attribname to get the attribute of desired type from second (or any) input
like if your vorticity attrib is float length of vorticity
etc…
if you want to get attrib of matching point (by @ptnum or some attrib like @id) of other inputs
you can use type@opinput1_attribname to get the attribute of desired type from second (or any) input
like if your vorticity attrib is float length of vorticity
f@vorticity += f@opinput1_vorticity; // to add vortocity attrib of first and second input together
f@vorticity = max(f@vorticity, f@opinput1_vorticity); // to get maximum value of vortocity attrib
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- mosberlin
- Member
- 9 posts
- Joined: March 2016
- Offline
-
- Quick Links