Skip to content
devanshutak25Public

About

Cycles renderer for SideFX Houdini

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

76 Commits

Folders and files

Repository files navigation

Cycles for Houdini 22

Blender's Cycles path tracer as a Hydra render delegate for Houdini 22 (Solaris and husk), with NVIDIA GPU rendering (OptiX / CUDA), denoising, Cycles shader nodes laid out like Blender, and Blender-style render settings.

This is the houdini-22 branch of hcycles, also on GitHub as devanshutak25/hcycles. The cycles submodule is a Cycles fork (devanshutak25/cycles, branch hc/hydra) carrying the Cycles and Hydra changes; this repository holds the Houdini plugin (houdini) and its documentation (doc). It started as a fork of cjhosken/hdCycles.

Status: work in progress. Daily lookdev with Cycles shaders, Karma/MaterialX materials, USD lights, light and shadow linking, volumes, primvars as shader attributes, AOVs, light groups, per-object and per-light settings, motion blur and OSL works, in the viewport, husk and TOPs; see Known issues. The Cycles core follows Blender's Cycles 5.3 (blender/cycles main, October 2026, plus the later Cycles fixes of Blender main), including the DLSS viewport denoiser.

Documentation: doc/index.md (install, quick start, render settings, materials, lights, world, AOVs, troubleshooting, developer notes).

Tested with

Houdini 22.0.429 (USD 26.05), Windows 11
GPU NVIDIA RTX 4090, OptiX 8.0 SDK, CUDA 12.8, DLSS SDK 310.9.1 (DLSS viewport denoiser confirmed working with driver 621)
Other plugins Loads alongside Arnold (HtoA): Embree is linked statically without SYCL

Linux and macOS builds have not been tested on Houdini 22.

What works

Area State
Rendering in the Solaris viewport and with husk Works
GPU rendering OptiX and CUDA, chosen automatically (OptiX > CUDA > CPU), results match the CPU. GPU Devices picks which GPUs render, Use CPU Too adds the CPU to husk renders (like Blender's Render Devices)
Denoising OpenImageDenoise (GPU or CPU) and OptiX; DLSS Ray Reconstruction for the viewport, with a viewport Upscale Mode (untested) (needs an NVIDIA RTX GPU, driver 620 or newer and a build made with the DLSS SDK; final renders and other GPUs fall back to OpenImageDenoise or the fastest available denoiser)
Shaders All user-facing Cycles shader nodes (100, including Cycles 5.3's Integer Math, Boolean Math and Get Vector Component), as Houdini VOP nodes inside a USD Cycles Material Builder, plus three nodes of the delegate: Parallax Occlusion, Dome Texture and Outline (ray-traced lines like Karma's, untested). The Geometry node's Pointiness and Random Per Island work like Blender's
Material settings Displacement (bump, true displacement, both), Emission Sampling, Transparent Shadows, Bump Map Correction, Volume Stack Priority (nested dielectrics) and the volume Sampling, Interpolation and Step Rate: the Settings tab of the USD Cycles Material Builder, like Blender's material Settings panel (config:cycles:* attributes on the material)
Shader node UI Blender 5.3 order, labels, menus, collapsible panels, hide rules and default values. Color Ramp and Float/RGB/Vector Curves are Houdini ramp parameters, angles are in degrees like Blender, and the Raycast node reads up to 4 attributes at the hit point
MaterialX / Karma materials Karma and MaterialX Material Builder materials are translated to Cycles nodes: Standard Surface, UsdPreviewSurface and glTF PBR as the Principled BSDF, OpenPBR as the Cycles OpenPBR BSDF, plus about 100 MaterialX nodes (images, math, noise, color, geometry, closures); node graph nodes from the MaterialX libraries are expanded. Karma Hair with Base, Tint, Thickness Scale, Diffuse and MaterialX nodes on its inputs. Matches Karma within a few percent in the tests
USD lights Sphere, rect, disk, distant and dome lights match Karma within 1% (normalized and not). Point-instanced lights, one light per instance. Geometry lights (Geometry Light LOP, untested)
World shaders A dome light's World Material (Cycles tab) makes any Cycles material the world, like a Blender world: Background shader surface (Sky Texture, HDRIs, procedurals) and world volume. Cycles Sun & Sky LOP: physical sky with sun disc, sun placed by elevation/azimuth or location, date and time, optional fog box and Distant Light (untested). Dome light Exposure, Saturation and Rotation quick adjustments (untested). Karma's Physical Sky LOP: Dome Light mode matches Karma, Atmospheric mode is approximated. See doc/world.md
Light linking Light and shadow linking from the lights' lightLink / shadowLink collections (Light Linker LOP), like Karma, also on native instances and point instancers
Render settings Cycles Render Settings LOP, a Cycles tab on the stock Render Settings LOP, and viewport display options, all laid out like Blender's render properties. A Blender Defaults button on the LOP sets Blender's final-render defaults (keeping GPU denoising). Curve shape: Rounded Ribbons or 3D Curves. Material Override (clay renders), Karma's Override Lighting (untested), farm aborts (Abort Without GPU, Abort on Missing Textures), and Karma's common render, object and light settings used when the Cycles ones are not set
Interactive edits Moving/editing lights, objects, materials and settings updates the render. Motion blur, the shutter and primvar AOVs change without restarting the render. Texture files changed on disk reload on the next material edit or with Reload Textures in the viewport's renderer menu; Copernicus op: textures follow COP edits (untested in the GUI); UDIM (<UDIM>) textures
Viewport Free view and looking through a camera. Starts each change at a lower resolution like Blender (Start at Low Resolution in Performance > Viewport). Image updates every 0.2 s (Cycles slows to 2 s after a while); on a 2K viewport about 15 images per second while tumbling
Stability No crash on quit, renderer switch or device change
Units Stages with metersPerUnit 1 and 0.01
Volumes VDB files, .bgeo volumes, and VDB or native Houdini volumes made in SOPs inside a LOP stage; volumes without a material show their density
Primvars USD primvars are Cycles attributes for the Attribute, UV Map, Vertex Color, Normal Map/Tangent and USD Primvar Reader nodes, MaterialX geometry nodes and OSL getattribute: every interpolation on meshes (also subdivided), curves and points, constant primvars on volumes, float/double/half/int/bool scalars, vectors and arrays. Houdini's attribute names work too: Cd, Alpha, uv, v, accel find displayColor, displayOpacity, st, velocities, accelerations and the other way round. Face-varying normals (Houdini vertex N) are used. Instance primvars: per-point primvars of point instancers (Houdini Instancer LOP, SOP Import of packed primitives) and constant primvars on native instances reach the prototypes' shaders; the prototype's own primvar wins, then the innermost instancer, like Karma
Baking Texture baking like Blender's: Bake Object (Bake panel) renders a mesh's UV space; every render var bakes (combined, albedo, normals in tangent/object/world space, AO, emission, AOVs), with a margin. Cycles Bake (Setup) Tab tool. UV map, instance and Selected to Active settings (untested). See doc/render-settings.md
Geometry Meshes, curves (linear, Bezier, B-spline, Catmull-Rom; periodic and pinned), points, Gaussian splats (ParticleField3DGaussianSplat), and implicit USD shapes (Sphere, Cube, Cone, Cylinder, Capsule, Plane) as smooth meshes with texture coordinates laid out like Blender's primitives (UV sphere, cube cross layout); the cube is flat shaded. TetMesh, NurbsCurves and NurbsPatch through Hydra's conversions (untested)
Motion blur Object transforms, deformation of meshes, curves and points (time samples, velocities, accelerations), point instancers (also nested; velocities and angular velocities), volumes with velocity fields (Houdini vel or vel.x/y/z) and the camera, over the camera shutter (Motion Blur in the render settings, with Motion Steps like Blender's). A Vector (motion vector) pass like Blender's when motion blur is off. Animated curve widths blur. Untested: Karma-style Transform / Deformation Samples and velocity blur modes, the camera Shutter Curve, zoom blur from an animated focal length, Gaussian splat scale / orientation / opacity blur
AOVs Pass toggles on the Cycles Render Settings LOP like Blender's View Layer Passes (Data, Light, Cryptomatte, Shader AOV, Light Groups) plus primvar AOVs, any Cycles pass as a render var, shader AOVs from the AOV Output node, Karma's common light path expressions and the Karma Render Settings LOP's AOVs mapped to Cycles passes, Cryptomatte with manifests, one image per pass (Split Render Product by Render Var), husk image filters, Light Group per Light (one light group pass per light in one click), USD render passes (husk --pass: prune, visibility, camera visibility and matte collections). Every render var shows in the viewport's Render Outputs menu and in slap comps (live, and the Slap Comp Import COP)
Batch rendering husk, the USD Render ROP and TOPs (USD Render Scene, USD Render Files, ROP Fetch). The Cycles Render Settings LOP is the stage's default render settings, like Karma's. Crop windows (dataWindowNDC) and non-square pixels match Karma. Checkpoints to resume a stopped husk render (untested)
Textures Texture cache: tiled, mipmapped .tx files are used, and can be generated automatically into a cache directory (Performance > Texture Cache); Texture Size Limit (Simplify)
Per-light settings Max Bounces, Multiple Importance, Shadow Caustics, ray visibility and Light Group: Cycles tab of the Light LOP. USD/Karma Diffuse and Specular multipliers at any value, shadow enable and color, Karma light filters (gobo, gel, barndoor, blocker, attenuation)
Per-object settings Ray visibility (also Raycast), shadow catcher, holdout, shadow caustics, shadow terminator, AO distance: Cycles tab of the Render Geometry Settings LOP. Settings on instanceable prims apply to their native instances
OSL Open Shading Language render setting (CPU and OptiX). Cycles Script node for .osl/.oso files like Blender's Script node, and Houdini's own OSL shader nodes (OSL Generic Shader Builder) in Cycles materials
Tab menu Cycles nodes grouped like Blender's Add menu (Input, Output, Shader, Displacement, Color, Texture, Utilities/Math, Utilities/Vector)

Look changes

A scene can render differently from older builds of this fork, from cjhosken/hdCycles, or from Blender. Only the changes visible in renders are listed; the full changelog comes with the release.

Compared with older builds and cjhosken/hdCycles:

  • Blender's defaults: Automatic sampling pattern (blue noise), the approximate shadow catcher in the beauty (the viewport, and final renders without a Shadow Catcher pass), viewport denoising with Albedo only, Object Info Alpha from displayOpacity (else 1).
  • Viewport adaptive sampling uses Blender's viewport settings (threshold 0.1, automatic min samples): the viewport stops sooner and stays a bit noisier. Final renders are unchanged.
  • Lights: shadow:enable off gives a white shadow color on every light, so with Multiple Importance on, areas behind blockers get the full unshadowed light (before: Cast Shadow off, darker). shadow:color, Karma's shadow:distance, Diffuse/Specular multipliers other than 0 and 1, and Karma's attenuation light filter now apply (before: ignored).
  • Karma's Physical Sky renders a sky (before: nothing).
  • UsdUVTexture r, g, b outputs read their channel (before: the luminance), which changes packed ORM textures.
  • MaterialX retroreflective on dielectric, conductor and generalized Schlick BSDFs is used (before: ignored).
  • OpenPBR follows Blender's merged version: anisotropic thin-walled glass roughness, scatter anisotropy in the interior volume, OSL emission under the coat.
  • MaterialX standard_surface reads all 42 inputs (untested): a transmission_depth above 0 is an interior volume, so thick parts of such assets render darker (before: depth ignored); dispersion, extra transmission roughness (on the refraction only, the reflection keeps specular_roughness), coat affect color and roughness and the scatter inputs now apply; coat_anisotropy and coat_rotation only print a warning; opacity is its luminance.
  • UsdUVTexture with no wrap authored (or useMetadata) uses the wrap mode stored in the texture file, like Karma (.exr, .tif and .tx wrap modes, the swrap option of .rat files), and is black outside 0..1 for files without one, as the USD spec says (before: repeated); <UDIM> and <UVTILE> images clamp at their tile edges (before: a seam blended from the opposite edge or black); connected scale and bias apply (before: ignored) (untested).
  • Left-handed meshes that Cycles subdivides (the SOP Import default) are no longer inside out (untested): their normals face outward, so displacement goes outward and Backfacing, glass and refraction see the right side.
  • Face-varying normals that point against a triangle's winding are flipped towards it (untested): such faces rendered black before.
  • Invalid meshes and curves (indices past the points, missing or short points, out of range GeomSubset faces) render empty with a warning instead of crashing or showing garbage (untested).
  • Light passes and light group passes asking for denoising are denoised (before: noisy).
  • Motion blur: focal length, f-stop and focus distance are sampled over the shutter (off-centre shutters and animated depth of field change); particles with age and life blur only over their lifetime.
  • Curves in scenes with a Karma Render Settings LOP render as round tubes (3D Curves), like Karma (untested): the LOP authors Karma's Render Curves As (default Rounded Curves), which now picks the curve shape while no Cycles Shape is set (before: flat ribbons). Karma's Width Scale and Fix Shadow Terminator off now apply too.

Compared with Blender: lights are hidden from camera rays by default (like Karma). Light shadow color and shadow distance, Diffuse/Specular multipliers on lights, shutter-sampled camera optics and point lifetimes are additions to the Cycles core that Blender does not have; they change nothing unless a scene uses them.

Known issues

The full, current list is in doc/troubleshooting.md. The ones most likely to matter:

  • GPUs: NVIDIA (OptiX, CUDA) and the CPU only; AMD (HIP) and Intel (oneAPI) GPUs are not enabled. Run one GPU render at a time: two renders on the same GPU (for example the viewport and a husk job) can stall one of them.
  • OSL: on the GPU only OptiX runs OSL, and OSL shaders cannot trace rays there: the Ambient Occlusion, Bevel and Raycast nodes, and the Karma AO, Curvature, Rounded Edge and Distance nodes of Karma materials, do not work with OSL on OptiX. Use SVM (OSL off) for these nodes on the GPU. The first OptiX render compiles every OSL shader.
  • AOVs: Cycles has no light path expression engine: only Karma's common expressions map to Cycles passes, other expressions render black.
  • World volumes absorb the sky and distant lights completely, as in Blender: for fog lit by a sky or sun, use a fog box (the Fog option of the Cycles Sun & Sky LOP), see doc/world.md.
  • Viewport: Houdini 22 draws no viewport overlays (light guides, selection wireframes) over the Cycles image.
  • Features marked untested in the manual are built in but have not been checked in a render yet.

Roadmap

Planned before version 1.0: a light path expression engine, deep EXR output, Karma parity work (per-object fake caustics, outline render settings and AOVs), a full MaterialX check against Karma, Ptex, instancing of very large point sets, native Hydra 2.0 scene indices, and AMD (HIP) and Intel (oneAPI) GPUs. After 1.0: Linux and macOS builds, OSL ray tracing on OptiX, and a caustics solver.

Building

Full instructions: the Cycles fork's BUILDING.md, section Hydra Render Delegate for Houdini. In short, on Windows with Visual Studio 2022, CMake, Ninja, Git LFS, the CUDA Toolkit and the OptiX 8 SDK headers:

git clone --recurse-submodules -b houdini-22 https://projects.blender.org/cjhosken/hcycles.git
cd hcycles\cycles
.\make.bat update
cd ..
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release ^
  -DHOUDINI_ROOT="C:/Program Files/Side Effects Software/Houdini 22.0.429" ^
  -DWITH_CYCLES_HYDRA_RENDER_DELEGATE=ON ^
  -DWITH_CYCLES_DEVICE_CUDA=ON -DWITH_CYCLES_DEVICE_OPTIX=ON ^
  -DWITH_CYCLES_DEVICE_HIP=OFF -DWITH_CYCLES_DEVICE_ONEAPI=OFF ^
  -DWITH_CYCLES_STANDALONE_GUI=OFF ^
  -DWITH_CYCLES_CUDA_BINARIES=ON ^
  -DOPTIX_ROOT_DIR="<path to OptiX SDK>" ^
  -DCYCLES_CUDA_BINARIES_ARCH="sm_75;sm_86;sm_89;sm_120;compute_75" ^
  -DEMBREE_ROOT_DIR="<path to static Embree without SYCL>"
cmake --build build
cmake --install build
  • Build Embree 4 as a static library without SYCL (EMBREE_STATIC_LIB=ON, EMBREE_SYCL_SUPPORT=OFF). The precompiled Embree needs the SYCL runtime, which conflicts with other plugins such as Arnold.
  • The install step runs Houdini's hython to generate the shader nodes and render settings UI, so it needs a Houdini license.

Using it in Houdini

  1. Copy install/houdini/packages/cycles.json into Documents/houdini22.0/packages (adjust the path inside it if you move the install), or start Houdini with PXR_PLUGINPATH_NAME=<install>/houdini/dso/usd_plugins.
  2. In Solaris, pick Cycles in the viewport's renderer menu.
  3. Materials: in a Material Library LOP, create a USD Cycles Material Builder and build the shader from the Cycles nodes inside it.
  4. Settings: use the Cycles Render Settings LOP (or the Cycles tab of the Render Settings LOP). Viewport-only settings are in the viewport's display options.
  5. Batch rendering: husk -R Cycles scene.usd.
  6. OSL: turn on Open Shading Language in the Device panel of the render settings (CPU or OptiX). Add a Cycles Script node (Tab menu Cycles > Script), pick an .osl or .oso file and press Load Shader: the node gets the shader's inputs and outputs (its type is saved in the hip file). Houdini's OSL Generic Shader Builder also works inside a Cycles material.
  7. Motion blur: turn on Motion Blur in the render settings; the shutter is the camera's (Shutter Open/Close). Changing either no longer restarts the viewport render. Curves, points, instancers and volumes with velocity fields blur too. The Vector pass (Passes > Data) gives Blender-style motion vectors when Motion Blur is off; it needs samples at the previous and next frame (e.g. a Cache LOP). Animated LOP parameters only have the current frame: cache samples with the Motion Blur LOP, as for Karma.
  8. Attributes: an Attribute node (or USD Primvar Reader, MaterialX geometry nodes, OSL getattribute) reads any primvar by name: Houdini names work (Cd, uv, Alpha), as do per-point attributes of instancers.
  9. Textures: after overwriting a texture file, use Reload Textures in the viewport's renderer menu.
  10. Light groups: set a Light Group on the Cycles tab of the Light LOP (Render Geometry Settings LOP for emissive objects), and add the same name under Light Groups in the passes of the Cycles Render Settings LOP, which writes it as Combined_<name>.

Device: AUTO by default (best GPU, then CPU). Override with the cycles:device render setting (AUTO, OPTIX, CUDA, CPU) or the CYCLES_DEVICE environment variable, e.g. CYCLES_DEVICE=CPU husk -R Cycles scene.usd.

Changes from the source repository

Compared with main of cjhosken/hdCycles, this fork adds the commits below (about 16,700 lines, most of them the generated blender_node_layouts.json). The Houdini shader node generator is ported from that repository's shaders branch, by Christopher Hosken. Everything else is new.

Build and packaging for Houdini 22

Change Why Commit
Link hdsi when building against Houdini Houdini 22's USD 26.05 libraries leave it out, so linking failed ca48d2cb4
Use Houdini's OpenImageDenoise Houdini loads its own OIDN 2.3 with the same file name as the precompiled 2.5 d7c53a3c0
Fix MaterialXCore not being linked The CMake block used an undefined variable d04a1e39e
Fix the plugin resource path It was one directory off, so the CUDA/OptiX kernels in lib/ were not found 5fae6c8aa
Register the delegate in UsdRenderers.json Without it Cycles is missing from the Solaris renderer menu and husk -R Cycles 301887910
Allow a static Embree without SYCL (EMBREE_ROOT_DIR), don't ship the SYCL runtime The precompiled Embree needs sycl8.dll, which clashes with other plugins (Arnold) and stops Cycles loading 4edfd12f9
Generate shader nodes, render settings UI and the Cycles Render Settings LOP at install time with hython New Houdini install step (houdini/CMakeLists.txt) 3653a9084, 16f63cd20, 8abcbdb5f
Allow OSL with an OSL built against Houdini's OpenImageIO (OSL_ROOT_DIR), static OSL, link USD ar The precompiled OSL links Blender's OpenImageIO 3.1, which cannot be mixed with Houdini's 2.5 5476bf7e4, 298aa4da1
Merge Cycles main from blender/cycles (159 commits up to 3eb35f859, Cycles 5.3) DLSS, new nodes and fixes from upstream; conflicts resolved for the Vertex Color node, volume names and object visibility 4bc6af713
WITH_CYCLES_DLSS and DLSS_SDK_ROOT options, FindDLSS.cmake, the conforming preprocessor for the DLSS SDK headers on MSVC Upstream only enables DLSS in Blender's own build de6ed1d84
Set WITH_EMBREE in the standalone build Upstream renamed the Embree conditions for Blender's build, so standalone Cycles silently built without Embree d171a557f
WITH_CYCLES_PATH_GUIDING option, the versioned precompiled OpenPGL directory, and a shared OpenPGL (openpgl_DIR) installed with the plugin The option was never declared, so path guiding was never built; the static OpenPGL cannot be linked next to a static Embree 3c859c27f
Cherry-pick the 23 Cycles commits of Blender main after the last blender/cycles sync (texture cache, multi-GPU and path guiding fixes, OSL texture crash, DLSS particle instances), and update third_party/atomic from Blender (they need atomic_load_uint32) Upstream fixes before the next standalone sync; the OSL fix conflicted with 70adce657 49cccba01..764041981, f01a8ad39

Rendering fixes

Change Commit
Lights match Karma. Dome lights were π times too bright and distant lights 4 times. Sphere light radius ignored stage units. Normalized lights used the area in meters instead of stage units (10000x too bright on a centimeter stage). 49383cb65
Material sockets were not found for Houdini shader nodes. Sockets now match by identifier or UI name, ignoring case, spaces, underscores and dots. Materials ending in an Emission or Volume output used to fall back to the default shader. fe9d20c86
Uninitialized values (core Cycles): curves and ramps without points, and Set Normal without a direction, read garbage that differed between CPU and GPU. They now use Blender's defaults. 64e207902
Crash on teardown when quitting Houdini, switching renderer or changing device: OpenGL objects were deleted without a context. A fence leaked on every display update. 576f64f74
Moving or rotating a light did not update the render (the object was not tagged for update). 379ba058f
Frozen, squashed viewport image when looking through a camera. Houdini binds buffers the size of the viewer but sets the viewport to the camera gate. The delegate now renders at the buffer size and conforms the camera aspect. ac7c0f2fc
Volumes without a material rendered nothing (they got the default surface shader). They now get Cycles' default volume shader, which shows the density like Karma. 2b69b0a9a
Volumes made in SOPs failed to load ("could not open file op:/stage/..."). Houdini passes these as op: paths, not files. The delegate now gets the grids from Houdini through USD_SopVol (SOPgetVDBVolumePrimitive), sharing them instead of copying. This needs the Houdini SDK headers and libGEO/libUT/libCE, so it is only built for Houdini (houdini_volume.cpp). 0c125583d
Native Houdini volumes did not render (houdiniFieldAsset, from SOPs or .bgeo files). They come from SOPgetHoudiniVolumePrimitive and are converted to OpenVDB grids with GU_PrimVDB::buildFromPrimVolume (links libGT/libGU too). 4a3b4831e
Implicit USD shapes did not render (Sphere, Cube, Cone, Cylinder, Capsule, Plane). A scene index plugin applies HdsiImplicitSurfaceSceneIndex for Cycles, like Storm and hdPrman. df65e282f
Volume shaders made the volume disappear. Houdini's material builder authors every Cycles shader as the surface terminal, also volume shaders; a volume output on the surface terminal now goes to the volume input. a3710bf34
8 bit image textures rendered linear. Cycles image nodes start as scene linear and an empty color space was looked up by name; Houdini's ACES OpenColorIO configuration has no default_byte role, which automatic detection relied on (core Cycles fix, plus the delegate treating an empty color space as automatic). 9a09aff94, 29ce63d07
The sample subset settings had no effect: the session overwrote them. 6c119c43c
The implicit Cube rendered smooth shaded (Hdsi's 8-corner cube); all six implicit shapes are now meshed by the delegate's own scene index. d2b0a8408
Implicit spheres, cylinders, cones and capsules were faceted 10-segment meshes (a sphere 8% small). A scene index meshes them with 64 segments and normals; a radius 1 sphere matches the analytic size within 0.2%. 5ef0a65ff
Orbiting the viewport pivoted at the camera: UsdRenderers.json declared the depth as camera distance while the viewport gets window depth. fa48caaca
Render vars were missing from the Houdini viewport and its slap comps: Houdini only binds render vars with a valid default AOV descriptor, queried by prim name. d1a7ddf18
OSL attribute lookups with an empty name read garbage (core Cycles): the hash of "" is the id of attribute map terminators, so e.g. the Principled Volume's default Color Attribute made OSL mesh volumes render 0 on the CPU, 0.135 on OptiX instead of the SVM result, and change between runs (Blender 5.2 crashes in the same path). 2f851d714
Scalar constant primvars rendered garbage (how Houdini writes detail attributes), other numeric types rendered 0, and primvar values were copied without a size check (Houdini array attributes overflowed). c3b4eb536
USD Primvar Reader float output into a float input read the constant alpha (1); normal/point/vector readers were dropped. 45a5dafeb
UsdPreviewSurface emission and specular color were ignored (mapped to Principled BSDF sockets that no longer exist). 7071a7f7f
Vertex Color node read float and float2 attributes from the float3 array (core Cycles, SVM): wrong values, CPU and OptiX differed. 88c9261a2
Point instancer orientations and scales were applied in the wrong order (also nested instancers): instances with orient or pscale, e.g. from the Instancer LOP or SOP Import, landed in the wrong place. dfcda7df8
Crash re-tessellating a subdivision mesh when only its points changed. 459f60fb3
Review fixes for re-sync and textures: vertex primvars dropped when subdivision mesh points change (aa46db848); volume fields a changed material reads were not loaded (8944a2733); OSL kept the images of recompiled shaders loaded (core Cycles, 70adce657) and Reload Textures skipped files read by OSL (cf8f76782); a second rprim re-sync after re-synced materials (779c913ad); UDIM tiles not found for some file names or after Reload Textures (f4e53da8f, 0d9d4bffa); the uv pass was empty unless a shader read the UV map (eda3a3c27). aa46db848, 8944a2733, 70adce657, cf8f76782, 779c913ad, 0d9d4bffa, f4e53da8f, eda3a3c27
Session settings were ignored in the Houdini viewport: Houdini creates the delegate with no settings and sends them afterwards, so Device, Open Shading Language and other settings fixed at session creation never applied there (husk was fine). The session is now recreated when such a setting arrives before rendering starts. 4248759a9
Volume velocity motion blur was cut off at the density's edge (core Cycles): the volume octree only looked at the density at the shutter center, so advected density outside it was skipped. 2bf5ae95b
Motion pass zoom from the default camera field of view (the previous/next frame projections used 45 degrees). acaab9cb4
Review fixes for the primvar and instance work: crash syncing a prototype with no instances (e1601b67c); vertex primvars dropped on meshes with unused trailing points (44220246f); out of bounds read of short uniform primvars (f8564cb24); UV map aliases interpolated linearly on subdivision surfaces (289d73167); OSL getattribute requested the parameter default instead of the node's value (b20dd4dfd); Vertex Color node with standard names (uv, density) read nothing and attribute ids above 255 wrapped (c2b98f277, 3ce37f642). e1601b67c, 44220246f, f8564cb24, 289d73167, b20dd4dfd, c2b98f277, 3ce37f642
UsdPreviewSurface / UsdUVTexture translation: specularColor is F0 in the specular workflow (was 25 times too dim; metallic ignored there, black default), clearcoat maps to the coat, the normal input is tangent space through a Normal Map node, UsdUVTexture scale/bias scale the output (they were used as UV tiling) and sourceColorSpace raw is honoured. Matches Karma within 0.02. 20e7ebebf, 9dcf9931f, 3ab17edd7, ffcf479f2, f921fb280, 0d47522b3
Integer render vars (primid) were empty in husk: outside the viewport ID buffers are floats (object index, 0 for none, like Karma's). 6490beb06
Embree hit the back faces of 3D curves and points (core Cycles): the Embree 4 port lost the back-face culling the hair BSDFs and the other devices assume, so 3D curve hair was 0.3-1.1% darker on the CPU than with OptiX, and rays inside points hit their insides. aefa0fd46
Re-sync notices were sent during Hydra's sync (a USD coding error); they are sent after it now, and the render stays unconverged until the prims are synced. bb99a785a
Review fixes: BVH refit crash after the motion steps changed (08d7fb7a2); Raycast nodes reading different attributes merged (core Cycles, af7968524); image color space reset by other parameters (5221a831b); array primvars read as one value per point (e78818833); velocity fields not found by their own name (4b59ccf17); prim id lost when instances come back (e5d0b4292); instance motion blur after a frame rate change (7471177b0); inactive render settings adding motion steps (4bfefd71c); volume velocity blur centered on mid-shutter (6e6c064e5); curves without points no identity over their range (core Cycles, 84daaa659). see the list
Dome light textures were rotated: USD latlong textures have their top on the light's +Y and their center on +Z, Cycles' environment lookup on +Z and +X, so skies lit and showed sideways (checked against Karma). 6be251a1a
Embree was missing from the build after the upstream merge (upstream renamed its CMake condition). d171a557f
The render settings UI was not generated with Cycles 5.3's Filter Glossy default. 4502c10ef
UsdPreviewSurface: diffuseColor default 0.18 and opacityThreshold cutouts (d33094a9e), USD's clearcoatRoughness default (94c95560a). d33094a9e, 94c95560a
Crop windows and non-square pixels were ignored in husk: the whole image was squeezed into the crop. husk passes the crop as the viewport and the resolution and pixel aspect as render settings; the camera now spans the display window and the render covers the crop inside it. 27deea1d4
The depth AOV was camera distance in meters (1e10 for background) instead of Hydra's 0..1 window depth, which the Houdini viewport uses to composite guides. It is converted with the camera projection in the viewport (houdini:viewport); husk renders keep the distance. Later replaced by Houdini's linear depth style (the distance, 0 for background, like Karma), which also draws guides over dome light renders. 14fb1d2c8
Crash writing AOVs while the viewport resized them: the session thread wrote the depth AOV into a buffer that Houdini reallocated on its own thread. Render buffers and the AOV bindings are locked while the output driver writes them. dacbd0d75
Only the dome showed in the viewport once a dome light was on: Houdini's Display Environment Maps draws the dome's texture over AOVs given as OpenGL textures. With a dome light the color AOV goes through the CPU buffers like Karma's. 7387e37d6
Invalid mesh and curve data (untested): topology with indices past the points, negative counts or a count mismatch, missing or short points, and out of range GeomSubset faces are checked; the prim renders empty with a warning. Face-varying normals against the winding are flipped (they rendered black). 08d1d3e06
Left-handed subdivision meshes were inside out (untested): face corners and per-corner attributes (UVs, primvars, Karma hituv) are reversed. Port of blender/cycles PR 112 by Adrien Delmas. 20f316dce
UsdUVTexture wrap, UDIM tile edges and connected scale/bias (untested): an unauthored or useMetadata wrap repeated the image instead of the spec's black outside 0..1 (and useMetadata hit an assert in debug builds); <UDIM> and <UVTILE> images (UsdUVTexture and MaterialX image/tiledimage) clamp at their tile edges, like Karma, instead of blending in the opposite edge or black; a connected scale or bias is linked through a Vector Math node instead of being ignored (the alpha keeps the authored value). 3ddaffc5d
UsdUVTexture useMetadata ignored the texture file's wrap mode (untested): an unauthored or useMetadata wrap in both directions was always black outside 0..1. It now uses the wrap mode stored in the file, like Karma: OIIO's wrapmodes of .exr, .tif and .tx files, the swrap texture option of .rat files (s mode for both directions, as Cycles has one extension per image node). Only the header is read, cached by path and modification time; files without a mode stay black and UDIM images still clamp. c6779cd80

Render delegate features

Change Commit
AUTO device, the new default: OptiX, then CUDA, HIP, Metal, oneAPI, then CPU. Before, the default was CPU, which made the viewport slow. The device setting also accepts tokens, the form Houdini writes menu values in. a4e3c43b6
Film and background render settings (cycles:film:*, cycles:background:*: exposure, pixel filter, transparent background). An explicit transparency setting now overrides the automatic one. ff9948176
Changing the device or thread count restarts the delegate. 16f63cd20
Open Shading Language render setting (cycles:shading_system), a restart setting like the device. c454d7dd4
OSL script nodes: cycles_script shaders with the shader file in filepath, and shaders implemented by an OSL source asset or source code (info:OSL:sourceAsset, read through the asset resolver when it is not a file, as Houdini provides its OSL shader nodes). 4a9ce323c, 298aa4da1
shader_defaults.json in the resource directory overrides Cycles socket defaults per node type. Houdini only writes parameters that differ from the UI default, so the delegate must use the same defaults as the UI. 2595a4dd6
AOVs: render vars can name any Cycles pass, with a default format from the pass; other names are shader AOVs written by AOV Output nodes. Extra material terminals (e.g. outputs:cycles:aov) pull AOV Output nodes into the network. 49debc368
Light path expression render vars: Karma's common LPEs map to the Cycles light passes holding the same light paths, with the albedo like an LPE. AOVs of the same Cycles pass type share one pass (the kernel writes one buffer per type). 87d538e45
Render vars named differently from their source (husk names AOVs after the render var prim) found no pass and were black. b8d649ce2
Viewport color AOV readable: with the OpenGL display driver the color buffer had no data, so Houdini's Slap Comp Import found no color. ca84bfc1c
Cryptomatte: CryptoObject00, CryptoMaterial00, CryptoAsset00, ... render vars; objects, assets and materials named after their prims; the Cryptomatte metadata and manifests go into the image through the render stats. 5515a46ac
MaterialX materials (materialx.cpp): HdMtlx builds a MaterialX document per terminal (render contexts mtlx and kma), surfaces map to the Principled BSDF, about 100 standard/pbr library nodes map to Cycles nodes and node graph nodes are expanded from the MaterialX libraries. Built when USD provides hdMtlx. afc6f7453
Karma Render Settings LOP AOVs (ray:hitP, ray:hitPz, ray:hitN, ray:objectid (the primId pass), st, AO) map to Cycles passes. ray:primid (polygon index), ray:hitdist and ray:direction are geometry values written by every shader, ray:motionvector is converted from the Vector pass, and the holdout shadow LPE from the Shadow Catcher pass. 0c0a29a66
Light groups and per-light settings: lightgroup:<name> render vars, inputs:cycles:light:* light attributes (max bounces, MIS, shadow caustics, ray visibility, light group). 4b97f56e6
Primvar AOVs: render vars with source type primvar, written by every shader; the list comes from the render settings prim, which Hydra syncs before materials. cd9120fca
Motion blur: three evenly spaced motion steps over the camera shutter for transforms, mesh points (time samples or velocities) and the camera. acb24e055
Motion steps render setting (cycles:motion_steps, 2^steps + 1 motion times like Blender's object Motion Steps). a001d80a7
Texture cache render settings (cycles:use_texture_cache, cycles:auto_texture_cache, cycles:texture_cache_path) and the texture size limit (cycles:texture_limit), set when the scene is created. 47547d102
Material settings from config:cycles:<setting> attributes of the material prim (Hydra's material network config): displacement method, emission sampling, transparent shadows, bump map correction, volume sampling, interpolation and step rate. 65381afb4
Light and shadow linking: HdsiLightLinkingSceneIndex gives lights the category of their lightLink / shadowLink collections and geometry the categories it belongs to; these become Cycles light and shadow sets like Blender's light linking. 78168abc8
Primvars as attributes: all numeric types and scalar constants (c3b4eb536); all interpolations on points and curves, constant primvars on volumes as object attributes (6d86055d6); Houdini attribute names as aliases made only when a shader asks for them, the UV map as face-varying float2, displayColor/Cd as the vertex color at every interpolation, volume standard names, the constant color on every instance (0c7b5de34); face-varying normals as corner normals (a77312a17). c3b4eb536, 6d86055d6, 0c7b5de34, a77312a17
Instance primvars as object attributes: point instancer and native instance primvars, composed through nested instancers, stored only for names the shaders read. f751e8b3f
Re-sync with scene indices: with USD 26 scene indices Hydra never re-synced prims a delegate marked dirty. A pass-through scene index at the end of the chain (resync_scene_index.cpp) lets the delegate re-sync materials and prims, so motion blur and shutter changes, primvar AOVs and materials that start reading a primvar update without restarting the render. b5598ad66, b128d02b8, 24e5ce736, 014578e4b
Texture reload: image files are identified by path, modification time and size (core Cycles), so a changed or late-created file loads on the next material rebuild; materials always rebuild on parameter changes; a Reload Textures renderer command; UDIM <UDIM> tiles for native and MaterialX images; asset parameters that do not resolve keep their authored path. 78dd64030, 43e22cfbd, a39c407be, 74d5ebeba, 0ad76428d
OSL script nodes request the attributes they read (core Cycles): getattribute names found in the byte code (string constants and parameter defaults), so a Script node reading a primvar no longer needs another node requesting it. 888453431
Texture coordinates on implicit shapes: st like Blender's primitives (UV sphere layout, revolved shapes around their axis with planar caps, the cube's cross layout, the plane); an authored UV primvar wins. 073f4cf13
More motion blur: velocities, accelerations and angular velocities resolved by USD's HdsiVelocityMotionResolvingSceneIndex (with the stage frame rate from Houdini, b44112557); curves and points (ee5261a9b); point instancers incl. nested ones (95683248f); volumes from velocity fields with Houdini's names and a per-second velocity scale (8dba7bd95); the motion vector pass at the previous and next frame like Blender, added or removed without restarting (4a0d66d39). b44112557, ee5261a9b, 95683248f, 8dba7bd95, 4a0d66d39
Viewport resolution divider: output drivers are skipped while the render is at reduced resolution (core Cycles, 0cc07a34e), the OpenGL display driver scales small renders up with a framebuffer blit (6d4f3782b), and cycles:use_resolution_divider turns it on (default, a902cdda8). 0cc07a34e, 6d4f3782b, a902cdda8
Viewport responsiveness: in the Houdini viewport the AOVs it does not show (depth, IDs, slap comp inputs) are refreshed 0.25 s after a change and then once per second instead of on every image update (33-59 ms each on a 2K viewport), and the display updates at least every 0.2 s (a new SessionParams::max_display_update_interval in core Cycles). Measured: 46 instead of 13 new images in the first 10 s, 15 instead of 10 per second while tumbling, no loss of samples. c8dce51e3, a000a4798, 722523e32
Curve shape render setting (cycles:curve_shape: ribbon / thick, Blender's Rounded Ribbons / 3D Curves). d2eff57b6
DLSS viewport denoiser (cycles:integrator:denoiser_type = dlss), set up like Blender's viewport: the passes DLSS needs, denoising from the first sample, no scrambling distance, no upscaling; final renders and unsupported GPUs or drivers fall back with a warning. 04b777417
USD fallback values: UsdPrimvarReader fallback for geometry without the primvar, UsdUVTexture fallback for missing files and UDIM tiles (black by default like Karma, not Cycles' pink), through Cycles 5.3's Missing inputs. 2bf144b20
Raycast object visibility (cycles:object:visible_raycast). ce53c975f
Per-object settings from constant cycles:object:<setting> primvars: visible_camera/_diffuse/_glossy/_transmission/_volume_scatter/_shadow, is_shadow_catcher, use_holdout, shadow caustics, shadow terminator offsets, ao_distance. 30aa47d9d
Light materials (untested): a Cycles material bound to a sphere, rect, disk or distant light shades it, like a Blender light's node tree; the color temperature multiplies its strength; the Light LOP's texture, IES, cone and light filters are then ignored with a warning (doc/lights.md). b5954c41f
Deferred viewport syncs (untested): viewport edits are deferred only when the resync scene index exists to sync them again, otherwise they wait for the scene lock; HD_CYCLES_TIMING_LOCK=1 also prints the number of deferred prims and which prims and materials were synced again, to diagnose viewport edits that do not show. c271d4c2b
Principled BSDF Transmission Roughness (untested, core Cycles): a separate roughness for the refraction (default -1 uses Roughness, so existing scenes do not change), as two glass closures when it differs; on the Cycles Principled BSDF node's Transmission panel. MaterialX standard_surface transmission_extra_roughness uses it instead of mixing two Principled BSDFs, so the reflection keeps specular_roughness. c7d6981b8, 8a74e0d2e
Karma curve style, width scale and object properties (untested): Karma's Render Curves As (karma:object:curve_style), per object or as the render setting default, picks the curve shape (Flat Ribbons = ribbon, the other styles round tubes; Oriented Ribbons render as tubes with a warning); a per-object cycles:object:curve_shape (ribbon / thick) wins over it. Width Scale multiplies curve and point radii, Fix Shadow Terminator off sets the shadow terminator geometry offset to 0, and live edits of these primvars rebuild the curves or radii. Properties Cycles has no equivalent for warn: Render Points As discs, Cull Backface, Single Sided off on rect and disk lights, Light Geometry Casts Shadow. 1909daaf6
Karma fake caustics (untested): Karma Material Properties' caustics and fake caustics settings (karma:causticsenable, karma:fakecaustics*), only when authored (native Cycles materials too), make shadow rays see through glass with a transparency tinted by the refractive lobes' color, Fresnel darkening, color and opacity. Area and dome light caustics are still path traced and add to it unless Refractive caustics are off; the tint is not yet calibrated against Karma (doc/materials.md). 8b2ef3540
Outline node (untested): Karma-style ray-traced lines as a delegate shader node with Line, Contour, Crease and Depth outputs, expanded into Raycast and math nodes (SVM on every device, OSL on the CPU); lines are one-sided, traced for camera rays and glossy reflections and refractions only (doc/materials.md). 77f5078f0
Karma trace sets (untested): karma:object:custom_tracesets, tracesets and sss_traceset on objects, the Karma AO and Distance traceset and the Rounded Edge scope become Cycles trace sets (at most 31 names per Houdini session), so only the set's members occlude, are hit, are rounded together or take part in subsurface scattering. CPU and OptiX (SVM) only; other devices and OSL ignore them. The "not supported" warnings are gone (doc/objects.md). cfd5216f4, f0c200235, b8c4ea442, 150be31d5
Override Lighting (untested): Karma's four modes (cycles:override_lighting or karma:global:override_lighting): Off, Emissive Objects (every light off, black world), Headlight (plus a distant light along the camera), Dome Light (a white, opaque world). Switches live, without a restart (doc/render-settings.md). d99a7a116
Checkpoint and resume (untested): husk renders with a cycles:checkpoint or karma:checkpoint render product (never the viewport) save their buffers to an EXR every Save Frequency seconds (60 by default) and continue from it when rerun, sample-exact with fixed samples. Resume is on by default and only accepts a file written with exactly the same render settings, frame included; otherwise "Checkpoint rejected" is logged and the render starts from 0. The file is deleted after a completed render, kept after a cancelled one; Karma's ignored_checkpoint AOV is skipped (doc/rendering.md). 5271241bd, a9b1a97a7

Houdini user interface

Change Commit
96 Cycles shader nodes as VOP HDAs, plus a USD Cycles Material Builder shelf tool and icon (ported from the shaders branch, made to work on Windows) 3653a9084
Shader nodes laid out like Blender 5.2: Blender's order, labels, menus, collapsible panels, hide rules and default values. blender_node_layouts.py runs inside Blender and dumps how each node is drawn; blender_layout.py maps that onto the Cycles nodes. Parameter names are unchanged, so existing scenes still load. c9c2640e7
Layouts from Blender 5.3 (the new Integer Math, Boolean Math and Get Vector Component nodes, Glass anisotropy, Principled dispersion). af84eb068, 545cd2dce
Slider ranges from Blender's node declarations, read from the Blender source because the Python API only gives generic ranges. Fixes sliders from −10000 to 10000, and IOR inputs that were clamped below their defaults. 702fd2b44
Texture Cache, Texture Size Limit and Motion Steps in the render settings (the texture settings restart the render). 7c0826efb
Settings tab on the USD Cycles Material Builder like Blender's material Settings panel; the Cycles shader translator authors the changed settings on the material. 8d4ff2701
The Cache Directory of the Cycles Render Settings LOP was never authored (strings were linked like numbers). 7f61eb12d
Cycles tab on the Render Settings LOP and in the viewport display options, laid out like Blender's render properties: Sampling, Denoise, Path Guiding, Light Paths, Clamping, Caustics, Fast GI, Volumes, Film, Performance. Generated from the delegate's own settings, so defaults and menus always match. 16f63cd20, de6ced211
Cycles Render Settings LOP: one node that creates the render settings, product and var prims (Products/renderproduct, Vars/beauty) with every Cycles setting authored, like Karma's. 8abcbdb5f, bb487a793
Tab menu sub-menus like Blender's Add menu, parsed from Blender's node_add_menu_shader.py; nodes not in Blender's menu (Mix (Legacy), Scene Time, ...) in the closest sub-menu. f400ddc23, 3d7bbdf1a
Inputs in the network editor in Blender's order: inputs outside parameter folders were listed last ("Other"), e.g. Base Color on the Principled BSDF. b23302f41
More render settings: Sample Subset, Path Guiding debug options, alpha threshold and mist pass. 54e75e1eb
Render passes on the Cycles Render Settings LOP like Blender's View Layer Passes (Data, Light, Cryptomatte, Shader AOV, with Blender's EXR names) plus Karma-named light path expressions. f7d18bc95, fc3d31d29
Image Filters on the Cycles Render Settings LOP: husk slap comps from the Image Filter LOP. 86ab0b082
AOV Output node in Cycles material builders: a pass-through between the shader and the material output, so Houdini exports it. 44ada1aaf
Ramps and curves as Houdini ramp parameters: a Cycles shader translator (husdplugins/shadertranslators/cycles.py) bakes Color Ramp and Float/RGB/Vector Curves ramps into Cycles' 256-entry tables when Houdini writes the material, with per-key interpolation (Houdini's own USD ramp convention keeps only the first key's basis). f39574203
Angles in degrees like Blender (Mapping, Vector Rotate, Sky, Gabor, Hair offsets, texture mapping rotation): the translator writes radians, so USD files are unchanged; hip files from before are converted when loaded. adc9917c3
Raycast Attributes panel (4 attribute names with color, factor and alpha outputs) and the delegate creating the matching Cycles outputs. 3bcf46f90, 87caa982b
Parameters hidden by menu values with spaces (Principled Hair BSDF's parametrization) showed the wrong inputs. 355c42869
Cycles Script node for OSL shaders, like Blender's Script node: Load Shader compiles the file with the installed oslc and turns the node into a type with the shader's ports, embedded in the hip file. afb0980ee
Default render settings: the Cycles Render Settings LOP sets itself as the stage's render settings (on by default, like Karma's), so husk, ROPs and TOPs no longer render upstream Karma settings without the Cycles passes. bd4a5b6d2
Light settings and light groups: Cycles tab on the Light LOP (HdCyclesPlugin_Light.ds), Light Group for objects, Light Groups on the Cycles Render Settings LOP. a9c2a8a5a
Split Render Product by Render Var and Primvar AOVs on the Cycles Render Settings LOP. 46182e5a1, 4cca27455
Motion Blur in the render settings (since b128d02b8 motion blur and the camera shutter no longer restart the delegate). 3f3fd20e3
Blender Defaults button on the Cycles Render Settings LOP: Blackman-Harris 1.5, bounces 12/4/4/12/0/8, light threshold 0.01, 4096 samples, denoising, blue-noise sampling, 3D curves (GPU denoising kept). 1a40ca353
Fast GI panel like Blender's: header toggle, Method (Replace / Add), Bounces, AO Factor, AO Distance (cycles:fast_gi, cycles:fast_gi_method, cycles:ao_bounces, cycles:ao_factor). 08668d687
Fixes for older scenes and promoted parameters: Fast GI settings of older Cycles LOPs kept and converted (0521c6e3f), animated angles converted to degrees (2ebc565fa), promoted angle parameters authored in radians (b1b39fe1c), curve channel edits authored (af9b1be31). see the list
DLSS in the Denoiser menu, Raycast in the object Ray Visibility panel, and Tab menu entries for the Integer Math, Boolean Math and Get Vector Component nodes. 04b777417, ce53c975f, ab710a14c
Cycles tab on the Render Geometry Settings LOP (HdCyclesPlugin_Geometry.ds) for the per-object settings, laid out like Blender's object Visibility panel. 30aa47d9d
Cryptomatte and data passes were color converted when saved: husk converts color-typed render vars from the OCIO scene_linear role to the file's output color space, which broke the Cryptomatte IDs (and positions, normals, UVs, vectors) with ACEScg configs. The LOP authors them as float3/float4. 0760fa75c
Cycles Light Material Tab tool (LOP, Cycles > Lighting): shades the selected sphere, rect, disk or distant light with a node network, a Material Library LOP with a USD Cycles Material Builder (white Emission, strength 1) and an Assign Material LOP binding it to the light (doc/lights.md). ec07c7d
Curves > Shape on the Cycles tab of the Render Geometry Settings LOP (primvars:cycles:object:curve_shape: Ribbons / 3D Curves; unset uses the scene's shape), and a change of Karma's Render Curves As render setting restarts the viewport render (the scene curve shape is fixed when the scene is created). 1e07e63
Cycles Outline VOP (Cycles > Input) with the node's defaults and slider ranges (untested). 6a8238a
Override Lighting in the Override folder of the render settings (untested); not a viewport display option, so a Karma Render Settings LOP's value is not overridden. 77f9f8e, 83ad232
Checkpointing folder on the Cycles Render Settings LOP with Karma's parameters (Output Checkpoint Files, off by default unlike Karma; Checkpoint File; Save Frequency 60 s; Resume From Checkpoint on), and cycles:checkpoint / karma:checkpoint as disk product types in UsdRenderers.json, so husk hands them to the delegate (untested). 63c7161

Documentation

BUILDING.md gained a Houdini section: CUDA/OptiX options, static Embree, the Houdini license needed for install, and where everything is in Houdini (1ed26fc06, d8c47dbe5, be4a8103b, f6d08340b). This README replaces the upstream one (38f5f148b).

New files

houdini/
  CMakeLists.txt                    install step: HDAs, render settings UI, LOP, package, shelf
  UsdRenderers.json                 registers "Cycles" with Houdini
  blender_node_layouts.json         Blender 5.2 shader node layouts (generated in Blender)
  packages/cycles.json.in           Houdini package file
  toolbar/cycles.shelf, icons/      USD Cycles Material Builder tool
  src/shaders.cpp                   dumps the Cycles shader node registry and render settings to JSON
  src/shader2hda.py                 builds the shader node HDAs
  src/blender_node_layouts.py       runs in Blender, dumps node layouts (+ ranges from Blender source)
  src/blender_layout.py             maps Blender layouts onto Cycles nodes
  src/rendersettings2ds.py          Cycles tabs (render settings, geometry) + viewport options (.ds)
  src/cyclesrendersettings2hda.py   Cycles Render Settings LOP
  src/script2hda.py, script_node.py Cycles Script node (OSL)
  src/cyclessky2hda.py              Cycles Sun & Sky LOP (world material with a Sky Texture)
  husdplugins/shadertranslators/cycles.py  bakes ramps, writes angles in radians (Houdini shader translator)

New Houdini-only source: src/hydra/houdini_volume.{h,cpp} (volumes from SOPs and native Houdini volumes). New source built with hdMtlx: src/hydra/materialx.{h,cpp} (MaterialX translation).

New source: src/hydra/resync_scene_index.{h,cpp} (re-sync scene index).

Modified upstream files: src/hydra/{camera,curves,display_driver,field,geometry,instancer,light,material,mesh,node_util,output_driver,plugin,pointcloud,render_delegate,render_pass,session,util,volume}, src/hydra/resources/plugInfo.json, src/hydra/CMakeLists.txt, src/cmake/external_libs.cmake, src/cmake/dependency_targets.cmake, src/cmake/Modules/FindUSDHoudini.cmake, src/cmake/Modules/FindUSDPixar.cmake, src/integrator/{path_trace,render_scheduler}.cpp, src/session/session, src/scene/mesh, src/kernel/bake/bake.h, src/kernel/geom/attribute.h, src/kernel/svm/{node_types,vertex_color}.h, src/scene/{image_oiio,osl,shader_nodes}, src/util/colorspace.cpp, BUILDING.md, README.md.

Full history: the hc/core and hc/hydra branches of the Cycles fork, and this branch.

License and credits

Cycles is licensed under the Apache License 2.0, see cycles/LICENSE. Cycles is developed by the Blender Foundation and contributors (cycles/AUTHORS); the Houdini Hydra integration builds on the work of cjhosken/hdCycles. Houdini is a product of SideFX; this project is not affiliated with SideFX or the Blender Foundation.

About

Cycles renderer for SideFX Houdini

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages