Happy Rendering with VEX
VEX Sample Codes I
VEX Sample Codes II
VEX Sample Codes III (by ShadeTree)
VEX Sample Codes IV (from SESI)
VEX Sample Codes V (from our customers)
VEX Library (all source codes and .hips)
Version 1.1: December 2000 - several examples from SESI website
Version 1.0: October 2000 - ShadeTree examples and VEX Library have been added.
Version 0.9: January 2000
RenderMan shaders taken from RManNotes have been converted into VEX codes. This is just a start. Improve the shader.
Here are shader examples created by using ShadeTree (from Cinema Graphics Inc.) for VMantra. ShadeTree is an interactive shader language authoring tool and is able to export ShaderSource(.vfl), Compiled Shader (.vex), Render Interface (.ifd) and Shader Interface (.ds). ShadeTree also lets you see what your shader will look like by using test render button. Some of the below shaders can be compiled if you delete #include "STREE_math.h" statement.
Here are shader examples taken from SESI website - The VEX Exchange section. As some of them (such as Fog, Shadow, Cop) are hard to understand only by looking at the small images, please read #pragma help in .vfl files for details.
Here are shader examples from our customers.
To preview your VEX shader quickly, start Houdini and place the Generic surface SHOP for the surface shader. Write a vex name with parameters (stained_glass or stained_glass.vex) in the VEX Mantra field and go render with vmantra.
Nuff respect to Mark Elendt-san (Side Effects Software Inc.) for a lot of VEX Tips.