how to deel with .vfl file?

   12043   7   2
User Avatar
Member
288 posts
Joined: July 2005
Offline
it seems that it is a shader file, how to use it?
^_^
User Avatar
Member
196 posts
Joined: July 2005
Offline
.vfl is a source code file for vex. These can be compiled for a number of contexts… shading is one of them. Theres a big tutorial on creating VEX code in the shader pdf.

Good luck
Henster
User Avatar
Member
288 posts
Joined: July 2005
Offline
thank u . I will read shader pdf later.
^_^
User Avatar
Member
639 posts
Joined: July 2005
Offline
vcc -u myVEX.vfl

type vcc -h to get help.

I think to generate an otl file, you just set the -l flag… I can't quite remember… ops:
User Avatar
Member
412 posts
Joined: July 2005
Offline
if you wanna compile it with vcc, here's the page i used to learn how to do it:

http://www.3dm.org/vex/surface.html [3dm.org]

but i say nuts to that.. much easier way now..

open your vfl in a text editor… select all and copy it.

go to file->new operator type..

give it a name and a label.. make it VEX.. and a surface shader (i presume.. if not, change it to what it is)…save the library somewhere..install it to that HIP file or houdini itself.

hit accept. go to the VEX Code tab. select anything in there and delete it.. now paste in the copied code from your text editor of the vfl..

hit accept and now you have your shader under the name you gave it before..

enjoy..

dave
Dave Quirus
User Avatar
Member
196 posts
Joined: July 2005
Offline
good tip dave! I've been living in the dark ages.

…reminds me of MEL.

Cheers
H
Henster
User Avatar
Member
124 posts
Joined: July 2005
Offline
I have been trying this method and keep getting the error “<unknown> Error(-1) Expecting open brace” I have carefully gone through several and they all have the same number of open and close brackets. Any idea why this would be. I'm using 6.1.208.
User Avatar
Member
1631 posts
Joined: July 2005
Offline
Hey jjstanley,

Please post the .vfl here so we can see if anything's wrong with the code.

Cheers!
steven
  • Quick Links