flat assembler
Message board for the users of flat assembler.

Index > Windows > GLUT include/declares

Author
Thread Post new topic Reply to topic
RValois



Joined: 01 Sep 2003
Posts: 2
RValois
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


Description:
Download
Filename: fasmglut.zip
Filesize: 8.42 KB
Downloaded: 185 Time(s)

Post 15 Sep 2003, 17:43
View user's profile Send private message Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
Blag
Great RValois:

Thanx for share this example....gonna check it and study it as soon as i get home. Very Happy

_________________
Alvaro Tejada Galindo
SinglePath games design
http://www.iespana.es/singlepath
Post 15 Sep 2003, 18:34
View user's profile Send private message MSN Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
Hi, RValois.

Unfortunately, it didn't work for me. "A required .DLL file GLUT32.DLL not found..."

Hm, btw, what is GLUT??? Smile
Post 15 Sep 2003, 18:55
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
Blag
Hi JohnFound:

IMHO and please RValois, correct me if i'm wrong Razz

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.

_________________
Alvaro Tejada Galindo
SinglePath games design
http://www.iespana.es/singlepath
Post 15 Sep 2003, 19:02
View user's profile Send private message MSN Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7796
Location: Kraków, Poland
Tomasz Grysztar
I have moved this thread, because it is related to Windows.

Your example changes the screen resolution correctly, but I don't see anything. Does it need some 3D hardware?
Post 15 Sep 2003, 19:06
View user's profile Send private message Visit poster's website Reply with quote
RValois



Joined: 01 Sep 2003
Posts: 2
RValois
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.
Post 16 Sep 2003, 03:57
View user's profile Send private message Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
Blag
I just get home and the GLUT example....yeah it works! Razz
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 Confused
Anyway.....thanx for it....it was really cool.

_________________
Alvaro Tejada Galindo
SinglePath games design
http://www.iespana.es/singlepath
Post 16 Sep 2003, 06:06
View user's profile Send private message MSN Messenger Reply with quote
catafest



Joined: 05 Aug 2010
Posts: 122
catafest
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."
Post 27 Jul 2011, 07:24
View user's profile Send private message Visit poster's website Yahoo Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17665
Location: In your JS exploiting you and your system
revolution
Thread is almost 8 years old! You can expect that some things might require updating.
Post 27 Jul 2011, 08:06
View user's profile Send private message Visit poster's website Reply with quote
catafest



Joined: 05 Aug 2010
Posts: 122
catafest
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.
Post 27 Jul 2011, 08:27
View user's profile Send private message Visit poster's website Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.