How to add a special VEX function into Compile Block?

   383   2   0
User Avatar
Member
63 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)

It is the time to move to Ubuntu…
vimeo.com/zengchen
User Avatar
Member
4831 posts
Joined: July 2007
Offline
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
63 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
It is the time to move to Ubuntu…
vimeo.com/zengchen
  • Quick Links