Skip to content

mate-h/houdini-trackpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

houdini-trackpad

preview

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

Download v0.2 pre-release

Place the TrackpadHook.dylib binary in ~/Library/Preferences/houdini/[version]/dso in order to install.

Build from source

# 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
make

The 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!

Run test program with python

python3 -m pip install -U pygame==2.0.0.dev6 --user
python3 -m pip install -U numpy --user
python3 src/scripts/multitouch-test.py

About

This plugin enables multitouch gestures in Houdini's viewport for Macbooks running OSX.

Resources

Stars

16 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors