ourouk
Hello everybody,

Is there a way to remap an attribute from a point node with a ramp ?

Something like in Houdini VOP :  attribute > fit > ramp parameter ( spline or RGB ) > attribute

thx
Quote 0 0
MOAB
If you installed openVDB then you can use the BE_Ramp for that. You have the choice to remap float or vector values using a spline or RGB ramp (like in H). I currently work on a tornado setup where I use a ramp to shape the funnel body mesh of the tornado. I will put soon the scene file.
Quote 0 0
ourouk
I saw about BE_Ramp but didn't know about using it with "standard" attributes ( not related to any vdb )
I am working on something close to a tornado too ;)

Thanks, will check that.

EDIT : don't seems to work as I am remaping a radiusPP attribute ( from a point node )...

point1 > BE_ramp > displayComponents ( DisplayComponents only display the [1] value of the ramp )
Quote 0 0
pshipkov
remapArray does fitting.
I was debating back then should i add a ramp lookup, but went against it at the end.
Will add it to the node at some point later - it is pretty easy.

There are many ways to achieve that with SOuP nodes and some python code glue, but the workflow will be lacking. Let me know if that does not sound concerning and i can show you how you can do it.
Quote 1 0
pshipkov
Just spent a moment to add a ramp lookup to the remapArray node. Will be in the next update.
Let me know if you need it and i can try to provide you with a one off build.
Quote 1 0
MOAB
In my setup I remapped the weight values with the BE_Ramp.
What I did is I created a point node to assign weight values for each vertices depending on the rows & columns of the mesh... each vertices on a row will have the same weight values. The first row vertices will have a value of 0 while the last row vertices will have 1.0. For that I used the modulo operator. Then I remapped the weight values with the BE_Ramp and I used those remapped values with the peak node to push vertices along their normals.

BE_Ramp1.jpg  BE_Ramp2.jpg
Quote 0 0
MOAB
Just spent a moment to add a ramp lookup to the remapArray node. Will be in the next update.
Sounds great Peter thx a lot
Quote 0 0
ourouk
pshipkov wrote: Just spent a moment to add a ramp lookup to the remapArray node. Will be in the next update.
Let me know if you need it and i can try to provide you with a one off build.


I don't "need" it as I managed to remap my attribute.
But thanks for the ramp lookup, I'll use it as soon as the next update is out.
Quote 0 0
ourouk
MOAB wrote: In my setup I remapped the weight values with the BE_Ramp.
What I did is I created a point node to assign weight values for each vertices depending on the rows & columns of the mesh... each vertices on a row will have the same weight values. The first row vertices will have a value of 0 while the last row vertices will have 1.0. For that I used the modulo operator. Then I remapped the weight values with the BE_Ramp and I used those remapped values with the peak node to push vertices along their normals.


Wow very nice ! thanks for the information, will try that too.
Quote 0 0

Add a Website Forum to your website.