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: Jesse

Search: Search took 0.00 seconds.

  1. If you call ReleaseDC() and then try to use the...

    If you call ReleaseDC() and then try to use the invalid handle, the program will crash and the debugger will generally notify you that there was an invalid operation. Presumably if you are correct in...
  2. I think you are reading too much into the...

    I think you are reading too much into the description. The webpage states that the rendering context "releases the device context that is used by the rendering context". In other words, the rendering...
  3. Thread: camera problem

    by Jesse
    Replies
    1
    Views
    373

    You may want to learn spherical coordinates and...

    You may want to learn spherical coordinates and the mathematics behind rotation matrices. Graphics programming will seem nearly impossible without a solid understanding of trigonometry, linear...
  4. Why can't you just hardcode the colors and map...

    Why can't you just hardcode the colors and map them to integers? Do they need to be randomly generated? RGB space has 256^3 color combinations which are far more than enough to pick 25 distinct...
  5. Thread: LoadGL.h

    by Jesse
    Replies
    6
    Views
    1,057

    Where's the core version of this header? If a...

    Where's the core version of this header? If a client wants to remove non-core functionality, then they are forced to check every extension and function to verify its listing in the specification. I'd...
  6. Replies
    2
    Views
    567

    All you need are current drivers and a decent...

    All you need are current drivers and a decent graphics card. There are no SDKs to install but many people tend to use loading libraries such as GLEW or GL Load and helper toolkits such as Freeglut or...
  7. Replies
    7
    Views
    1,134

    Get rid of the glew32.lib and use glew32s.lib...

    Get rid of the glew32.lib and use glew32s.lib instead. It's a bunch of function pointer loading anyway so it doesn't really matter that it gets statically linked. Compile the library yourself or use...
  8. Replies
    1
    Views
    570

    I don't know what you're talking about. The...

    I don't know what you're talking about. The archive compiles and works perfectly fine on Windows which apparently you're on since you're linking against .lib files. Try using the provided VS solution...
  9. Replies
    2
    Views
    513

    Your code is calling resizeWindow() on the resize...

    Your code is calling resizeWindow() on the resize event yet the function is not implemented. Resetting the projection matrix on the resize will give you what you want. You might also want to be...
  10. Here's an interesting remark at the bottom of the...

    Here's an interesting remark at the bottom of the page:






    These functions are part of OpenGL 3.0+. Their prototypes are in glcorearb.h:
  11. Replies
    3
    Views
    731

    If you're clueless about your own code, what...

    If you're clueless about your own code, what makes you think others have a better idea of what your code is supposed to do? People aren't here to debug your code. They may possibly answer specific...
  12. Replies
    4
    Views
    1,445

    There's no need to do an inverse transpose all...

    There's no need to do an inverse transpose all the time. The website you linked to mentions they are using non-uniform scaling and rotations. He mentions this on the same page:



    A rotation is...
  13. You're not using the current 8th edition Red Book...

    You're not using the current 8th edition Red Book source code. For the latest code, download the Red Book examples from this website: http://www.opengl-redbook.com/
  14. Replies
    6
    Views
    1,618

    Index buffer objects (IBOs) can only have one set...

    Index buffer objects (IBOs) can only have one set of indices for rendering. Since you're trying to render an .obj file, you typically need three sets of indices: position, normals, and texture...
  15. Replies
    11
    Views
    7,209

    Your question is not about OpenGL but general...

    Your question is not about OpenGL but general programming. What do you normally do in any C++ program when you have the compiler tell you that "somefile.h" is missing? Learn C++ first and all the...
  16. Replies
    3
    Views
    1,136

    My reaction was in response to your apology for...

    My reaction was in response to your apology for being "new to the whole C/C++ library system" which is a beginner's remark. Glext.h does not load GL functions, but defines the GL symbols beyond GL...
  17. Replies
    3
    Views
    1,136

    If you're new to C++, or don't know how to use...

    If you're new to C++, or don't know how to use libraries in your working environment, or don't know how to compile source code, or how to link object files, or how to use a C++ debugger, then you're...
  18. Replies
    3
    Views
    1,273

    This is a math question, not an OpenGL question,...

    This is a math question, not an OpenGL question, so in the future don't expect people to answer you. The normal matrix is the matrix which preserves vertex normals under an affine transform. If you...
  19. Replies
    14
    Views
    2,021

    You're trying to get a core profile but you're...

    You're trying to get a core profile but you're manually including glu.h and gl.h. I always seem to have trouble if I include those headers. Try getting rid of those and also use glewExperimental if...
  20. Replies
    4
    Views
    1,526

    Since you're using glut, the callback has to be a...

    Since you're using glut, the callback has to be a static function and cannot be a non-static class method. If this poses some limitation for you, you can try a different toolkit or native APIs such...
  21. Replies
    8
    Views
    2,431

    Re: Free AUX_RGBImageRec ressource impossible

    This isn't even an OpenGL question. Allocating and freeing memory is something you learned when you started programming in C/C++. I'd suggest getting rid of that ancient library Glaux and start using...
  22. Replies
    4
    Views
    1,460

    Re: Textures just black in GL 4

    This is not true. If you read the back cover of the Superbible 5, it says: "OpenGL Superbible, Fifth Edition is the definitive programmer's guide, ....for.... OpenGL 3.3." As of yet, I am unaware of...
  23. Replies
    8
    Views
    5,577

    Re: Can't compile shader anymore

    There isn't enough information here to determine why the compile fails. You should paste the code that's causing the problem. For example, are you reading the shader from a file and returning it as a...
Results 1 to 23 of 23