Houdini Web Preview - Interact with Houdini Scenes in Your Web Brower

   3555   4   2
User Avatar
Member
5 posts
Joined: 10月 2020
Offline
Hello!

I wanted to share a small side-project (Houdini Web Preview [github.com]) that I've been working on the past few months to view and interact with Houdini scenes through your web browser. This project aims to allow any device connecting to the web server to render preview geometry, execute ROP's, and interact with the node-graph of a Houdini file.

Key Features:
  • Rendering: Individual nodes can be converted to a .glTF file and viewed in the 'Model Display' tab. ROP's can be executed, and any rendered files will be zipped and downloaded directly to the browser. A Flask web-server and Celery workers executing the Houdini API, handle all incoming render requests.
  • Frontend: The frontend utilizes BabylonJS (similar to Three.JS) for previewing glTF geometry in the browser and displays the node graph using Cytoscape.js.
  • Containerization: The entire application is containerized using Docker, for simple setup and deployment. The Houdini docker container also offers GPU and OpenCL support (on Linux).
  • File Sharing: Generated glTF geometry and uploaded .hip files are stored on the backend and can be later downloaded. Shareable links can also be generated for preview geometry and scene files.

You can find a quick demo of the web app below:


While this started out as an attempt to get some practical experience with web-development (and keeping things interesting by incorporating Houdini) I'm hoping that there might be some bits and pieces that might be interesting to you all.

If you're interested in testing it out or have any questions, feel free to reach out!

Houdini Web Preview is available on GitHub here: https://github.com/mushyfruit [github.com]
Additionally, a thank you to aaronsmithtv for their Houdini Docker [www.sidefx.com] project available here: https://github.com/aaronsmithtv/houdini-docker [github.com] , which was quite helpful when getting started.
Edited by MushyFruit - 2024年5月27日 16:52:00
User Avatar
Member
18 posts
Joined: 2月 2018
Offline
Really cool stuff
User Avatar
Member
5 posts
Joined: 11月 2017
Offline
That's pretty impressive indeed!
User Avatar
Member
1 posts
Joined: 11月 2013
Offline
Impressive project. Tried to build it and the build process was mostly fine, however only the redis and nginx container are running, all the others exit with code 127 about some command not found in /root/setup_hserver.sh

Any pointers to what's wrong?
Cheers
User Avatar
Member
5 posts
Joined: 10月 2020
Offline
3Dome
Impressive project. Tried to build it and the build process was mostly fine, however only the redis and nginx container are running, all the others exit with code 127 about some command not found in /root/setup_hserver.sh

Any pointers to what's wrong?
Cheers

That script is largely response for setting up API Key licensing. Is there any chance you didn't define the `SIDEFX_CLIENT` and `SIDEFX_CLIENT` variables in the .env file? It might cause issues if those variables aren't defined.

If it's another issue, feel free to message me here and I can help sort it out.
Edited by MushyFruit - 2025年6月3日 19:43:38
  • Quick Links