How to build an Application from "scratch" !!
by Sascha Blaettgen · in Torque Game Engine · 09/02/2001 (3:32 pm) · 4 replies
Hi there,
I want to build something like an minimum application.
What I want to know is, is there a Tutorial existing out
there like these Direct X Tutorials.
Such things like, "Here we got the Windows Stuff, and next
thing we need to do is initializing the OpenGL Visual Stuff"
I dont want to use the example Folder or the ExampleV12, I want
to start just with a single Window, and inside of it, there is
the V12 Stuff. And after that I can build in more and more, just
by looking at the great example. But I cant start it, I dunno
where should I begin.
I stepped through the Example Code and sometimes I thinked why he
dont uses this function, why is the initialization here ??
All I want is a minium application Tutorial, maybe some Guys or me can
make a serial, by adding more and more Tutorials based upon another.
Pleaze help me, I am loosing nerves.
I want to build something like an minimum application.
What I want to know is, is there a Tutorial existing out
there like these Direct X Tutorials.
Such things like, "Here we got the Windows Stuff, and next
thing we need to do is initializing the OpenGL Visual Stuff"
I dont want to use the example Folder or the ExampleV12, I want
to start just with a single Window, and inside of it, there is
the V12 Stuff. And after that I can build in more and more, just
by looking at the great example. But I cant start it, I dunno
where should I begin.
I stepped through the Example Code and sometimes I thinked why he
dont uses this function, why is the initialization here ??
All I want is a minium application Tutorial, maybe some Guys or me can
make a serial, by adding more and more Tutorials based upon another.
Pleaze help me, I am loosing nerves.
About the author
#2
If you're looking to learn how to create an OpenGL window and then have V12 show up in it... I suggest you don't even try... =) It'll end up being a big headache- striping code from V12 and adding it to your own little application, especially if you're doing it from the bottom up... If you read through the Nehe tutorials you'll see a lot of stuff you recognize in the initialization code (at least for the OpenGL stuff)
If you think something in the code should be different or somewhere else, just copy all the source into another folder and use that new folder for a testbed for any changes you want to make (just make sure you don't mess with any original working code you had =) You can mess things up pretty bad if you're not sure what you're doing)
-nohbdy
Edit: stupid typos
09/03/2001 (10:29 am)
If you're looking to learn the basics of OpenGL like creating a window and viewport and what not I'd suggest NeHe's OpenGL tutorials. There's a lot of good tutorials there that build upon each other, especially toward the beginning (after a while it gets to the point of being what do you want to learn today, but it's a good place to start)If you're looking to learn how to create an OpenGL window and then have V12 show up in it... I suggest you don't even try... =) It'll end up being a big headache- striping code from V12 and adding it to your own little application, especially if you're doing it from the bottom up... If you read through the Nehe tutorials you'll see a lot of stuff you recognize in the initialization code (at least for the OpenGL stuff)
If you think something in the code should be different or somewhere else, just copy all the source into another folder and use that new folder for a testbed for any changes you want to make (just make sure you don't mess with any original working code you had =) You can mess things up pretty bad if you're not sure what you're doing)
-nohbdy
Edit: stupid typos
#3
09/03/2001 (12:26 pm)
I strongly suggest using the test app that is there. All of the biggest headaches are taken care of for you, which saves you loads of time, and it also means you can jump into creating your game which is the fun part.
#4
I've worked through the Nehe Tut's last year, and
they are pretty good ... best tutorials I know.
So, if I understand u right, u mean I should take
the example code, as it is, and then form it to my
own. Change here a bit, n there a bit ... right ?
Lot's o' work showin' at the horizon.
09/03/2001 (3:56 pm)
Thanx to all of ya guys,I've worked through the Nehe Tut's last year, and
they are pretty good ... best tutorials I know.
So, if I understand u right, u mean I should take
the example code, as it is, and then form it to my
own. Change here a bit, n there a bit ... right ?
Lot's o' work showin' at the horizon.
Torque 3D Owner Robert Blanchet Jr.
"Tricks of the Windows Game Programming Gurus" - by Andre LaMothe