How to add a special VEX function into Compile Block?

   1322   2   0
User Avatar
Member
77 posts
Joined: Feb. 2017
Offline
Today I use a vex function called primuvconvert [www.sidefx.com]

Unfortunately it only support filename (string type) as geometry input, and I find if write it in a wrangle, the wrangle node will be non-compilable, because Compile Block seems only recognize spare input (-1, -2, … as vex function geometry input).

Can anyone help me? Thanks!
Edited by zengchen - Nov. 17, 2019 11:13:10

Attachments:
example.hipnc (71.3 KB)

My Youtube Channel [www.youtube.com]
User Avatar
Member
8537 posts
Joined: July 2007
Online
you can use “opinput:0” to access first input's geo using string, it doesn't seem to be working for spare inputs, but from VEX you can access geo of it's inputs directly within compiled network
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
77 posts
Joined: Feb. 2017
Offline
tamte
you can use “opinput:0” to access first input's geo using string, it doesn't seem to be working for spare inputs, but from VEX you can access geo of it's inputs directly within compiled network
Thanks a lot, tamte.

It works to me
Edited by zengchen - Nov. 17, 2019 12:20:01
My Youtube Channel [www.youtube.com]
  • Quick Links