Tutorial 1 - Setting up an OpenGL Project in Visual Studio 2010

Share
Embed
  • Published on Mar 12, 2013
  • This tutorial shows you how to set up an OpenGL project in Visual Studio 2010
  • GamingGaming

Comments • 187

  • Junior Santos Gerry
    Junior Santos Gerry 4 days ago

    Hi there
    I just test your code i have a visual studio 2010 ultimate and when i compiled your code
    the window start blink fast and disapear that is normal?
    thanks for tutorial

  • Po Tato
    Po Tato 5 months ago

    omg thanks you so much for this 😲. i have been struggling so much, it's a good thing i found this. lol 😓

  • Fransiscus Aprilyanto
    Fransiscus Aprilyanto 10 months ago

    Got this error :
    1>------ Rebuild All started: Project: HelloWorld, Configuration: Debug Win32 ------
    1> main.cpp
    1>main.obj : error LNK2019: unresolved external symbol __imp__glewInit@0 referenced in function _main
    1>C:\Users\Fransiscus\Documents\Visual Studio 2010\Projects\HelloWorld\Debug\HelloWorld.exe : fatal error LNK1120: 1 unresolved externals
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

  • Steffen Grund
    Steffen Grund Year ago

    C++ mit Freeglut

  • fossegrim
    fossegrim Year ago

    what makes you run windows instead of macOS

  • CAMERAshow
    CAMERAshow Year ago

    For who want the code used by him. Take below.
    #include
    #include
    #include
    using namespace std;
    //Any time the window is resized, this function gets called
    void changeViewport(int w, int h) {
    glViewport(0, 0, w, h);
    }
    //Here is the function that gets called each time the window needs.
    //It is the paint method for our program
    void render()
    {
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glutSwapBuffers();
    }
    int main()
    {//initializate GLUT
    glutInit(&argc, argv);
    //set up some memory bfefers for our display
    glutInitDisplayMode(GLUT DOUBLE | GLUT RGBA | GLUT DEPTH);
    //Set the window size
    glutInitWindowSize(800, 600);
    //create the window with the title "hello, gl"
    glutCreateWindow("Hello, GL");
    //Bind the two functions ,above, to respond when necessary
    glutReshapeFunc(changeViewport);
    glutDisplayFnc(render);
    //very important! TRhis initialize the entry point in the OpenGl DRIVER SO WE CAN
    //call all the function in the API.
    GLenum err = glewInit();
    if (GLEW_OK != err) {
    fprint(stderr, "GLEW error");
    return 1;
    }
    //Start up a loop that runs in the background (you never see it)
    glutMainLoop();
    return 0;
    }

  • M. S
    M. S Year ago

    Thanks for the great tutorial! OpenGL is so dumb! Setting it up is just so painful!

  • Jose Jimenez
    Jose Jimenez 2 years ago

    okoihio
    kk
    ll
    .kkollkekrkldkkdlf,,fllr

  • Hasham Naveed
    Hasham Naveed 2 years ago

    Thank You soo Much Jeffrey. Been looking for a solution since 4 days and finally found one. Thank you.

  • Adarsh Gupta
    Adarsh Gupta 3 years ago +2

    Code at 1:19 with comments -
    #include
    #include
    #include
    using namespace std;
    //Anytime the window is resized, this function gets called. It's setup to the
    // "glutReshapeFunc" in main
    void changeViewport(int w, int h)
    {
    glViewport(0, 0, w, h);
    }

    //This function gets called each the window needs to be redrawn
    //It is the "paint" method for our program, and is setup from the glutDisplayFunc in main
    void render()
    {
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glutSwapBuffers();
    }
    int main(int argc, char** argv)
    {
    //Initialize GLUT
    glutInit(&argc, argv);

    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH); //setup some memory buffers for our display
    glutInitWindowSize(800, 600); //set the window size
    glutCreateWindow("Hello, GL"); //create the window with title "Hello, GL"
    //Bind the two functions (above) to respond when necessary
    glutReshapeFunc(changeViewport);
    glutDisplayFunc(render);
    //Very Important! - This initializes the entry points in the openGL driver so we can
    //call all the functions in the API
    GLenum err = glewInit();
    if (GLEW_OK != err)
    {
    fprintf(stderr, "GLEW Error");
    return 1;
    }
    glutMainLoop();
    return 0;
    }

  • Chou Joe
    Chou Joe 3 years ago

    Thank you so much, Jeffrey !!!!!!!!!!!!!

  • Douglas Ferreira
    Douglas Ferreira 3 years ago +1

    I've downloaded the FreeGLUT but inside file there's no "lib" root

    • Amol Bambode
      Amol Bambode 2 years ago

      same with me, can someone provide link to download freeGLUT with lib folder.

  • Neil Roy
    Neil Roy 3 years ago

    I prefer to use Code::Blocks for this. It can be set up very easily, all the libraries are available for it as well and easily set up. What bothers me about this video, and it is good, is that Visual Studio didn't give you an error in your code. You are using fprintf() and the #include was not added to the file. This actually bugs me that VS let you get away with this. Code::Blocks gave an error, so I changed the fprintf() to cerr (or you can use cout) instead.

  • Hugius
    Hugius 3 years ago

    Is this the old or modern version of gl?

  • Beltha
    Beltha 3 years ago

    Thank you very much for this video! :)

  • Jeffrey Chastine
    Jeffrey Chastine  4 years ago +5

    New code location:
    ksuweb.kennesaw.edu/~jchasti1/courses/cs4363/resources/Code.zip

    • Виктор Савинов
      Виктор Савинов 3 years ago

      +Jeffrey Chastine I am sorry. I find in coments down. Thank you.

    • Виктор Савинов
      Виктор Савинов 3 years ago

      +Jeffrey Chastine , From where can I get the code on 1:19 mins ?
      Tyt4 and folowing tyt only i can find in Code.zip .

    • 蔡佳昱
      蔡佳昱 3 years ago

      +Jeffrey Chastine Thank you so so much!

  • Jitendra Kumar
    Jitendra Kumar 4 years ago +2

    Not able to find glew32.dll Could you provide the link to download glew which includes .dll files.

  • Pranav Gore
    Pranav Gore 4 years ago

    Thank you very much!!

  • Damo Dharan
    Damo Dharan 4 years ago

    While trying to compile,

    Error 2 error LNK2019: unresolved external symbol __imp__glewInit referenced in function _main
    Please help me

  • Alem Sehic
    Alem Sehic 4 years ago

    Hey,where I can get codes from this tutorial.I downloaded Code.zip but I cannot find Tut1 folder ,there are only Tut(4,6,8,13,14,15,17) :( ???

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago +1

      @Alem Sehic From what I remember, I used code from one of the later projects. The point of this tutorial wasn't the code, but just to get something to compile.

  • Tiger One
    Tiger One 4 years ago

    help me a lot. thanks

  • Livestock17
    Livestock17 4 years ago +1

    Excellent. Very helpful. Thanks.

  • build stone
    build stone 4 years ago

    thanks man, you helped me a lot!!

  • MrOriginalMix
    MrOriginalMix 4 years ago

    What is all the code copied in the beginning? where did it come from??

    • MrOriginalMix
      MrOriginalMix 4 years ago

      @Jeffrey Chastine Thank you Jeffrey, you are a legend.

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      @MrOriginalMix cse.spsu.edu/jchastin/courses/cs4363/resources/Code.zip

    • MrOriginalMix
      MrOriginalMix 4 years ago

      @Jeffrey Chastine Thank you so much for the reply, I appreciate your time. Sorry for sounding like a moron, but i dont see any code in the description or links... I must be blind?

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      @MrOriginalMix See the link to the code below

  • Zach Chang
    Zach Chang 4 years ago +1

    I did it step by step and then compiled.
    But finally it gor wrong and appered:
    "LINK : fatal error LNK1104: cannot open file 'freeglutd.lib'"
    How could I solve this problem?

    • Michael DeLomba
      Michael DeLomba 4 years ago

      +Ethan Zhu No problem! Glad to help

    • Ethan Zhu
      Ethan Zhu 4 years ago

      +Michael DeLomba Thanks a lot. I save my problem.

    • Michael DeLomba
      Michael DeLomba 4 years ago

      @Talesseed Hey, I'm glad I can help. It seemed to be an issue that wasn't covered anywhere so I made sure to post my solution.

    • Talesseed
      Talesseed 4 years ago

      @Michael DeLomba Thanks a lot !

    • Michael DeLomba
      Michael DeLomba 4 years ago +3

      @張誌安 If you're still having this issue, I wrote a post about it on the OpenGL forum being's I ran into this same issue today. www.opengl.org/discussion_boards/showthread.php/186328-error-link-1104?highlight=freeglutd

  • Wes Wickwire
    Wes Wickwire 4 years ago

    I keep getting the error file cannot open input file freeglutd.lib. In my download of freeglut there isnt even a file of that name. Ive looked everywhere and cannot find a solution.

    • Michael DeLomba
      Michael DeLomba 4 years ago

      @Wes Wickwire Hey Wes, I don't know if you finally figured this out but I ran into the same issue today. I made a post on the OpenGL site if you're still running into this issue. www.opengl.org/discussion_boards/showthread.php/186328-error-link-1104?highlight=freeglutd

    • Wes Wickwire
      Wes Wickwire 4 years ago

      @Java Tutorials I downloaded it form that website. I followed the readme that came with it and did everything they say to. Not sure if its cause im on windows 8. Bit I kind of overrode it by going into the freeglut_std.h file and explicitly changing it from freeglutd.lib to freeglut.lib. Obviously not the optimal way to fix it but its the only way i could get it to work. Thanks for the quick response though!

    • Java Tutorials
      Java Tutorials 4 years ago

      @Wes Wickwire I would suppose that you have downloaded a different version. I recommend downloading it from the Transmission Zero website.

  • Aaveg Sheth
    Aaveg Sheth 4 years ago

    I am not getting a lib file in freeglut? What should I do?

    • Nicholas Mead
      Nicholas Mead 4 years ago

      @Aaveg Sheth Download the Prepackaged Release instead of Stable Release from freeglut.sourceforge.net/index.php#download

    • Aaveg Sheth
      Aaveg Sheth 4 years ago

      Thank you

    • Aaveg Sheth
      Aaveg Sheth 4 years ago +1

      I tried to download it from OPENGL but it didnt work

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      I would download it from here:
      www.transmissionzero.co.uk/software/freeglut-devel/

  • I n s i d e C o d e
    I n s i d e C o d e 4 years ago

    Уёбок, чё так много лишних слов?

  • Ryma ZAOUI
    Ryma ZAOUI 4 years ago

    thank you so much *-*

  • msoulforged
    msoulforged 4 years ago

    Thanks! One question; if I use Nuget package manager for glew and freeglut, do I still need to do additional wiring for linker and other stuff?

    • msoulforged
      msoulforged 4 years ago

      @Jeffrey Chastine NP, I checked myself and yes, in VS2012 you can just use Nuget Package Manager to install freeglut and glew in a few clicks.

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      Sorry - I don't have any experience with that. Maybe the community can answer.

  • Manet Saman
    Manet Saman 4 years ago

    How to change name of a project in the correct way? Do i just go the folder directory and change it there or in the Visual Studio itself?

  • Samah Malibari
    Samah Malibari 4 years ago

    From where can I get the code on 1:19 mins ? :)

    • Java Tutorials
      Java Tutorials 4 years ago

      cse.spsu.edu/jchastin/courses/cs4363/resources/Code.zip

  • Mat Hunt
    Mat Hunt 4 years ago

    Sadly this method doesn't work in visual studio 2013. I keep getting freeglut.lib cannot be opened all the time. Secondly, I think that you have to have the relevant files inside the project and not outside. I have looked EVERYWHERE for this particular error which is:
    LNK1104 cannot open file freeglut.lib

    • Mat Hunt
      Mat Hunt 4 years ago

      In the end that is exactly what I had to do along with the .dll files as well.

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      That means it can't find freeglut.lib. Do a manual search for it (to make sure you have it) and then make sure your (linker) path is set correctly. Though under certain circumstances it makes sense, you shouldn't copy libs/headers into your project.

  • pontus magnusson
    pontus magnusson 4 years ago +27

    #include
    #include
    #include
    using namespace std;
    void changeViewport(int w, int h)
    {
    glViewport(0, 0, w, h);
    }
    void render()
    {
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glutSwapBuffers();
    }
    int main(int argc, char**argv)
    {
    glutInit(&argc, argv);
    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH);
    glutInitWindowSize(800, 600);
    glutCreateWindow("Pinnen is the best");
    glutReshapeFunc(changeViewport);
    glutDisplayFunc(render);

    GLenum err = glewInit();
    if (GLEW_OK != err)
    {
    fprintf(stderr, "GLEW Error");
    return 1;
    }
    glutMainLoop();
    return 0;
    }

  • dante uchiha
    dante uchiha 4 years ago +1

    and where do i download the opengl files??

  • lololololololol ol
    lololololololol ol 4 years ago +1

    Please put the links to freeglut and glew in the description.

  • CroX
    CroX 4 years ago

    its really smart to make tutorial about setting up without linking the code you use and the libary link so people would be sure to download the right thing and using the right code in order to program run and everything be ok

  • Minh Ly
    Minh Ly 4 years ago

    I am using VS 2012.When I accessed folder Debug in folder Project as you did.I didn't see anything inside.Even if there weren't ".exe","ilk","pdb" in folder Project.Could you help me with this problem ? Please respond me as soon as you can.I need this deperately.Thanks in advance.

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      If the program runs, you should have an .exe somewhere. Don't worry about the pdb or ilk file (because VS 2010 automatically generates several files).

  • vinay p
    vinay p 4 years ago

    Can anyone give link to download OpenGL Software shown in vedio

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      @Paweł Mieleń I do not know the difference, but I would probably use 2.8.1.

    • Paweł Mieleń
      Paweł Mieleń 4 years ago

      @Jeffrey Chastine could you explain Glut version ? newest stable version i found is 2.8.1, and testing is 3.0

    • Jeffrey Chastine
      Jeffrey Chastine  4 years ago

      I'd recommend getting freeglut from www.transmissionzero.co.uk/software/freeglut-devel/ or freeglut.sourceforge.net/ and getting GLEW from glew.sourceforge.net/

  • Joshua Heathcote
    Joshua Heathcote 5 years ago

    My FLIPPING .exe isn't there, I ran a simple program at the start to make sure it was there, created the project, ran at the end and puff, its gone, error, can't find .exe
    What the hell is going on

    • Walking Glue Sticks
      Walking Glue Sticks 4 years ago

      The cause of that is probably:
      1.Your antivirus could have false-identified your .exe file as a virus and deleted it. Most modern antiviruses(ESPECIALLY Kaspersky) can cure/delete/quarantine suspicious files silently without waiting for the user's confirmation. To fix that, just add your development directory to the "exception" list of your antivirus.
      2.There is a worm that modifies .exe files to viral ones(so it can recover even after getting nuked by the antivirus). Do a full scan and cure .exe files manually if needed.
      3.It might as well be a Visual Studio thing with it properly saving the .exe only after you save the project manually. Haven't checked it myself though, as I mostly use CodeBlocks.

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      I haven't heard of this before. If something ran, then an executable has to be *somewhere*, unless there's a script that's cleaning up resources. Sorry, I wish I had something better to contribute.

  • Caleb Kierum
    Caleb Kierum 5 years ago

    Hey their! For the longest time i have been trying to find a tutorial that taught this and was re creditable! I finally got openGL working. I just have two questions for you.
    1. When using glut and glue is the project freely distributable? Are their any royalties or licensing involved?
    2. Is their a function that simply sets a pixel at a certain point with a certain color?
    Thankyou so much for doing more then just shoving the code in our faces! Im excited to dig into what makes 3d gaming work!

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      I'm not quite sure about the licensing of freeglut or GLEW, but I would guess they are distributable. You'll have to check their docs. As far as setting a pixel, I'm not aware of a function that does that. You might try working in Normalized Device Coordinates (NDCs) which range from -1 to +1 and then convert to screen space. For more info on NDCs check out my later tutorials (it might be in "coordinate spaces", but I don't remember).

  • some guy
    some guy 5 years ago

    Tutorial 2 ?

  • Tinh Nguyen
    Tinh Nguyen 5 years ago +2

    you can find the freeglut inlcude lib in www.cs.uregina.ca/Links/class-info/315/WWW/Lab1/GLUT/windows.html

    • Foad S Farimani
      Foad S Farimani 4 years ago +1

      @Tinh Nguyen I think this was thw only helpful comment I found here. I just followed the steps and the problem was gone. except I also added
      #define NDEBUG
      to top of my code as was said somewhere in the internet! apparently somewhere inside the freeglut_std.h it says if the NDEBUG is not defined use freeglutd.lib instead!

  • brandx96
    brandx96 5 years ago

    I do not have an executable in my project directory at all. Why is it not there? I appreciate the help.

    • brandx96
      brandx96 5 years ago

      It was a while ago, and before I moved into college and on a different computer so I unfortunately forgot. Sorry! :(

    • brandx96
      brandx96 5 years ago

      I got it working, no worries.

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      That's strange! Well, if it runs, you have to have an .exe somewhere! One thing to realize is that you have a Debug and/or Release folder, so maybe it's in one of those?

  • Marek Grencštein
    Marek Grencštein 5 years ago

    In the part where you copy .dll files to debug folder, I do not have any .exe nor .ilk files in it. Only .pdb file. How do I fix it?

    • Marek Grencštein
      Marek Grencštein 5 years ago

      I managed to fix that and now everything works as yours when I remove following code: GLenum err = glewInit();
      if (GLEW_OK != err)
      {
      fprintf(stderr, "GLEW error");
      return 1;
      }
      I got that from your next video.

  • Omar Hussein
    Omar Hussein 5 years ago

    Man , I haveproblem with debuge projects when I run any project ( massege :- project out of date . would you like to build it (yes , no ) when I click yes the project doesn't start . Can you help meee ?! :(

    • Omar Hussein
      Omar Hussein 5 years ago

      @Jeffrey Chastine all project make that and I delete it and make it again ( nothing happend )

    • Omar Hussein
      Omar Hussein 5 years ago

      all project make that and I delete it and make it again ( nothing happend )

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      Maybe try cleaning the project (?) It's one of the option in the menu system. If it's not that, maybe the community can help?

  • Kyle Brechin
    Kyle Brechin 5 years ago

    After compiling successfully, the program can't run because glew32.dll is not on my computer. However, I manually placed it into Windows\System32

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      Be careful about versioning when you do this; libs/dlls must match, and if you update your version, it can be easily forgotten where you put your dlls. For those who are new to this process, I'd recommend manually putting the dlls into the executable folder (probably /Debug) first until you get comfortable with it. I only say this because it's a good idea to "practice" setting up Visual Studio :)

  • MrLemple
    MrLemple 5 years ago

    Everything works accept for the end section. When i run my program the black box only appears for a second and then disappears. Any help with this please? :)

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      Did you try running it in Debug mode or Release mode? (F5 vs. CTRL-F5). It almost sounds as if you're getting an error, so not sure what's causing that.

  • Ahmed Saeed
    Ahmed Saeed 5 years ago

    there is no div folder in my C Driver...
    How can i will complete ?

    note : using visual studio 2013 professional

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      You need to manually make the C:\dev folder. Realize that it can be called whatever you like, so it's just a personal preference. Either way, make sure the path names (i.e. C:\dev\freeglut) match where you put your libraries.

  • Shj Myself
    Shj Myself 5 years ago

    Thanks for your source code of this OpenGL tutorials.
    But I can't find the "r" file.
    Without the "r" file I can't practice the code.
    Can I have it ?

    • Shj Myself
      Shj Myself 5 years ago

      @Jeffrey Chastine
      I am sorry . the "r" is a reference parameter that present the reading file.
      And the actual parameter are shader files.
      I get it now.
      Sorry for my English. I am from a secret country.
      Thanks again.

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      I'm not sure I understand. I don't think there's a "r" file in the project.

  • MarkusA380
    MarkusA380 5 years ago

    Great Video! It works the same for VS 2013, too! The only difference is that it tells you directly that the .dll files are missing, what is pretty confusing. But, I just continued watching and found out everything, so really, thank you for this little masterpiece! :D

  • Raghavendra U
    Raghavendra U 5 years ago

    Oh found it in transmission zero link

  • Raghavendra U
    Raghavendra U 5 years ago

    I could get the free glut from the repository but it does not have library files that is needed to be linked. Can you help me on this

  • Stefano Trebeschi
    Stefano Trebeschi 5 years ago

    I'm freaking out trying to figure out why I keep getting the error message "Error 1 error LNK1104: cannot open file 'glew32.lib'"
    Any idea?

    • Stefano Trebeschi
      Stefano Trebeschi 5 years ago

      right now I dont have visual studio on this machine. I remember that my problem was the path: I had to select the one containing the library, but I selected the parent folder.
      (dumb dumb dumb dumb dumb) :(

    • T.A.D. G.R
      T.A.D. G.R 5 years ago

      @Stefano Trebeschi How did you do it?

    • Stefano Trebeschi
      Stefano Trebeschi 5 years ago

      Now it's working! Yes, it was my fault, I didn't notice I wrote down the wrong path. :( thank you

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      It's likely because it can't find glew32.lib during linking. Double-check the path in VS.

  • Raghavendra U
    Raghavendra U 5 years ago

    Where can I find the freeglut and glew source code and library files to link it in the application

  • Tseno Tsenov
    Tseno Tsenov 5 years ago +1

    WTF IS THIS SHIT:

    1>------ Build started: Project: Desolation, Configuration: Debug Win32 ------
    1> main.cpp
    1>c:\users\educatedmf\documents\visual studio 2012\projects\desolation\desolation\main.cpp(12): error C2220: warning treated as error - no 'object' file generated
    1>c:\users\educatedmf\documents\visual studio 2012\projects\desolation\freeglut\include\gl\freeglut_std.h(614): warning C4505: 'glutInit_ATEXIT_HACK' : unreferenced local function has been removed
    1>c:\users\educatedmf\documents\visual studio 2012\projects\desolation\freeglut\include\gl\freeglut_std.h(616): warning C4505: 'glutCreateWindow_ATEXIT_HACK' : unreferenced local function has been removed
    1>c:\users\educatedmf\documents\visual studio 2012\projects\desolation\freeglut\include\gl\freeglut_std.h(618): warning C4505: 'glutCreateMenu_ATEXIT_HACK' : unreferenced local function has been removed
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    • Simaus Masaqer
      Simaus Masaqer 4 years ago

      @Tseno Tsenov
      I have similar problem to this and I can't find out how to fix it...
      As I compile and run program without debugging it returns an error "unknown software exception (0xc000001d) at the 0x1000aeca adress". But as I use debugger, it finds in freeglut_std.h file error: "Unhandled exception at 0x1000aeca in tutorial.exe: 0xC000001D: Illegal Instruction." at 614 line (glutInit_ATEXIT_HACK).
      Any suggestions?

  • Arturo guca
    Arturo guca 5 years ago +1

    Great explanation... it really works!!! :)

  • Ahmad Farras
    Ahmad Farras 5 years ago

    so, we have to do this everytime we create a new project? :(

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      Yep - which is why you need to understand it :) However, there *are* ways that you can configure your environment to do this automatically, but I don't recommend that.

  • shannin salmon
    shannin salmon 5 years ago

    Can you please post some tutorials on how to create a library system using visual foxpro 6.0? pretty please. I do really need it.. please

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      Sorry, I don't have any experience with Visual Foxpro :(

  • Mal Anderson
    Mal Anderson 5 years ago

    Open gl superbible authors a cock head, :( no way to implement those tutorials, great book but horrible for newbies is shocker as the sb6.header over rides freeglut, ect.
    Why did people down vote your video, odd.

    • Mal Anderson
      Mal Anderson 5 years ago

      @Jeffrey Chastine I'd recommend working with code blocks on opengl related matters.
      As one person said to me, the path to opengl a wonderful thing; that is if you manage not to learn from the chronos way.
      The problem with opengl there are to many rules, and sony knows this all to well; that there are to many rules applied on what you can and cannot do (while sony, has built their own version of opengl that tailors to their platform and so on)
      Low level opengl takes time to learn, but what seperates opengl from directx is: driver support.
      Who will support all your games on opengl? opengl 2.0 would but the lines become everlastingly complex. while what you create on your computer others may not on theirs.
      I just wish directx and opengl could share some fairness given they resent each other, but who knows microsoft is considering porting over opengl es based apps to their metro apps.
      Massive difference between opengl and direct x.
      Most engines will decay eventually due to the ever complexity of opengl and directx (look at torque 3d, a great engine stuck in the past on d3d9)
      It's 6 years in the past, but that's not to say it's a useless tool, infact it's brilliant c++ core access that you can utilize. you cannot do that with out the written consent, and that's rare.

      Opengl 2.0 and 3.0 is segmented where those who were once competent must now come to the conclusion is it worth the cross over.
      Opengl 4.0 can be taught but with out the skill sets that opengl 2.0 doesn't offer will penalize you immensely.

      If you asked me, i wouldn't even bother, the path to opengl is never ending, and seeking what you want from it will never come. as a scientific evaluation; or free license lessons fine. but anything beyond 2.0 opengl is much complex, and you would need a team of 4 people, opengl 2.0 is much easier for hobbyists as a depreciated library that serves no purpose but mincraft related games. i bet microsoft profited big from that on their rewritten d3d9 version.
      Know your market before starting high or low if you ever write a pdf book
      Target a market that wishes to learn from the basics.
      Then branch of from 3 pdf versions; while the basics will house the foundation for the creation:
      The problem with most pdf is: it's convoluted from other rewritten versions. the premises is there but the cross over to understanding what it is you need isn't. (examples, snippits, implementation.)

    • Jeffrey Chastine
      Jeffrey Chastine  5 years ago

      I thought about writing an open OpenGL book and posting it for free (or donations, or whatever). The nice thing is being able to add dynamically to the book. This would have to wait until the summer, though.