Chaos Blog

Monday, November 20, 2006

Gesture

Types of Gestures

Thursday, November 16, 2006

Human Body Tracking



http://www.fuzzgun.btinternet.co.uk/rodney/components.htm#Motion

http://www.fuzzgun.btinternet.co.uk/rodney/humanbody.htm#API%20Documentation

http://www.fuzzgun.btinternet.co.uk/rodney/hbp.jpg

Tuesday, October 03, 2006

Using pthread in classes

http://sources.redhat.com/ml/pthreads-win32/2001/msg00075.html

/* create.h */
#ifndef _CREATE_H_
#define _CREATE_H_

#include
#include "pthread.h"

class create
{
public:
create();
static void *thread_routine(void *arg)
{
create *pObject = (create *)pObject;
...
}
void start();
};

#endif

/* create.cpp */
#include "create.h"

void *create::thread_routine(void *arg)
{
printf("The thread is here\n");
return NULL;
}

void create::start()
{
pthread_t thread_id;
pthread_attr_t thread_attr;

pthread_create(&thread_id, &thread_attr, create::thread_routine, (void *)this);

}

Pass this as the arg to the thread routine to enable it to access the
members/methods of the class: static function can only access the static
members/methods of the class. I feel it is an even better way in sense of Object
Oriented.

Monday, August 07, 2006

FareCompare.com - Airfare Comparison and Deal Finding Engine

FareCompare.com - Airfare Comparison and Deal Finding Engine

ChineseInUS.com

ChineseInUS.com

Saturday, August 05, 2006

LifeTips.Us

LifeTips.Us

Thursday, July 20, 2006

�ٶ�����_����rss

rss

RSS Digest: The world's largest RSS to JavaScript service

RSS Digest: The world's largest RSS to JavaScript service

The sky of Daemon! ? ��ζ��ǩdel.icio.us�Ĺ��ߡ�����͸��ӹ�����ȫ�б�

The sky of Daemon! ? del.icio.us tools

Monday, July 17, 2006

Controls of an arbitrary shape - The Code Project - C# Controls

Controls of an arbitrary shape - The Code Project - C# Controls

Per Pixel Alpha Blend in C# - The Code Project - Multimedia

Per Pixel Alpha Blend in C# - The Code Project - Multimedia