Monday, October 27, 2008

prototype interface


sorry for the late post, had been down with flu for the whole weekend. And rushing my 50% of total grade project for another mod due this week too. super unproductive. Anyway here's another WIP interface, i dont intend to put too much on it in fear it will look too confusing

Tuesday, October 14, 2008

Interface mockupz

Just a rough mockup to let everyone have a feel of a horizontal user workspace layout... Will do up vertical one and hopefully wont look so cluttered. Hopefully will have time to try out a few very different styles then do a survey


A few more models for variety. Translucent alienmetal, rigger technospec. Will be generating more. Interface mockups coming soon for usability testin' and survey~

Current layout for program

This is the current layout for the program. Details yet to be confirmed.....


Friday, October 10, 2008

interface mockup

Hey sorry for the late reply. catching up on sleep..zzzzZzz.. heres a mock up for the interface. will do up more and change certain elements if required...
oh, and tell me if u guys wanna add any icons, functionalities; ill get them done up over the weekends. Was thinking of a 3-quarter circular arrangement for the sheets of spectacle images so its like u can rotate it round or rather flip pages as u would for a book to peruse thru the designs. Ill do a mock up for that and see if u guys find the idea workable. Need feedback from potential users too..



Thursday, October 9, 2008

using XML for the UI

http://www.ogre3d.org/phpBB2/viewtopic.php?p=173901&sid=ce193664e1d3d7c4af509e6f4e2718c6

based on what i saw in that post, u can store UI data in an external XML file. This will make the code cleaner i guess.

Wednesday, October 1, 2008

Full menu declaration for CEGUI

http://www.krugle.org/examples/p-hbsamuqDGmJoUy2T/Menu.cpp

Tuesday, September 16, 2008

Bumblebee specs

Heres a preview of wat the models are going to look like under the 3D rotation function.
Currently have 3 models, 1 generic. will be working on more during e hols^^

Wednesday, September 3, 2008

Configuration settings for the Skeleton file

Hey guys,

The OpenCV settings I have already posted previously. As for the Ogre settings is as follows:

Project settings:

Configuration Properties -> General -> Output Directory: ..\bin\debug
Configuration Properties -> General -> Intermediate Directory: ..\obj
Configuration Properties -> Debugging-> WorkingDirectory: ..\bin\debug
*Remember to setting the Configuration at the top to DEBUG mode.*

C/C++ -> General -> Additional Include Directories:
C:\OgreSDK\include
C:\OgreSDK\samples\include
C:\OgreSDK\include\CEGUI
C:\OgreSDK\include\OIS

Linker -> General -> Additional Libraries Directories:
C:\OgreSDK\lib

Linker -> Input -> Additional Dependencies:
OgreMain_d.lib
OIS_d.lib
CEGUIBase_d.lib
OgreGUIRenderer_d.lib
cv.lib
cxcore.lib
highgui.lib

Here is the files you need to copy:
Say testCam (highlighted) here is my project folder, so go inside the folder:
Here delete any existing "bin" and "media" folder you might have. Then copy from the original OgreSDK "bin" and "media" folders to this folder here. After which copy all the *.dll from OpenCV\bin directory into your 'bin\debug\' folder.

That should be all, if still cannot compile juz msn mi or email me.

We are using VS 2005 Professional, OgreSDK 1.4 for VS 2005.
I tink for jack, if you are using 2008, use the OgreSDK 1.4 for VS 2008.

Sunday, August 31, 2008

head tracking

managed to set up the opencv with the sample face detection code.
some issues:
- very high lag (possible solutions: reduce image size?)
- in some cases, incorrectly detecting my ears or other parts as a face
- at certain angles or head tilt, unable to detect the face at all (possibly need additional haar cascade data?) --- how to detect heads at unusual angles (rolls don't work, mean if the face is facing front, but the image is rotated 45 deg, the face is not recognized)?

additional stuff:
- opencv has additional training data to detect: face, profile face, upper body, lower body, full body


additional research on head tracking:

http://danielbaggio.blogspot.com/2008/01/webcam-opengl-opencv-head-tracking.html

he made a 3d environment that changes viewing angle based on head position (note, there's no roll, yaw, pitch -- only coordinates).

however, he found a way to make face detection faster from 200ms, down to 20ms, though it involves modification of the opencv code itself.

his blog: http://danielbaggio.blogspot.com/
also mentions ECHI api, which is some code that uses opencv.
echi: http://code.google.com/p/ehci/

features of echi includes:
6 degree of freedom head tracking (what we're doing)
head tracking
hand tracking

check out the youtube video of 6-dof head tracking:
http://www.youtube.com/watch?v=M5kqgBO6D9s
http://www.youtube.com/watch?v=NNVaU2eOcbs (awesome!)

Saturday, August 30, 2008

Setting up environments for Open CV

  • Open the Visual C++ .Net Application. In the menu bar, select Tools->Options

  • In the listing, choose Projects->VC++ Directories.

  • First, select Library files from the "Show Directories for" List Box.

  • Click the Insert New icon, and locate the folder where you have installed opencv.

  • Consider that it is installed in "C:/Program Files/OpenCV".
  • In the Library files list, locate and add:
    "C:\Program Files\OpenCV\lib"
  • In the Include files list, locate and add:
        "C:\Program Files\OpenCV\cv\include"
"C:\Program Files\OpenCV\cxcore\include"
"C:\Program Files\OpenCV\otherlibs\highgui"
"C:\Program Files\OpenCV\cvaux\include"
"C:\Program Files\OpenCV\otherlibs\cvcam\include"

  • In the Source files list, locate and add:
        "C:\Program Files\OpenCV\cv\src"
"C:\Program Files\OpenCV\cxcore\src"
"C:\Program Files\OpenCV\cvaux\src"
"C:\Program Files\OpenCV\otherlibs\highgui"
"C:\Program Files\OpenCV\otherlibs\cvcam\src\windows"

This will permenantly add those files to your project settings so you do not have to manually edit the C++ and Linker properties

Tuesday, August 26, 2008

useful links for coding

Some useful links, feel free to add on to the list.

Introduction to OpenCV:
http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/index.html
http://opencv.blogspot.com/

Advanced OpenCV:
http://www.site.uottawa.ca/~laganier/tutorial/opencv+directshow/cvision.htm

Sample face detection:
http://opencvlibrary.sourceforge.net/FaceDetection
http://www.codeproject.com/KB/library/eyes.aspx


Ogre3D related:
http://www.ogre3d.org/phpBB2/viewtopic.php?p=299105&sid=ce193664e1d3d7c4af509e6f4e2718c6
http://www.ogre3d.org/phpBB2/viewtopic.php?t=16572&start=25&postdays=0&postorder=asc&highlight=
http://www.ogre3d.org/phpBB2/viewtopic.php?t=16572&postdays=0&postorder=asc&start=0
http://www.ogre3d.org/phpBB2/viewtopic.php?t=22584
http://www.ogre3d.org/phpBB2/viewtopic.php?t=17238&highlight=

Maya related:

Monday, August 18, 2008

Details of each group members

Hey guys, sorry for the late update but here are the details:


Munir Hussin u065309h munir@comp.nus.edu.sg (msn: moonaire@hotmail.com)
Denis Chan u057143r immortal_luver@hotmail.com
Jack Ong U057142E (msn moonsharke@hotmail.com) (mail moonsharke@gmail.com)
Lu Jun Cheng U057179Y (msn selangcolorwolf@yahoo.com)

Feel free to leave your hp here too.