Blitz or DarkBasic, your view?

Miscellaneous Forums/General Discussion/Blitz or DarkBasic, your view?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm getting the hang of this now:-

Import brl.bmploader
Import brl.max2d
 
GLGraphics 800,600,32,60,BGL_BACKBUFFER | BGL_DEPTHBUFFER

glOrtho(0.0,0.0,0.0,0.0,0.0,0.0)

While Not KeyHit( KEY_ESCAPE )
glClear GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT
GLDrawText("Test",10,10)

glBegin(GL_POLYGON)
glVertex2f(0.0,0.0)
glVertex2f(0.5,0.0)
glVertex2f(0.75,0.25)
glVertex2f(0.5,0.5)
glVertex2f(0.0,0.5)
glVertex2f(-0.25,0.25)

glEnd()
glFlush()
Flip 
Wend 


Okay, dont laugh, I'm on a self-discovery (does that sound kinky)thing at the moment! hehehehe

How come I missed this OpenGL thing anyway?

Oh, GL_POINTS... I like that! :)

Dabz

P.S. Okay, I'll shut up now! :)