Lucas Pelletier
Lucasdooka
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Creating vector with attributes ? Help needed logical problm July 22, 2022, 3:22 p.m.
Hi everyone,
so i want to create a vector attribute that has xyz where xz are static floats and y is the actual y position.
I would have thought putting it as such :
v@centerpos = (0, @P.y, 0)
but when I do so all it does is full the xyz with the z value in the geometry spreadsheet and I cant figure out why NOR how to solve it... anyone can tell me what I'm missing ?
ie : if i put (0, @P.y, 1) i get : 1 everywhere and if i put (0.0.@P.y) i get P.y on all three fields (xyz).
so i want to create a vector attribute that has xyz where xz are static floats and y is the actual y position.
I would have thought putting it as such :
v@centerpos = (0, @P.y, 0)
but when I do so all it does is full the xyz with the z value in the geometry spreadsheet and I cant figure out why NOR how to solve it... anyone can tell me what I'm missing ?
ie : if i put (0, @P.y, 1) i get : 1 everywhere and if i put (0.0.@P.y) i get P.y on all three fields (xyz).
questions : Ramp from attribute not taking point numbers ? How to group colors into similar colors ? (quantize ?) May 18, 2018, 11:30 a.m.
Hi Fellow houdini users !
I'm really just beginning my exploration of this magnificent software and am encountering 2 problems in my current project :
1 - using a color Sop im choosing Ramp from attribute and I can't get it to ramp the color based on the point numbers ? It seems so intuitive and logic but there's probably a catch because it doesn't work when I put Ptnum or P or N, in the attribute field ? Is there a resource as to what are the valid values for the attribute field ?
2 - Is there a way to - lets say I have a nice variety of colors in the range of the rainbow to reduce the number of colors (as the quantize would do in Substance Designer) so that I end up with 7 colors for example instead of all the subtle variation ?
thanks for your support and cues to improve my understanding !
I'm really just beginning my exploration of this magnificent software and am encountering 2 problems in my current project :
1 - using a color Sop im choosing Ramp from attribute and I can't get it to ramp the color based on the point numbers ? It seems so intuitive and logic but there's probably a catch because it doesn't work when I put Ptnum or P or N, in the attribute field ? Is there a resource as to what are the valid values for the attribute field ?
2 - Is there a way to - lets say I have a nice variety of colors in the range of the rainbow to reduce the number of colors (as the quantize would do in Substance Designer) so that I end up with 7 colors for example instead of all the subtle variation ?
thanks for your support and cues to improve my understanding !