Scene understanding techniques using a virtual camera