[sldev] Gesture client code

Dzonatas Sol dzonatas at gmail.com
Tue May 26 02:40:25 PDT 2009


Attached is the basics of what is needed to get the gesture tracker to 
listen to a port and react. For now, I've left out the XML server socket 
bits and just cut it down to minimal code. The XML server socket works, 
I just don't want to confuse that with the request to simply read a UDP 
socket and react to a lookatPoint or gesture. (The XML server socket is 
my criteria)

GestureTracker::init( LLPumpIO* ) is the entry starter.

The questions I have so far are:

* is this correct way to setup and use mLookAt and mLookAt->setLookAt() 
?  Also, not sure yet if it can be init'd when mainLoop() starts or only 
after login.
* I didn't find yet what attention type the head motion should have, but 
I picked free-look. If the position is updated, then the attention timer 
is reset or does it still time out?

Everything is tested except portions of the action() method.

Cheers

Philippe Bossut (Merov Linden) wrote:
> Hi all,
>
> Gee! ....
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llgesturetracker.cpp
Type: text/x-c++src
Size: 2823 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090526/cf7798e3/attachment.cpp 


More information about the SLDev mailing list