User Database

The second database besides the world database is the user database. It stores information about the local user in the user object and data about the remote users in a vector of user objects. A user is identified by a unique ID and can have additionally a human readable name. Typically each user in an NVE is presented by an avatar to the remote users. Locally only his cursor is used to represent the position and orientation of the input device in the virtual world. An exception for this would be if the application is supposed to be used with a HMD where self-representation becomes necessary.

Users can be added to the user database when they join the NVE or they can be removed from the database when they leave the NVE. Functions to receive the amount of currently connected users and to search for a user with a specific ID or name are given.