Mapping reality into virtual worlds