Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 7 123 ... LastLast
Results 1 to 10 of 65

Thread: tutorial building for "Learning Modern 3D Graphics

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    8

    tutorial building for "Learning Modern 3D Graphics

    The excellent online book "Learning Modern 3D Graphics Programming" by J.L.McKesson.
    Could someone post a step by step outline (with code) of the procedure to build one of the tutorials ? (If I see one done I'm pretty sure I can do the remainder).
    Thankyou in advance for any assistance.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948

    Re: tutorial building for "Learning Modern 3D Graphics

    It already has one. If that is insufficient, then can you suggest what information is missing?

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    8

    Re: tutorial building for "Learning Modern 3D Graphics

    Yes indeed. I have followed those directions using premake4 and have all the cpp files ready for build. When I put them in a project in code blocks they don't compile correctly which I'm sure is my fault. I was hoping that someone with more experience could actually go through the procedure step by step so that I could see how to do it correctly. Someone may even have an example already that they could show me. I really want to get these tutorials working so that I can continue my learning in graphics programming.
    Thankyou.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948

    Re: tutorial building for "Learning Modern 3D Graphics

    When I put them in a project in code blocks they don't compile correctly which I'm sure is my fault.
    Were there errors? What were those errors?

    I was hoping that someone with more experience could actually go through the procedure step by step so that I could see how to do it correctly.
    Again, what part of the procedure did I omit? In what way was it not step-by-step? At which part of the procedure did you encounter an error?

  5. #5
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    8

    Re: tutorial building for "Learning Modern 3D Graphics

    Sorry to have bothered you. I have only one more question. How do I cancel my registration to this site ?

  6. #6
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948

    Re: tutorial building for "Learning Modern 3D Graphics

    Sorry to have bothered you.
    Bothered? I'm trying to find out information about what it is that you're unable to do. I'm trying to help you, but to do that, you need to answer my questions.

  7. #7
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    2

    Re: tutorial building for "Learning Modern 3D Graphics

    I am having the exact same problem as the user here: https://bitbucket.org/alfonse/gltut/...ding-tutorials

    I have downloaded the tutorial files. I have used Premake4 to build the tutorials. However, when I try to build/run any of the projects in MSVS2010, I get the error:

    LINK : fatal error LNK1104: cannot open file 'glloadD.lib'

    Any advice on where to go from here? Thanks and kind regards.

  8. #8
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,264

    Re: tutorial building for "Learning Modern 3D Graphics

    It says it can't open glloadD.lib
    Do you have that file?
    Did you put it in a location where it can find it such as in Programs\MSVC\lib?
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  9. #9
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    2

    Re: tutorial building for "Learning Modern 3D Graphics

    Do you know where I could find that file? Googling only provides me with 8 results: 5 as bits of code of the same file, and the other 3 are linking to this thread.

  10. #10
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948

    Re: tutorial building for "Learning Modern 3D Graphics

    LINK : fatal error LNK1104: cannot open file 'glloadD.lib'
    You appear to have skipped a step in the process. Did you build the SDK? The steps as outlined are in order.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •