The scene below is intended to be nearly a template of how to do a simple scene with an orbiting camera. The code still needs a little cleanup, but this is pretty close.