Hello all,
I created a simple 2D overlay as the user input recognition interface on ORIENT_UI. This overlay displays text when user has input something or has no input for a long time (or in certain situation which requires the input, can be added later). There are some animated pictures displayed on this overlay to promted the user to wave the Wii controller.
The 2nd thing I did was to connect Augsburg's IONServerSocket project (with miniDemo GUI interface) to ORIENT_UI. First of all, I converted their projects to MSVS 2005 version - I think it is easier for other people who work on MSVS 2005 to run and change the codes. So now you can start ServerION.exe from ServerION\ServerION\bin\Debug, you will still see Augsburg's miniDemo GUI interface opened. Then you can run the new version of ORIENT_UI and click Go at the bottom-right corner - now two applicatoins are connected by socket. When you want to give some input, you should click on SeverION's miniDemo GUI window first, then you can either click 1 or 2 on your keyboard, then ORIENT_UI will give you the response. Mapping other keys on the keyboard or adding real input devices like Wiimote/DanceMat should be very straight foward becasue Augsburg has already got the codes in their project.
Comments and modifications are welcome. The 2D overlay is very simple at the moment (please use resolution 1280 x 960, otherwise you can change some code about setPosition for text and picture in the class User.Utility3.cs - apologize for this setting) , please feel free to discuss the changes with me. I haven't uploaded the new code to SVN, just want to make sure you guys are happy with the 2D overlay and the server connection parts first. So please download the all the code from the following website to test the changes:
http://homepages.feis.herts.ac.uk/~comqwch/ORIENTDevelopment.rar (67.17MB)
I just downloaded from SVN the most recent version of ORIENT 1 hour ago, and I have added new codes in the following classes:
ORIENT_UI.Programs.cs
ORIENT_UI.RenderWindow.cs
User.UserGestureAction.cs
(new class) User.Utility3.cs
Many thanks :) I look forward to hearing from you.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment