How to use glutInit_()?!

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by sushi.

Hi,

the glutInit_() requires 2 params. How I use glutInit_?! What parameters I need? Plz help - a little example, for using OpenGL would be great...

Thy a lot, Sushi.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by sushi.

Nobody used it before? There are DirectX Libs in the PB folder. What about making grafix with DX? Does someone wrote a tutorial? Nobody's doing graficstuff with PB? But you need it for games... When buying PB, the developers give these libs out - but nobody knows how to use them? I need some routines for quick grafix... plz HELP!!!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by merendo.

There should be an extra-forum for any API-questions. Fred?

@sushi: I think I (and the others) can´t help because they don´t know this command. For what do you need it?

We always need to hear both sides of the story (by Phil Collins)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by sushi.

Glut is a library that includes many easy and helpfull functions for using OpenGL. OpenGL (and DirectX) is important for gamedesign, because you can do very fast grafics. InitGlut_() just initialize Glut. For example: when you want tom use (DX) keyboard or sprite commands in PB, you have to intialize it with InitKeyboard() or InitSprite() - initGlut_() is the same for Glut...

There should be an extra forum for OGL/DX/Graphicstuff...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

@sushi:
Cant see your eMail address, so i cant send you examples.

cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by sushi.

Thanx for help, Danilo!
My e-mail: [url]mailto:sushi.mail@gmx.de[/url]
Post Reply