render.set_viewport(0,0,800,600) means that if you have a window that is for instance 1400x1200 pixels then the game will render only in the area from 0x0 to 800x600. The rest will not be used when rendering.
What is actually being rendered in those 800x600 pixels depends on the view and projection that you use. You need to position your camera accordingly and you need to make sure to use a suitable projection.