Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Ygyaxthe3rd

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,790

    When I try using glimg::Dimensions dims =...

    When I try using



    glimg::Dimensions dims = ImageSet->glimg::ImageSet::GetDimensions();


    after I have loaded the image into an image set and created a texture with it, it returns this error:
  2. Replies
    9
    Views
    1,790

    So I found it through some searching, and it...

    So I found it through some searching, and it appears to be a postfix expression. I'm sorry to waste your time with such a basic question. I have only taken two high school classes on programming and...
  3. Replies
    9
    Views
    1,790

    What does the '->' between the imageset and...

    What does the '->' between the imageset and GetDimensions(); represent?
  4. Replies
    9
    Views
    1,790

    I am wondering how to get a Dimension instance...

    I am wondering how to get a Dimension instance from an ImageSet, but I am new to programming, so I am having trouble understanding how it is done by reading the docs. I am looking for some example...
  5. Replies
    9
    Views
    1,790

    glimg image dimesions

    I can't seem to figure out how to use glimg to find the width and height of an image that has been loaded into an image set. I know it uses the glimg:: Dimensions class, but I cant figure out how...
  6. Replies
    9
    Views
    1,381

    What can I do to fix the fact that the header...

    What can I do to fix the fact that the header file is causing the program to crash? Is is something in the program? or do I need to update some OpenGL files in my compiler?
  7. Replies
    9
    Views
    1,381

    I am still including the #include...

    I am still including the


    #include <glload/gll.hpp>

    header, so maybe that is the header I need? I'm not sure. Is there anything wrong with excluding the header that is causing it to crash if...
  8. Replies
    9
    Views
    1,381

    I managed to get the program to work! For some...

    I managed to get the program to work! For some reason commenting out


    #include <glload/gl_all.h>

    stopped the crashes.
  9. Replies
    9
    Views
    1,381

    The console returns: Texture creation...

    The console returns:


    Texture creation successful.

    Process returned -1073741819 (0xC0000005) execution time : 1.631 s
    Press any key to continue.


    I am using an NVIDIA GeForce GT 635M...
  10. Replies
    9
    Views
    1,381

    glimg is breaking the opengl context?

    My code is breaking when I use the glMatrixMode( GL_PROJECTION ) command, and I think this is because the context is breaking when I try to load a picture using glimg. Here is my code:


    ...
  11. I tried moving the image loading and texture...

    I tried moving the image loading and texture creation before the context creation, but it seems that both need to have the context in order to work. The program crashed when it tried loading the...
  12. *bump* Your code worked, but it doesn't do...

    *bump*

    Your code worked, but it doesn't do what I want it to do. I am trying to create a program that loads and image into memory, then displays the opengl context until you press the escape key....
  13. I can't check the screen size right now...

    I can't check the screen size right now unfortunately, but I have another version of this program I made using a a smaller window that wasn't fullscreen, and that didn't work for the same reasons as...
  14. My default screen resolution is 1600x900, so I...

    My default screen resolution is 1600x900, so I don't think that is the problem. The program will build and run, but once it reaches the glMatrixMode() line it crashes. The image always loads...
  15. glMatrixMode() is causing my program to crash

    I am trying to create a program that loads an image into memory and doesn't crash, but it seems that whenever I load an image the OpenGL context breaks. This program is crashing at the glMatrixMode()...
  16. Replies
    3
    Views
    979

    *bump* Can someone help me with this?

    *bump* Can someone help me with this?
  17. Replies
    3
    Views
    979

    I included the header file, and the program now...

    I included the header file, and the program now builds, but when I try to run it it crashes on line 63 where I call glMatrixMode(). The console returns this after closing the application:


    ...
  18. Replies
    3
    Views
    979

    Trouble loading textures with glimg

    I've been trying to use the Unofficial OpenGL SDK, but when I attempt to use the image loading library, I keep getting errors. Here is my code:



    1 #include <stdlib.h>
    2 #include <stdio.h>
    3...
Results 1 to 18 of 18