Search - User list
Full Version: How to compile the .vfl file
Root » Technical Discussion » How to compile the .vfl file
Xiangbiao
In VOP builder, I made a Surface shader.
In it, placed a skin node, wired color to Cf,
Then placed a parameter.
Tried to use it in SHOP. Good.
Enter Command Line Tool,
I enter the folder where the .vfl file exist,
vcc -u VEX_Skin.vfl
then copy the VEX_Skin.vfl and VEX_Skin.vex to $HOME/houdini/vex/Sop
copy the VEX_Skin.ds to $HOME/houdini/vex/Dialogs/Sop
Edit VEXsop file in $HOME\houdini\vex by adding the line:
VEX_Skin vex/Dialogs/Sop/VEX_Skin.ds -inputs 2 -label “VEX Skin”
Restart Houdini, in SHOP, TAB, no such item.
Why?
Thank you.
The version is 5.5.230.
Xiangbiao
Though in SHOP, I can't find such item,
but today, accidently, I find such entry in SOP.
I wonder is this correct?
Thank you.
mtucker
This is because you put the entry in the vex/VEXsop file. This file is where you list all VEX based SOPs. If it is a surface shader you wrote, remove the entry from the vex/VEXsop file, and put it in shop/SHOPsurface. Then it should appear as a SHOP. I'm a little confused by the “-inputs 2” you put in the index file, because SHOPs do not have inputs. I would suggest getting rid of that when you move to the SHOPsurface file.

Mark
Xiangbiao
Thank you.
I copied the .ds file to $HOME/houdini5.0/shop,
and modified SHOPsurface file.
The information about this is at
2 VEX Scripting/ 4 Creating a VEX Surface Shader.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB