Beispiel #1
0
        private void BasicVis_RenderFrame(object sender, FrameEventArgs e)
        {
            RenderLightMapDepths();

            if (VRFlag)
            {
                vrScene.RenderFrame(vrDrawable);
                //RenderGraphicsToScreen();
            }
            else
            {
                RenderGraphicsToScreen();
            }

            //RenderDepthToScreen();
            SwapBuffers();
        }
Beispiel #2
0
 private void HelloVRWindow_RenderFrame(object sender, FrameEventArgs e)
 {
     scene.RenderFrame();
 }