
Display lists and quadrics
Posted Saturday, 29 March, 2008 - 06:48 by kdb inHi,
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)?
Kyle


Comments
Re: Display lists and quadrics
Guys,
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)
{
base.OnRenderFrame(e);
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
DrawSphere(new Vector3(0.0f, 0.0f, 0.0f), 10.0f, 10);
SwapBuffers();
}