XaiJu
entagma
entagma

patreon


VEX101 - Starting A Function Library

You asked for it (and some of you also already answered it): How do you save your custom functions into an external file, so you can build your own library of functions?

This Quicktip goes over saving out your functions into an external header file.

VEX101 - Starting A Function Library

Comments

Heyhey, maybe this helps: https://youtu.be/Ey4mUTZG2Ys?t=74 Cheers, Mo

Entagma

I can't find the Houdini.env file on my Mac, what should I do?

Chris Swift

Works here -what platform are you on? Cheers, Mo

Entagma

Vimeo link broken.

JORGE LEGA

Save it to a .h (header) file, make sure your houdini.env file points to the path of that file, then #include it. Just like we did in that video :) Cheers, Mo

Entagma

How can I retrieve a function I wrote in one wrangler from another wrangler?

reaze

Very usefull! Thank you!

julien morneau

Hi Christoph, Passing an attribute as an argument to your custom function should work. However using the @-shorthand in your custom function's code should not, as Houdini doesn't know in which context you're gonna run your functions (points, vertices, prims, details) and as there is no general shorthand for context independent attribute access you'll have to rely on the explicit form using point() prim() or detail() to access your attributes within a custom function. Cheers, Mo

Entagma

A general question on the subject: Integrated attributes in a function are not possible?

reaze

Thank You very much! Moritz and Manuel: I really appreciate Your work.

Massimo Baita


More Creators