AlexeySmolenchuk / hGeoPatterns

Collection of RenderMan plugins for sampling Houdini geometry.

Home Page:https://alexeysmolenchuk.github.io/hGeoPatterns/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lets bring Houdini proceduralism to RenderMan!

Set of RIS patterns using native HDK functionality to make operations like sampling and reading arbitrary Houdini Geometry Data in RenderMan.

RIS Patterns

SamplePoints

Sample closest points from file and store their sorted indexes and distances in ArrayData structure for further reading. Similar to pcopen/nearpoints vex functions.

ReadAttribute

Read specified point attribute from ArrayData structure indexes. Empty filename means using the same file.

Closest

Shader similar to xyzdist vex function. Allows you to find the closest point on the surface/spline and store it in ClosestData structure for further reading.

Interpolator

Read interpolated attribute value from ClosestData structure. Similar to prim_attribute vex function. Empty filename means using the same file.

OSL Patterns

OSL shaders are examples demonstrating various usecases.

BuildCoords

SampleTexture

Ripples

VOP structures

Custom structures defined in C++ and OSL headers also defined as houdini vop type in vop/structs.json, which allows you to work with this structures in OSL Generic Shader Builder.

Note about derivatives in OSL and RIS

About

Collection of RenderMan plugins for sampling Houdini geometry.

https://alexeysmolenchuk.github.io/hGeoPatterns/

License:MIT License


Languages

Language:C++ 83.3%Language:CMake 8.3%Language:C 4.9%Language:Python 2.0%Language:Batchfile 1.5%