Compiling the scene