~~NOTOC~~ {{template>summary |title=Audio-haptic textures| |participants=[[people:Stephen Sinclair]]\\ [[people:Marcelo M. Wanderley]] | |funding=NSERC Discovery Grant (Wanderley)| |license=GNU LGPL version 2| |period=2010--present| |status=completed| |image=:projects:audio-haptic_texture:marble.jpg| |caption=| }} This code allows the haptic (and visual) display of image-based textures. It also sends force interaction information as OSC messages to Pure Data, in vectors of 10 samples each. The Pure Data patch then plays this information through a bank of modal resonators to give it a more interesting sound quality. {{youtube>K8xELzxpYjM?425x344}} The code for this little application can be [[http://idmil.org/pub/software/haptic_texture|downloaded here]]. You can also clone the git repo here: git clone http://idmil.org/git/texture.git It makes use of [[http://chai3d.org|CHAI 3D]] for interfacing with the haptic device hardware, but the haptic algorithm is entirely contained in the provided source. Run "bootstrap.sh" before compiling to automatically download and compile CHAI 3D, LibLo, and any other dependencies. On Windows, it expects to be compiled in the [[http://www.mingw.org/wiki/msys|MSYS/MingW]] environment. It has been tested with the SensAble Phantom Omni and the Novint Falcon. {{tag>Software Haptics}}