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

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

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