public void BuildVBO(bool Selected) { if (Selected) { Vbo.Colorizer(true, new Vector4(1, 0, 1, 1)); } else { Vbo.Colorizer(false); } Vbo.Build(this.TransformedFaces); }
public void BuildVBO(bool RaysList) { if (!HasFonts) { FontSmall = new FontGL("Verdana", 10); FontLarge = new FontGL("Verdana", 16); HasFonts = true; } if (!RaysList) { DeleteList(ref DisplayListScene); DisplayListScene = Gl.glGenLists(1); Gl.glNewList(DisplayListScene, Gl.GL_COMPILE); Render1(false); Gl.glEndList(); } else { RaysVBO.Build(AllRays, Parrent.LineWidth, Parrent.TubeRenderStyle, PercentVisible); RaysVisible = true; } }