Tese de mestrado em Engenharia Inform??tica, apresentada ?? Universidade de Lisboa, atrav??s da Faculdade de Ci??ncias, 2008 Virtual environments that are inhabited by agents with a human like embodiment have many practical applications nowadays, in areas such as entertainment, education, psychotherapy, industrial training, or reconstitution of historical environments.