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
In v0.2
:
- Rotate using rotate gesture
Place the TrackpadHook.dylib
binary in ~/Library/Preferences/houdini/[version]/dso
in order to install.
export VERSION = 17.5.229 # change this to your version of Houdini installation
source /Applications/Houdini/Houdini$VERSION/Frameworks/Houdini.framework/Versions/Current/Resources/houdini_setup
git clone https://github.com/mate-h/houdini-trackpad
cd houdini-trackpad/build
cmake ../src
make
python3 -m pip install -U pygame==2.0.0.dev6 --user
python3 -m pip install -U numpy --user
python3 src/scripts/multitouch-test.py