It is quite easy to use wireframe mode, if you use the OpenGL-Wrapper from Gernot
in the following example you'll have to add the files
3DPrimitives.gbas
gl.gbas
to your project and you can see the torus in wireframe mode
CreateTorus(0, 2, 5, 20, 4, 0, 0, RGB(255, 255,255))
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
WHILE TRUE
X_MAKE3D .1, 1000, 45
X_CAMERA 2, 2, -20, 0, 0, 0
X_AMBIENT_LT 0, RGB(255, 255, 255)
X_ROTATION phi, 1, 1, 0
X_DRAWOBJ 0, 0
INC phi, .2
SHOWSCREEN
WEND
you can switch back to filled mode easily with
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)