Create planet and extract render functions