vvp2cpp

Vertex-vertex programs written using the vv language extension to C++ can be translated to valid C++ code using vvp2cpp using the following syntax:

vvp2cpp input.vvm output.cpp

The output C++ code can then be compiled into a DLL as used by the interpreter program, vvinterpreter. An example compilation is as follows:

g++ output.cpp -fPIC -I$(QTDIR)/include -I$(VVLIBDIR) -I$(VVSYSTEMSDIR) -shared -Wl,-soname,vvmodel.so -o vvmodel.so

Note that the environment variables in the above are from the installation instructions.


Return to the main page.
Colin Smith

Valid XHTML 1.1! Valid CSS!