kdb's picture

Display lists and quadrics


I haven't programmed in OpenGL in a while, but I do remember the basics of creating display lists and quadrics. I've tried to use them using .NET calls and they're not working. Are they built yet? If they are, could someone provide an example (e.g. a call to GLu.Cylinder or something)?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
knji's picture


I tried to modify the Games.cs example to draw a Sphere using the above DrawSphere method and I get a blank screen.

OnRenderFrame looks like this:

protected override void OnRenderFrame(FrameEventArgs e)

GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
DrawSphere(new Vector3(0.0f, 0.0f, 0.0f), 10.0f, 10);