Skip to content

AlexeySmolenchuk/hGeoPatterns

Repository files navigation

Let's bring Houdini proceduralism to RenderMan!

exampleimage exampleimage exampleimage

What is hGeoPatterns

hGeoPatterns is a collection of RenderMan plugins for sampling any Houdini compatible geometry. This project is a mixture of RIS and HDK functionality to make operations like sampling and reading arbitrary Houdini Geometry Data in RenderMan shading networks. Similar to familiar xyzdist(), prim_attribute(), nearpoints() VEX functions. OSL shaders, headers and VOP definitions are included to make shader authoring easy.

Whats NEW

Added oceanSampleLayer shader which calls VEX code directly and allows to render native Houdini ocean spectrum.

ocean

Installation

Use prebuilt binaries or compile for your system using this instruction.

Add root directory of hGeoPatterns to HOUDINI_PACKAGE_DIR environment variable
OR
Update the first variable in hGeoPatterns.json with absolute path to plugin root folder and put it in your $HOUDINI_USER_PREF_DIR/packages

Nodes Reference

Quick nodes overview

Examples

Examples from demo page in .hipnc format can be found here.

Limitations

  • XPU not supported

Thanks to SideFX for the extensive library and Pixar RenderMan for supporting the RixPattern interface.