Matte paintings were used before the dawn of competent computer graphics to simulate a larger/more dramatic/exotic location than can be achieved in a film studio. Paint was directly applied to glass, which then sat between the camera and the actors (leaving a clear section to capture them).
I love these. Corridor Crew on YouTube dives into this stuff and has some great content.