The protocol between the sim and the viewer allows for clients to initiate and stop animation sequences. There are packets defined for it, and I believe they are the basis for "client side animation overriders" that are a feature of many third-party viewers. You should be able to modify a viewer to send these packets at will and your avatar should respond as soon as the sim is able to relay the packet, provided the sequence you specified has been downloaded and cached by the viewer. Otherwise there will be a short delay while the viewer requests and downloads the sequence.
Other possibilities exist also: a LSL script in an attachment worn by the avatar can control the animations played by that avatar, and could also use repeating long-poll http queries to your computer where the kinect box is connected to receive animation commands and then tell the avatar to play them. Another means may be to have a plug-in packet injector for the GridProxy program that comes with libomv http://openmetaverse.org/ which could either send animation packets, or send chat commands to a script worn by the avatar which could then start animations. Any of these solutions should work for either SL or unmodified OpenSim installations. None of them are probably considered "production quality" but they could get you to the point where you have a reasonably functional solution. On Tue, Feb 21, 2012 at 9:54 AM, Georg Janke <[email protected]>wrote: > Hello developers of OpenSim!**** > > ** ** > > My Name is Georg and would be very happy if you could answer my question. > **** > > Short description of what my aim is:**** > > I am working on a application that is able to recognize gestures from a > Kinect controller. With the help of this I want to control an avatar in > OpenSim. So I have the recognition application and OpenSim running parallel > on the client pc. The database on the OpenSim server contains the > appropriate animations for the gestures.**** > > Question:**** > > Does OpenSim has a suitable interface that my application can use to tell > OpenSim it has recognized a certain gesture and thus controlling the avatar > to perform the appropriate animation from the database?**** > > ** ** > > Thanks for reading,**** > > ** ** > > Georg**** > > ** ** > > ** ** > > _______________________________________________ > Opensim-dev mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-dev > >
_______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
