ALERT: Hooray, my first win32/OGL prog!
////////////////// ALERT! ALERT! ALERT! ///////////////////////
I just wrote my first real working piece of win32/openGL code. (Yes, takeling them both on at once - for I am Lothar, of the hill people )
I am estatic with joy! Many thanks to NEHE.gamedev.net tutorials. I would be lost without them.
the rendering pipeline is very basic. (Trying as best as possible not to hard-code anything) I have a basic Object_Draw function that accepts trianglulated meshes. As of yet, it supports nothing but polyfill and wireframe. But its cool because you can optionally render any given object in either mode (Or both perhaps? I dunno how the Zbuffer would like it though) Anyways, so I have my little box mesh rotating on every axis.
then I go to ortho mode for any 2d functions. namely, I have a little monochrome bitmap font functions that I am using to disply the current FPS.
I would post the source but
A. I dont know how to make the little textbox in the forum
B. you would probly all laugh at my poor programming anyway
[edited by - TwistedMatrix on October 25, 2002 10:39:15 PM]
- Twisted Matrix
i belive its just html so use the html brackets "<" and ">" with text area, and of course the closing tag, put the code inbetween, if im wrong ill just edit this
Well I wasnt wrong, but I had to edit anyway, you can also set the colums and rows (the size of text area)example made this text box
[edited by - Iron Eye on October 25, 2002 11:17:34 PM]
Well I wasnt wrong, but I had to edit anyway, you can also set the colums and rows (the size of text area)example made this text box
[edited by - Iron Eye on October 25, 2002 11:17:34 PM]
---
ConPong _//_ Google _//_ Chaos Forge - quick and easy file hosting for developers
"Games usually keep me from making my own..."
-Me
---
find your elementat mutedfaith.com.
ConPong _//_ Google _//_ Chaos Forge - quick and easy file hosting for developers
"Games usually keep me from making my own..."
-Me
---
find your elementat mutedfaith.com.
#include "stdio.h"int main(void) { printf("Hello World!\n"); return 0; }
[source]
#include "stdio.h"
int main(void)
{
printf("Hello World!\n");
return 0;
}
[/source]
[edited by - smart_idiot on October 25, 2002 11:20:26 PM]
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement