it is my first question about vex

   523   4   2
User Avatar
Member
3 posts
Joined: June 2023
Offline
Hi

Sorry - it is my first question about vex

About Vex - possibilities

I can make node: - polyextrude and i can change distance parameter handly and using attribute

The question: - can i find polyextrude function inside wrangleattribute?
Can i apply to polyextrude in vex directly? for example: polyexrude.distance = 10.14
User Avatar
Member
4523 posts
Joined: Feb. 2012
Offline
Hi,

No you can't do that. If it's a verified node, you can do that using Python and APEX:
https://www.sidefx.com/docs/houdini/model/verbs.html [www.sidefx.com]

Otherwise you would have to write your own version in VEX.
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 | pragmaticvfx.gumroad.com
User Avatar
Member
447 posts
Joined: Aug. 2019
Offline
animatrix_
Hi,

No you can't do that. If it's a verified node, you can do that using Python and APEX:
https://www.sidefx.com/docs/houdini/model/verbs.html [www.sidefx.com]

Otherwise you would have to write your own version in VEX.

I'm still confused about verbs. I know how to call them in Python. But what are verbs actually? Are they defined at C++ level and compiled as native code that shipped with Houdini? Is it possible to define a verb with SOP nodes (or python, or vex?).
User Avatar
Member
4523 posts
Joined: Feb. 2012
Offline
juejuezi
animatrix_
Hi,

No you can't do that. If it's a verified node, you can do that using Python and APEX:
https://www.sidefx.com/docs/houdini/model/verbs.html [www.sidefx.com]

Otherwise you would have to write your own version in VEX.

Can you tell me how to get writable gdp in vex in HDK? Currently, I can only obtain const gdp. Do you have any information?

I am not sure.

raincole
animatrix_
Hi,

No you can't do that. If it's a verified node, you can do that using Python and APEX:
https://www.sidefx.com/docs/houdini/model/verbs.html [www.sidefx.com]

Otherwise you would have to write your own version in VEX.

I'm still confused about verbs. I know how to call them in Python. But what are verbs actually? Are they defined at C++ level and compiled as native code that shipped with Houdini? Is it possible to define a verb with SOP nodes (or python, or vex?).

This page explains it a bit:
https://www.sidefx.com/docs/houdini/model/verbs.html [www.sidefx.com]

AFAIK as of now they have to be done at the HDK level. HDAs are not supported to be verbs. I believe SESI is working on that.
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 | pragmaticvfx.gumroad.com
User Avatar
Member
101 posts
Joined: Dec. 2019
Offline
raincole
Is it possible to define a verb with SOP nodes (or python, or vex?).

A possible way to do something like this is to define a compiled block (or a compiled graph), then use the Invoke SOP (or Invoke Compiled Graph SOP) as a verb to invoke your compiled block (or compiled graph).

SideFX is using these two methods :
- compiled blocks for custom brushs in SOP-level HDA viewer state, you can take a look at the HDA Python module of the Texture Mask Paint SOP (added in Houdini20)
- compiled graphs for render-time procedurals in Solaris, they do the invoke stuff using a python script called invokegraph.pythat you can find under $HFS/houdini/husdplugins/houdiniprocedurals

Attachments:
InvokeVerb.hiplc (285.3 KB)

Houdini Pipeline Supervisor @ TAT Studio
  • Quick Links