Hscript VOP network

A way to make a vop network in Hscript.

VOPs in Hscript!

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 02:24 PM

# Creates a really basic texture map is VOPs.
# Author: Dan Lynch

opcd /vex;
opadd surface new;
opparm new englishname newsurf;
opcd new;
opname output1 out;
#opadd global global;
opadd texture texture;
opparm texture map $HFS/houdini/pic/CalWedge.pic;
opadd shadinglayer shadinglayer;
opadd vectofloat vectofloat;

# wires shadinglayer and vector to float

opwire -o 0 shadinglayer -0 vectofloat;

# wires to s and t in texture

opwire -o 0 vectofloat -1 texture;
opwire -o 1 vectofloat -2 texture;
opadd lighting lighting;
opwire -o 0 texture -4 lighting;
opwire -o 0 lighting -0 out;

Download: vopmaker.sh 614 B

Please login or Click Here to register for downloads
Creative Commons License
Hscript VOP network by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com