VEX101 - Custom Functions (Patreon)
Published:
2018-05-31 14:41:09
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Videos
Downloads
Missing 1 full-res photo, 1 file, as this post has not yet been imported.
Content
Functions. We've been using them quite a lot in VEX. Basically every time you call something like rand() or nearpoint() we are using a function. That means calling a separate piece of code that SideFX created for us in order to provide easy access to intricate functionality (like finding points close by - which itself can be a non-trivial task).
However what if we'd like to create our very own functions for more specialized cases like subdividing a mesh? Fear not - we can create our own individual custom functions. Here's how it's done.
Files
Previews only