Skip to content

A proof of concept about how one could trigger a SideFX Houdini render from a web interface.

License

Notifications You must be signed in to change notification settings

oneandonlyoddo/houdini-cli-web-trigger

Repository files navigation

Info

This is a very minimal proof of concept of how one could trigger a houdini render with variables from a web interface served by a node.js server.

POSTing a value to the node.js server calls renderScript.py with the submitted value. In the renderScript.py you can see how you can load the cliRender.hipnc file and access its nodes and values. In this case a random seed is being set and apllied to the height of some boxes. Files will be rendered to ./render_output.

It was succesfully tested on:

local dev setup:
macOS High Sierra 10.13.4
2.6 GHz Intel Core i5
16 GB 1600 MHz DDR3
Intel Iris 1536 MB

Chrome          	v69.0.3497.81
node            	v8.4.0
npm             	v5.8.0
Houdini Apprentice 	v16.0.504.20

Dependencies

  • Houdini (free Apprentice version is sufficent)
  • Python
  • Node.js + NPM

#Install

> git pull
> npm install

Additionally you need to have the houdini env Variables initialized so either add them to you bash profile or run houdini_setup from the houdini resource folder.

#Run

> node app.js
  • go to localhost:3000
  • set a random seed and submit

About

A proof of concept about how one could trigger a SideFX Houdini render from a web interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published