flat assembler
Message board for the users of flat assembler.
Index
> Windows > GLUT include/declares |
Author |
|
RValois 15 Sep 2003, 17:43
Hi,
Thanks for share fasm Privalov. This is my first code with it. The zip file contains the declares/constants for GLUT and a small example. The example just displays a color triangle but the code shows some of the glut features like keybord processing, game mode, print string, glut callbacks etc. May be of some use. Regards, RValois. Glut DLL for Windows: http://www.xmission.com/~nate/glut.html
|
|||||||||||
15 Sep 2003, 17:43 |
|
Blag 15 Sep 2003, 18:34
Great RValois:
Thanx for share this example....gonna check it and study it as soon as i get home. |
|||
15 Sep 2003, 18:34 |
|
JohnFound 15 Sep 2003, 18:55
Hi, RValois.
Unfortunately, it didn't work for me. "A required .DLL file GLUT32.DLL not found..." Hm, btw, what is GLUT??? |
|||
15 Sep 2003, 18:55 |
|
Blag 15 Sep 2003, 19:02
Hi JohnFound:
IMHO and please RValois, correct me if i'm wrong GLUT is a graphic library similar to OpenGL.....i think i have seen some examples in the Euphoria Programming Language homepage.... http://www.rapideuphoria.com I believe that GLUT is easier to use and learn than OpenGl. |
|||
15 Sep 2003, 19:02 |
|
RValois 16 Sep 2003, 03:57
Hi,
I'm sorry if it did not work as I supposed. I should have explained better what I was posting... Theory: Glut is a short for OpenGL Utility Toolkit. It is a set of libraries to support windowing, menus, input etc independent of plataform (windows, unix etc). So, if you write a program using Glut/OpenGL you should be able to run it in all supported plataform. Practice: I dont know how to end a Glut program in windows without call ExitProcess. My fault... So, the code presented will not run in unix if you do not change a couple lines.I dont have a unix to test but the constants and declares should be of some use for all supported OSs. This is the reason why post the code on main forum. Glut is more like a user interface OS substitute, it is NOT a OpenGl substitute. You may already realize that openGL does not have a keyboard, mouse etc functions, in fact you dont even know where you are drawing. Glut comes to give you a common interface to OpenGL to all OSs. To run the example you need to have the most recent version of Glut DLL installed on your system. Just search on google for the download. My first post has a link for the Windows dll version. If you can run OpenGL in Windows you should be able to run the example. Privalov, if it is your case (you can run OpenGL) something else is going on ... So, is there anyone that was able to run the posted example on Windows? I tested it on the worst video board that one can have (Video 107-Trident 8mb) and it works fine. Regards, RValois. |
|||
16 Sep 2003, 03:57 |
|
Blag 16 Sep 2003, 06:06
I just get home and the GLUT example....yeah it works!
It was a little slow.....but i was able to see the triangle......why is that slow?????? My PC is extra fast......but, your example took a while before it shows Anyway.....thanx for it....it was really cool. |
|||
16 Sep 2003, 06:06 |
|
catafest 27 Jul 2011, 07:24
Is something wrong with your example .
You make fix it. Also you need to add 'opengl.inc' file in the arhive project. "To offer something half done is like uncooked food offer. It will take time and will not learn anything cook." |
|||
27 Jul 2011, 07:24 |
|
revolution 27 Jul 2011, 08:06
Thread is almost 8 years old! You can expect that some things might require updating.
|
|||
27 Jul 2011, 08:06 |
|
catafest 27 Jul 2011, 08:27
revolution wrote: Thread is almost 8 years old! You can expect that some things might require updating. lol , you think is just this thread ... i see many on this forum. Also , if somebody wants may update with a good example. |
|||
27 Jul 2011, 08:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.