[sldev] Anyone here with OpenCV experience?

Jan Ciger jan.ciger at gmail.com
Thu May 21 13:58:36 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philip Rosedale wrote:
> Have you seen this video...  http://www.youtube.com/watch?v=r7Gn2TyEyHw
> 
One more practical idea - I wouldn't integrate this kind of
functionality in the viewer directly. That would be a mess to maintain
with all the dependencies. Rather provide an interface e.g. via shared
memory, RPC or whatever to access the camera matrix and the avatar
controls from outside. Then these kind of useful hacks can be maintained
outside of the viewer.

I have used the tracker I have mentioned before with joystick emulation
to drive SL viewer - without having to modify the viewer itself.
Unfortunately the joystick interface is pretty crummy in SL.

If you want to support various VR applications, then the ideal choice
would be VRPN support (http://www.cs.unc.edu/Research/vrpn/). That is a
kind-of unwritten standard for interfacing to various input devices in
VR field. The huge advantage is that your application doesn't need to
know at all what is on the other side - a joystick, mouse, Space
Navigator, full body motion capture, whatever - you are getting only
position vectors, quaternions and button presses. It is very easy to
work with.

The library is even network transparent - that is not something useful
for an average SL user, but it is a huge help if you are running things
on large walls with multiple computers.

So in the end you would ship an extra executable that will do e.g. the
face tracking in the background and SL will use its output
automatically. The user could even swap it for a joystick server while
SL is running and SL would just carry on without any problems.

Regards,

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFKFcB8n11XseNj94gRAkFPAKDWjM+ysTisj0xH9ZsI75VAJG/X0QCgs00T
hhdST/6Z1ikzKTcXu2TkCic=
=0Is0
-----END PGP SIGNATURE-----


More information about the SLDev mailing list