Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

jtomori/houdini2vr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Houdini 2 VR

Preview your Houdini mono/stereo VR renders in VR headset

This tool takes displayed image plane in Render View pane and displays it in your VR headset.

Note that this tool can be used also without a headset. In this case it will be displayed as a panorama image.

Check Houdini 2 VR in action: Screencast

And you can read blog post introducing this tool.


Setup

  • Add this repository into HOUDINI_PATH environment variable (e.g. in houdini.env file)
    HOUDINI_PATH = &;/home/juraj/Work/houdini_hmd_preview/
    
  • Show Houdini 2 VR shelf

Shelf tools

  • Save as PNG - saves rendered image as $HIP/tmp/tmp.png
  • Start auto save - starts auto-saving thread at a specified time interval (specified in hou2vr.py)
  • Show in browser - opens a web browser with rendering image
  • Stop auto save - stops auto-saving thread

Supported renderers, devices

This tool can support any renderer plugin which can render into Houdini's Render View pane. It has been tested with the following renderers:

  • Mantra
  • Arnold
  • Redshift
    • Note: you need to make sure that Linked ROP parameter on your Redshift_IPR node is pointing to the corresponding Redshift node.

You can read about supported browsers and HMDs here.

If your renderer is missing then let me know, it can be easily added.


Future work

  • Send values from Houdini directly to browser (to skip image saving/loading times) and support HDR images
    • using websockets?
    • would solve problem with loading partial frames (unfinished saving)
  • Different way of reloading image texture
    • to address short black-outs between page reloads
    • re-assigning a texture? (and kill its cache first)
  • Move saving at Houdini side to a separate process - to minimze lags in Houdini UI
    • using shared memory?

Limitations & Bugs

  • With automatic refreshing there are short black-outs between page reloads
  • Sometimes browser loads image which is not fully written to drive, therefore it displays only a part of it
  • HDR renderings are currently clamped because of transfering them as a PNG file

Contributing

Feel free to contribute to this project by creating pull requests or by buying me a beer :)

About

😎 Preview Houdini VR renders in HMD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published