Skip to content

mruegenberg/mrAiVexShader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mrAiVEXShader

CVEX shader and CVEX volume procedural for Arnold. Allows you to generate colors and volume density using the full power of Houdini's VEX language.

Prerequisites

An installation of Houdini.

Compilation

  1. Get the Arnold SDK for your system and Arnold version from SolidAngle and put it in deps.
  2. Adjust the path to match your Arnold SDK and Houdini versions in compile.sh / compile.bat (depending on your system, you just need to modify the .bat (Windows) or .sh (everywhere else))
  3. Run the script for your OS from the command line
  4. Copy the resulting vexrgb.dll/.so/.dylib and vexrgb.mtd file for to your ARNOLD_PLUGIN_PATH.
  5. Copy vexvolume.dll/.so/.dylib to the dso directory in your Arnold installation (or wherever your Arnold looks for procedurals). It's easiest to put it somewhere in your ARNOLD_PLUGIN_PATH and add [ARNOLD_PLUGIN_PATH] to the Procedural Path in the System section of your Arnold settings.
  6. Install the HDAs to your Houdini (e.g by copying them to your HOUDINI_PATH or HOUDINI_OTLSCAN_PATH.
  7. Start Houdini with Arnold and have some fun. (It's theoretically possible to use this without Houdini, but you will probably use it to author the CVEX shaders anyway.)

Usage

Create a Arnold VEX Volume node in SOP level or a Wrap VEX RGB in an Arnold VOP network to create the volume procedural or shader respectively. Usage should be fairly straightworward, but note that you need to press the Updated Node button if you set a node as the VEX source and changed it for changes to propagate.

The VEX RGB shader requires a vector output named out, the volume procedural expects a (float) density output.

The samples/sample.hip file demonstrates the usage of both nodes. It will only work after pressing Updated Node on both /obj/mr_vexvolume1 and /shop/arnold_vopnet1/mr_wrapvexrgb1.

Examples

Ng modulated by some Houdini noise:

Ng modulated by noise

A fractal volume (quaternion Julia fractal) generated with a CVEX shader:

Juliabulb

About

Houdini VEX/CVEX shader for Arnold

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published