Light positioning and basic map generation