Jump to content

how to compile a Vex code


Recommended Posts

Hello everybody,

I downloaded from http://www.camf.com/shaderlib.html a vex shader and I was trying to install it following this instruction :

How to compile the vex code into an op type library file. (H6.x) ?

vcc -l ShaderName.otl ShaderName.vex

This will create an .otl file which can then be imported through File > Import new op type.

Ok, but it seems a bit vage to me...can anyone give me more detailed instructions??

thanks a lot,


Link to comment
Share on other sites

You can also do the compiling directly in Houdini.

1.Go to File>New Operator Type

2.Give your new OTL Name, choose Operator Style, Network Type etc.

and click Accept.

Next, go to Tools>Operator Type Manager and in the Operators tab look

for you newly created OTL. When you find it, right click on it and choose Edit Contents. Next step is to load the VFL code you got. Personally, before

I go on and load the file with VFL code I first delete the VflCode section in the Section List.

Than I load the new VFL code. For that you browse to a desired file, give

new Section a name and click Add File following Apply and Accept.

Voila! You are ready to go. If you want to test compile your new code, right

click on your new operator in the Operator Type Manager again an choose

Type Properties. You will be presented whole range of editable parameters for that OP. Click on VEX Code tab and there you will find a button for compiling.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...