Skip to content

xjorma/HoudiniMeshSync

Repository files navigation

HoudiniMeshSync

Disclaimer: This was developed as a proof of concept, but if people find it useful, I might spend time to develop it further into a more polished product.

Apple Vision Pro

Sync mesh between Houdini and the Apple Vision Pro. Run Houdini or blender on a Mac computer, sending the mesh through the network to your Vision Pro.

Title

https://www.youtube.com/watch?v=kyJoJuaRGVE

Looking Glass Factory

Title

https://youtu.be/kyJoJuaRGVE

Compile and run ReceiverUnityLookingGlass and you are ready to share with Houdini or Blender

Meta Quest

Title

https://youtube.com/shorts/3UlCPRU08R4

Compile and run ReceiverUnityMetaQuest (Works on PC and also on standalone).
If you are using it on standalone, don't forget to set your Quest's IP address in Houdini or Blender.

For screen casting, install NDI, launch Screen Capture (enable the mouse cursor capture in "Capture Settings" from the tray icon), and use the Router to create an output called "ScreenCast".

Houdini HDA Setup

HdaSetup

  • IP Address: The IP address of your Apple Vision Pro.
  • Port: Port used for network communication. If you change it, you will also have to change it in the client code.
  • ChunkSize: Mesh is sliced by chunks before sending. 8192 is a good value.
  • Invert Triangle: Invert triangle orientation. Mainly used for debugging purposes.
  • Verbose: Logs information if the transfer is successful.

Blender Setup

  • Open the SendMesh.py script in the Text Editor.
  • If you are using another device to see the result change the ip_adress in the code.
  • Start the script.

TODO (Might take time since I don't own a Vision Pro yet)

  • Optimize file transfer (At least better share the vertex). (Done)
  • Use 16bits indices in less than 216 vertices.
  • Use hand gestures to rotate and zoom.
  • Have nice round buttons instead of text (Better for eye tracking).
  • Support for optional vertex color (Cd).

About

Sync mesh between Houdini and the Apple Vision Pro.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published