getting the viewport functional with a demo scene