private void Redraw()
 {
     outputBox.Image = camera.outputBuffer.GetBitmap();
     Graphics.FromImage(outputBox.Image).FillRectangle(backgroundBrush, rect);
     camera.MoveTo(new Point3F(xOffset, yOffset, zOffset));
     camera.RotateTo(new Angle3F(yawChange, pitchChange, rollChange));
     camera.Draw(mesh, newColor);
     Refresh();
 }