flat assembler
Message board for the users of flat assembler.

Index > Windows > Open GL example

Author
Thread Post new topic Reply to topic
r22



Joined: 27 Dec 2004
Posts: 805
r22
I was working on an opengl template for simulations/games that I never got around to finishing up.

Someone might be able to find this code useful or helpful.

Features:
-Full screen window
-First person camera
-Input with keyboard and mouse
-Multithreaded (Input/Rendering)

To Do: (which I will likely never get around to)
-Textures
-Object rendering
-Lighting
-Physics


Description:
Download
Filename: GL.zip
Filesize: 25.92 KB
Downloaded: 203 Time(s)

Post 02 Mar 2008, 06:41
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan
Hmm. interesting. but a little bit better world logic needed. after some movements i confused the world's logic that it became upside down and left changed with right.
[add]
Also i think message loop is too greedy maybe sleep(0) (NtYeldExecution) or better logic can solve it...
P.S. i'd like to see FPS counter also
Post 02 Mar 2008, 08:32
View user's profile Send private message Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22
re:
This is NOT a project, I have no intention of maintaining it or defending any design decisions. It's simply old code that I figured someone might find useful.

asmfn: thats an interesting bug, I've only ever tested it on a win xp64 box, but never ran into that issue. There's a hacky frames per second code in there that writes to a console window behind the app (obviously I never got around to jumping through the opengl hoops to write text to the screen).
Post 03 Mar 2008, 18:54
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
Smile but where is it?

_________________
My updated idol Very Happy http://www.agner.org/optimize/
Post 09 Mar 2008, 11:36
View user's profile Send private message Visit poster's website Yahoo Messenger MSN 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 YouTube, Twitter.

Website powered by rwasa.