Arena.ArenaModel.DrawVideoWall C# (CSharp) Метод

DrawVideoWall() приватный Метод

private DrawVideoWall ( ) : void
Результат void
        void DrawVideoWall()
        {
            GI.TexParameter(TextureParameterTarget.Texture2d, TextureParameterName.TextureMinFilter, TextureMinFilter.Linear);
            GI.TexParameter(TextureParameterTarget.Texture2d, TextureParameterName.TextureMagFilter, TextureMagFilter.Linear);
            GI.TexParameter(TextureParameterTarget.Texture2d, TextureParameterName.TextureWrapS, TextureWrapMode.Clamp);
            GI.TexParameter(TextureParameterTarget.Texture2d, TextureParameterName.TextureWrapT, TextureWrapMode.Clamp);
            GI.TexEnv(TextureEnvModeParam.Modulate);
            GI.Features.Texturing2D.Enable();


            // Set drawing color to white
            GI.Drawing.Color = ColorRGBA.White;
            GI.FrontFace(FrontFaceDirection.Cw);

            // Draw Section 0
            //GI.ActiveTexture(GLTextureUnit.Unit0);
            fWallTexture.Bind();


            GI.PushMatrix();
            GI.PolygonMode(GLFace.Front, PolygonMode.Fill);
            //GI.Rotate(-90, 1, 0, 0);
            GI.Translate(0, 0, -fSection0.Radius*fExpansionFactor);
            fSection0.Render(GI);
            GI.PopMatrix();
            fWallTexture.Unbind();

            // Draw Section 72
            fWallTexture.Bind();
            GI.PushMatrix();
            GI.PolygonMode(GLFace.Front, PolygonMode.Fill);
            GI.Rotate(72, 0, 1, 0);
            GI.Translate(0, 0, -fSection72.Radius * fExpansionFactor);
            fSection72.Render(GI);
            GI.PopMatrix();
            fWallTexture.Unbind();

            // Draw Section 144
            fWallTexture.Bind();
            GI.PushMatrix();
            GI.PolygonMode(GLFace.Front, PolygonMode.Fill);
            GI.Rotate(144, 0, 1, 0);
            GI.Translate(0, 0, -fSection144.Radius * fExpansionFactor);
            fSection144.Render(GI);
            GI.PopMatrix();
            fWallTexture.Unbind();

            // Draw Section 216
            fWallTexture.Bind();
            GI.PushMatrix();
            GI.PolygonMode(GLFace.Front, PolygonMode.Fill);
            GI.Rotate(216, 0, 1, 0);
            GI.Translate(0, 0, -fSection216.Radius * fExpansionFactor);
            fSection216.Render(GI);
            GI.PopMatrix();
            fWallTexture.Unbind();

            // Draw Section 288
            fWallTexture.Bind();
            GI.PushMatrix();
            GI.PolygonMode(GLFace.Front, PolygonMode.Fill);
            GI.Rotate(288, 0, 1, 0);
            GI.Translate(0, 0, -fSection288.Radius * fExpansionFactor);
            fSection288.Render(GI);
            GI.PopMatrix();
            fWallTexture.Unbind();

            GI.Features.Texturing2D.Disable();

        }