This plugin enables multitouch gestures in Houdini's viewport for Macbooks running OSX. Controls:
- Tumble/scroll using two fingers
- Dolly/zoom using pinch gesture
- Pan by holding Alt and two finger scroll
- Hold Shift with any gesture to slow down movement
Coming in v0.3:
- Rotate using rotate gesture
Place the TrackpadHook.dylib binary in ~/Library/Preferences/houdini/[version]/dso in order to install.
# Set your Houdini version (change this to your version of Houdini installation)
export VERSION=21.0.512
# Source Houdini environment
source /Applications/Houdini/Houdini$VERSION/Frameworks/Houdini.framework/Versions/Current/Resources/houdini_setup
# If you haven't cloned the repo yet:
# git clone https://github.com/mate-h/houdini-trackpad
# cd houdini-trackpad
# Create build directory and build
mkdir -p build
cd build
cmake ../src
makeThe make command will automatically build and install the TrackpadHook.dylib library directly to your Houdini DSO directory (e.g., ~/Library/Preferences/houdini/21.0/dso/TrackpadHook.dylib). No separate installation step is needed - the library is ready to use after building!
python3 -m pip install -U pygame==2.0.0.dev6 --user
python3 -m pip install -U numpy --user
python3 src/scripts/multitouch-test.py