I do not care what anyone says for starters but I thank you for posting these videos may God bless you tremendously! Keep up the game design videos from this one I seen your doing great.
@TheCODTactics13 жыл бұрын
I am watching this in December 2011. I love you for this.
@benton20216 жыл бұрын
i'v been looking every where a openGL tutorial. finally....
@programmer190514 жыл бұрын
wow i went to your website and i loved the tuts, thanks, simply amazing, i was feadin g the book opengl super bible and i dint get it, but with your tuts i really understand what i'm doing, thank you so much.
@Ryukachoo14 жыл бұрын
oh HELL yes i've been looking for something like this thank you for individually going through each aspect of the code and explaining the parameters and such, i really was not getting that from my professor.
@hexkwondo16 жыл бұрын
Thanx mittrekkie! I have written my first 3-d program! Now I can finally take steps to flesh out my ASCII RPG!
@zapwow17 жыл бұрын
I've used Dev-C++ for about a year... I found it easy to set up and get going with, but when I needed more powerful formatting, source management and debugging options Visual C++ was exactly what I needed.
@sonic2kk11 жыл бұрын
I'm watching in 2013 and it's still awesome.
@drederprops16 жыл бұрын
I am realy pleased by your work and teachings. THANK YOU.
@Fangornmmc12 жыл бұрын
@Ilikemustard Lol, so many thumbs up for a comment complaining about this video? Be glad he teaches us this for free in the first place! Also, some people like me just want to dive into opengl without prior C++ background knowledge, a remark like that is in that case very useful. Oh well... @mittrekkie thank you very much for the video, really helped!
@Zetaeta161812 жыл бұрын
It's an API written in C, for use in C and C++. There are many bindings for other languages so you can use OpenGL in them, including ones like JOGL and LWJGL (used for Minecraft) for Java. In general it is the same code, but obviously there are differences based on language syntax etc.
@Z3r0XoL12 жыл бұрын
the image quality of this video is amazing
@rashidswanson12 жыл бұрын
Great video dude you are helping me in my Devry Online class
@gribgrub15 жыл бұрын
@GamingJediPwns - actually you're wrong about that. The handleKeypress() function calls exit. The 'return 0' never gets called.
@ozone197916 жыл бұрын
dude, u ROCK... I just bookmarked ur website.
@btrekkie17 жыл бұрын
The code in this program ought to work with any compiler, although you will have to get OpenGL and GLUT set up with Dev-C++ in order to compile and run the program.
@Fangornmmc12 жыл бұрын
Well, luckily I am familiar with assembly langauge, I have programmed in it several times and understand the most important concepts (stacks, registers, memory adressing etc). I'll just try openGL and if I am getting stuck ill probably do some research into C. When it comes to programming I just observe examples and learn from those. my goal is usually to get the big lines, the global idea of a language. I might someday really get into one langauge but now I am just trying to do as many as psbl.
@Fangornmmc12 жыл бұрын
@Ilikemustard No. In retrospect my comment may sound somewhat harsh towards you, I did not intend that. I was merely suprised that the remark was made. To answer your question better. No I don't have a C background but I do know quite a few other languages. I am mostly self taught but I know basic processor architecture, python ,php, java, visual basic, mysql. I know many languages a little...but I do have a general feel for programming languages.
@btrekkie17 жыл бұрын
Actually, according to the GLUT documentation, you're supposed to use unsigned chars and ints. OpenGL functions take GLint, GLubyte, and so on, but GLUT functions use the standard data types.
@delgadogorn12 жыл бұрын
I'm new to programming, so does it matter whether you use OpenGL in java or c++? Or is it same code for both? Is it a programming language itself maybe?
@kludgedup13 жыл бұрын
I see you have a "From Linux" folder on your hard drive. Dual-boot setup?
@ramonet2710199311 жыл бұрын
IS THERE any function in opengl in order to do a hit test? so, fopr exemple, when a car thouches a rock, the car can't cross the rock.
@Hector-bj3ls11 жыл бұрын
No. OpenGL just does rendering. You either have to find a library to do that or write it yourself.
@Ratstail9112 жыл бұрын
I've been using SDL for input, etc. with OpenGL, should I switch completely to glut?
@Spirrwell13 жыл бұрын
@Ilikemustard True, if you want that, go to antiRTFM's C++ tutorials, but it is good to make sure people understand what it is they're doing if they don't know what they're even getting into, especially since OpenGL isn't a good beginner's start. I've been learning SDL OpenGL for the past few days and I want to make the full transition to OpenGL, I don't need the beginner's guide, but it's nice to have.
@Ilikemustard12 жыл бұрын
@Fangornmmc Do you have C background?
@zanshevar11 жыл бұрын
im watching this in 2013! u rock!
@GamingJediPwns15 жыл бұрын
Thanks for making a opengl tutorial but the line return 0; will be reached when esc is pressed because that is how the program will know to return control back to windows. You could also use the macro EXIT_SUCCESS;
@xazzerr12 жыл бұрын
How do you get rid of the black console on the background on opengl?
@scarykidbryan14 жыл бұрын
Will this work with code blocks environment??
@EddieVanHalen197711 жыл бұрын
This is like eating a really nice meal.
@MultiGamingGod13 жыл бұрын
@GenoSkill What should i use for OpenGL i am just starting out, but i am getting a lot of errors when compiling HELP!
@Vartrex511 жыл бұрын
Is visual C++ similar to PHP or Java Script?
@MultiGamingGod13 жыл бұрын
@GenoSkill LINUX IT IS THEN but how would i make games with it? is opengl intergrated into linux?
@skysinbi12 жыл бұрын
can you tell me whats the difference betweeon using this and DevC?
@m0nsk117 жыл бұрын
I checked your site August 28, 2007. 7:30 PM (GMT +8) and it seems that the website is down. :)
@4Got10Shadow13 жыл бұрын
I have question i know this open gl thing but why waste time type lines of codes just to make a simple square if you can made these easily on programs llike maya and 3ds max please enlighten me. is there a way to import the objects in programs like maya to use in c++???
@btrekkie17 жыл бұрын
Have you seen the video "OpenGL Tutorial #0a: Getting OpenGL Set Up on Windows"?
@dannieldefoe7 жыл бұрын
im watching this in 2017
@dogdogdogdogdog25467 жыл бұрын
Me :)
@btrekkie17 жыл бұрын
Yeah, that makes sense. I just figured that "int main" was more conventional.
@cr190112 жыл бұрын
Adding on to @Fangornmmc 's point, I definitely have a stronger grasp of C than I do C++, and I don't recall ever needing to deal with the namespace crap in C... in fact my C++ knowledge stops after basic data structures- I know little of virtual functions, polymorphism, or more advanced C++ topics (learned overloading/inheritance, forgot the syntax former). So for some of us, yes, the refresher is useful. (Note: I'm biased, and NOT a big OOP fan.)
@btrekkie16 жыл бұрын
What compiler error do you get? You may want to see my other video on how to get OpenGL set up on Windows.
@XxDahamonnahxX13 жыл бұрын
opengl or directx? some people say that directx is better, is that true? and they say opengl doesn't have tesselation, i wanna which is better . plz reply im still a noob at c++ :P
@007speedcuber12 жыл бұрын
ah, windows xp! you bring back memories!
@jeffery1210814 жыл бұрын
@stingerhead666 Have you downloaded openGL on your computer yet?
@nexus1g12 жыл бұрын
Powerful special interest groups (e.g. Microsoft) who have the funds to push their digital crack beyond what an open source project is capable of doing. Ensuring that it is the primary API used means that's what students will focus on. This in turn ensures that studios will continue using DirectX over OpenGL. The wheel is turning, and it will never stop.
@danielnagy494012 жыл бұрын
It's not worked :( Error: GL/glut.h: No such file or directory. What's the problem?
@delgadogorn12 жыл бұрын
What does OpenGL do anyway?
@4Got10Shadow13 жыл бұрын
@bananavice thanks for enlightening me your a big help.
@Vartrex511 жыл бұрын
Yes but its not like Java or Pascal right?
@MyStuff77412 жыл бұрын
Nice tutorial
@Ilikemustard13 жыл бұрын
@DonOfTheInternet Meh, I manage to figure out anything I need to do with Win32 using Google and MSDN.
@radnyx_games12 жыл бұрын
I am watching this in January 2013. I love you for commenting.
@alberteinsteinthejew11 жыл бұрын
I'm watching this in July 2016. Just wanna let you know guys that KZbin is now a subsidiary of Toyota.
@man12219015 жыл бұрын
can someone give me the link to download the openGL file..thanks =)
@benton20216 жыл бұрын
this doesnt work for me. cant i jus run this without installing microsoft platform sdk??
@ghostxop210116 жыл бұрын
visual studio 08 is free. its only a express but it has everything you need no extras, i still prefer 05 tho
@4Got10Shadow13 жыл бұрын
@bananavice I see, but they didnt require me to learn open gl to make a game??
@benton20216 жыл бұрын
it gives me compiler error every time i try to compile a OpenGL thng. it sucks
@darkness948415 жыл бұрын
no, u are not the only person. i'm also here ^^
@btrekkie16 жыл бұрын
I don't think so. Could you be more specific about what error you're getting?
@paulthecoolest11 жыл бұрын
MY college project : a 3d game made on OpenGl..I am simulatenously excited and super scared..Anyone has any experience any tips,any book choices,anything of help note : I have to do this within 2 months..I might get just a few weeks to actually do the programming
@ViProFL13 жыл бұрын
why i cant start debugging?
@kramer3d17 жыл бұрын
awesome, i love you man :)
@adikid8914 жыл бұрын
"kinda lame.. but that's ok.. things will pick up"
@GsgamesNet11 жыл бұрын
You didn't put the files in right folders or you didn't use a VS compiler.
@ItsMrHowTo12 жыл бұрын
I'm a beginner in coding and I was wondering how I could learn coding cheap and fast... preferring C++ or javascript... without buying big books
@btrekkie16 жыл бұрын
Cool, good luck with that. :)
@Ilikemustard12 жыл бұрын
@Fangornmmc The comment was made because this is an OpenGL tutorial, not an introduction to C++. Honestly you should not attempt to "dive into" OpenGL without a strong grasp of C, otherwise you will be inflicting unnecessary headache upon yourself. All the languages you listed are very high level, C is very low level (and I specify C because OpenGL is written in C and doesn't use any C++).
@TheBodysome11 жыл бұрын
umm should i start a 2013 or something?
@delgadogorn13 жыл бұрын
whats " opengl"?
@renatocanhaify11 жыл бұрын
What you forget to mention is that Toyota now in 2016 is a Brazilian company
@benton20216 жыл бұрын
here is the error it gave me LINK : fatal error LNK1104: cannot open file 'winmm.lib'
@4Got10Shadow13 жыл бұрын
@bananavice but i made simple games thru blender without knowing opengl
@benton20216 жыл бұрын
never mind this is jus to compicating, do anyone knw of a compiler that already comes with the opengl settings? doesnt have to be free.
@darkdevil90513 жыл бұрын
@headchopperz Lol that true mate !
@anng959 жыл бұрын
thanks :) you explain well
@btrekkie17 жыл бұрын
Hmm, must've been something with GoDaddy hosting. I know the site has been down at least once before because GoDaddy didn't feel like working. It should be working now.
@EddieKMusic12 жыл бұрын
OpenGL does 2D/3D graphics
@LemonadeCinema11 жыл бұрын
No Java Script and PHP is usually website development.
@w9ahmed14 жыл бұрын
Thank you :)
@marcusandguitar14 жыл бұрын
@MultiPivotmasterdx : Yep dude... You can download it from the Official site...
@rlf198912 жыл бұрын
no stick with sdl, its much better or better yet look for SFML ;)
@iceshadow62513 жыл бұрын
@MrVirtualCoder it's called learning. no one is just gonna know the basics, they have to learn the basics before they can move forward, simplifying it makes it easier to learn. And once you learn the basics, then you can learn the more difficult shit. You build up. Teachers in elementary don't just bust out with algebra and calculus, they start with basic adding and subtracting.. But I guess any 8 year old that doesn't understand the concept of algebra should just give up on basic math, right?
@srarlightballs698410 жыл бұрын
put void main not int main.you use void when a function returns nothing like main.
@wesofx814810 жыл бұрын
Sometimes you want main to return values for debugging purposes.
@SeanK-10 жыл бұрын
void main goes against the C++ specification. VC++ allows it, many other compilers do not. Generally, an application should return success or failure to the OS.
@ghostxop210116 жыл бұрын
cool!
@ccricers17 жыл бұрын
Dev C++ is not widely updated anymore. If you want a great free IDE that's quick to set up, get CodeBlocks. Dev C++ looks like a toy compared to CodeBlocks.
@EddieKMusic13 жыл бұрын
@headchopperz :DD
@sacredgeometry12 жыл бұрын
@CommentMaster12341 I am sure that the whole of the CG software industry would disagree with your comment that openGL was obsolete in 2007, out of date? Yeah sure but it got a severe overhaul in 2008 something you cant really fault the non-time traveling poster of this video. Hindsight is a beautiful thing but it doesn't excuse idiocy.
@jinjatube13 жыл бұрын
@DonOfTheInternet Yeah, cos u don't want to actually use the media possibilities of a computer to learn stuff about computer programming, cos that would be like using the tool your going to exploit to learn how to exploit it... which would be, like, er, crazzzy, yeah?
@roboneko7715 жыл бұрын
NOW YOU KNOW HOW IT FEELS!!!!
@TheCODTactics12 жыл бұрын
I wrote that comment 1 year ago. Wow, I have changed a lot since then :)
@floralpoboop12 жыл бұрын
what are you talking about opengl is better than directx, and it has been for years. Its actually ahead by leaps and bounds with more supported functionality, more platforms supported, and stability.
@6dark6alex611 жыл бұрын
I'm watching this in 3654 BC on the Mystical Waters of Ailon
@krenciak4 жыл бұрын
I'm watching this in 2024!
@StelarCF15 жыл бұрын
O_O you don't like C++? whats the prob with it? And i remember Delphi is some kind of pascal(or not?) Anyway i like C++ :P
@uc-np7tu12 жыл бұрын
0:08 When that popupmessage apeared i wanted to close it O_o
@masterofpop15 жыл бұрын
yeah right it loaded so fast, this can't be windows that you are using.
@cypher1554R17 жыл бұрын
Dev-C++ rules, just go ahead and use it, rather than Bill's crapy toys.. to get the packages, go to Tools -> Check for packages/updates.. and find what you need there.. as for openGL, you can find all the pieces you need: gl, glu and glut libraries..