New VEX Functions in H19.5

   2141   5   2
User Avatar
Member
4516 posts
Joined: Feb. 2012
Offline
VEX Functions [www.sidefx.com]


ATTRIBUTES

priminteriorweights
Finds the indices and weightings of the vertices that will compute an interior point given the UVW coordinates.

removedetailattrib
Removes a detail attribute from a geometry.

removepointattrib
Removes a point attribute from a geometry.

removepointgroup
Removes a point group from a geometry.

removeprimattrib
Removes a primitive attribute from a geometry.

removeprimgroup
Removes a primitive group from a geometry.

removevertexattrib
Removes a vertex attribute from a geometry.

removevertexgroup
Removes a vertex group from a geometry.

removeattrib
Removes an attribute or group from the geometry.

vertexcurveparam
Returns the parametric coordinate of a vertex along the perimeter of its primitive.


CROWDS

agentcliplayerblend

Blends values according to an agent’s animation layers.

agentfindclip
Finds the index of a clip in an agent’s definition.


HEX

hex_adjacent

Returns primitive number of an adjacent hexahedron.

hex_faceindex
Returns vertex indices of each face of a hexahedron.



NOISE AND RANDOMNESS

curlgxnoise

Computes divergence free noise based on simplex noise.

curlgxnoise2d
Computes divergence free noise in the plane based on simplex noise.

gxnoise
Evaluates a simplex noise field.

mx_voronoi
MaterialX compatible Voronoi noise


STRINGS

makevalidvarname

Forces a string to conform to the rules for variable names.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
User Avatar
Member
192 posts
Joined: April 2015
Offline
Always the most excited for VEX functions, for some reason.
(Event tho I was the kindof guy who started of Houdini asking "Do I need to learn to program?" and stuff, being happy that 'I didn't have to')

They always seem to come more in the .5 release.

removepointattrib

Finally no need for AttribDelete SOPs anymore.
Edited by OdFotan - July 22, 2022 02:05:14
User Avatar
Member
622 posts
Joined: Nov. 2013
Offline
Thanks!
User Avatar
Member
166 posts
Joined: March 2014
Offline
OdFotan
removepointattrib

Finally no need for AttribDelete SOPs anymore.
While the new functions are great to have, I do prefer a network with lots of regular SOPs to one that has wrangle after wrangle.

When coming back to a scene after a few weeks and I see "attribdelete3", I immediately understand what it does. On the other hand, if I see "pointwrangle19", what does that do exactly? I need to click it, read and understand the code. And most likely it doesn't just remove an attribute, it does five other things as well.

As such, I don't think I'll stop using Attribute Delete (even though I prefer the Clean SOP to delete attributes because it doesn't care about the attribute class and can remove groups too).
User Avatar
Member
622 posts
Joined: Nov. 2013
Offline
For hex_adjacent function, Where is hexahedron used? How to create it?
User Avatar
Member
7771 posts
Joined: Sept. 2011
Offline
jerry7
For hex_adjacent function, Where is hexahedron used? How to create it?

hexahedrons can be created with the box sop. The lattice from volume node can also create hexahedrons rather than tetrahedrons.
Edited by jsmack - July 22, 2022 13:29:26
  • Quick Links