draw a grid???

Is there any openGL command for adding “grid” on the background of an object?
Thanks

Not that I’m aware of. OpenGL has only very simple primitives, like lines, triangles, etc…

I think you’ll have to draw the lines yourself, or perhaps use some toolkit.

Antonio www.fatech.com/tech