
FaceAPI with Flight Simulator 10 (FSX)
3 years ago
This is my test of combining FaceAPI with FSX SDK, so using the headtracking to control the point of view without any marker on your head.
I'm not a programmer (supposed to be a cg artist), so I did what I can, but it's really crappy ! (my smooth is not working at all !!! :p) so it's a bit shaky but could be improved a little bit.
I did use the FaceAPI's example "TestAppConsole" and add it the CockpitCamera.cpp example of the FSX SDK. (thanks to my friend Yousri for his help ^^)
You can get the all the project with source here : francois-tarlier.com/blog/index.php/download/faceapi-2-fsx/
FaceAPI : faceapi.com/
btw, it might look like it's running slow on the video, but the video capture make it look like that, it's actually pretty fast on my computer. And note that this version is running in "debug mode" and that the both console slow done a bit the process. Since I'm not a programmer I cannot do a better job with it, but if you want to make it an update and improve it feel free to go for :)
I'm not a programmer (supposed to be a cg artist), so I did what I can, but it's really crappy ! (my smooth is not working at all !!! :p) so it's a bit shaky but could be improved a little bit.
I did use the FaceAPI's example "TestAppConsole" and add it the CockpitCamera.cpp example of the FSX SDK. (thanks to my friend Yousri for his help ^^)
You can get the all the project with source here : francois-tarlier.com/blog/index.php/download/faceapi-2-fsx/
FaceAPI : faceapi.com/
btw, it might look like it's running slow on the video, but the video capture make it look like that, it's actually pretty fast on my computer. And note that this version is running in "debug mode" and that the both console slow done a bit the process. Since I'm not a programmer I cannot do a better job with it, but if you want to make it an update and improve it feel free to go for :)
-
Vimeo: About / Blog / Developers / Jobs /
Community Guidelines /
Help Center / Video School / Music Store / Site Map
/ Vimeo
or
-
Legal: TM + ©2012 Vimeo, LLC. All rights reserved. / Terms of Service / Privacy Statement / Copyright

Prev week
core2duo 2ghz, nvidia 7900, 2gb ram, 2 screens, one keyboard, one mouse and a chair,...
but if you wonder if you can make it run on your computer, well you have to get a computer that let you run this : faceapi.com/faceAPI-Specification.html and FSX in the same time.
which is usually possible if you lower your fps a bit.
but once again, this is just an example, the code as to be rewritten, the debug info turn off, ... plus the recording is taking some cpu too.
I just posted it in case someone wanted to do it in a better way than I did.
Actually I'm looking for something like that (FaceApi to FSX) already more than half a year.
I found one which runs smooth but it's only to use with PPjoy. So in FSX only axis you can set (in control menu) are Tilt, Pan, Roll. All other movements controls with buttons.
Looks like yours supports all 6DoF.
members.chello.cz/stranky/faceapi2ppjoy.htm
This one gets smooth movements to ppjoy.
If you could forward it to FSX 6DoF (!) it would work perfectly.
but yes FSX simconnect let you get access to 6Dof so there is really no use for PPjoy at all !
never got the time to enhance it though, but I made the sources available, please feel free to work on it and share your updates with me
to use this, you need to know how to compile a program. Since I give the project, its just a matter for you to make sure your compiler finds the FSX Sdk & the FACE Api SDK. And that I can't help you with :( sorry