complete setup for first viewport