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: mark ds

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    77
    Views
    17,024

    This was a joke post, yes? "Explain how they...

    This was a joke post, yes?

    "Explain how they don't "actually *work* all the time."

    It never works... call a function that isn't supported, means you call an unsupoorted function! Gl_ERROR vs...
  2. Replies
    77
    Views
    17,024

    Janika has got a valid point. Current OpenGL...

    Janika has got a valid point.

    Current OpenGL is a pain in the arse to deal with. I personally have my own "opengl42.h", "opengl3.3.h" and "opengl3.0.h" headers, each of which includes a small...
  3. http://nehe.gamedev.net/ Be warned, opengl has...

    http://nehe.gamedev.net/

    Be warned, opengl has moved on a long way since the tutorials at that site were written, and most of what is there is simply out-of-date (although it will still work)....
  4. The easiest solution would be to create two child...

    The easiest solution would be to create two child windows - one for you're caption bar, and one to render opengl into. That way you just need to resize/reposition the child windows in response to...
  5. Replies
    4
    Views
    1,493

    Post the code you're using to test for key...

    Post the code you're using to test for key presses. It sounds like that's the likely culprit.

    EDIT - further to the above, it seems like you're setting a flag on key down, but not clearing it on...
  6. Replies
    1
    Views
    848

    I'm an idiot. It's -1!

    I'm an idiot. It's -1!
  7. Replies
    1
    Views
    848

    WGL_EXT_swap_control_tear

    OK...



    Maybe I'm having a "blonde moment", but what the heck does the above actually mean?

    I'm simply trying to allow tearing below monitor refresh rate, rather than falling to [a nominal]...
  8. I doubt that the window creation is the problem,...

    I doubt that the window creation is the problem, but here's what I use:



    WNDCLASSEX wc = { 0 };

    wc.cbSize = sizeof( WNDCLASSEX );
    wc.style = CS_OWNDC | CS_HREDRAW |...
  9. After a VERY quick look, I'm not seeing a...

    After a VERY quick look, I'm not seeing a SwapBuffers in there...




    int GL_drawit( GLvoid )
    {
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glLoadIdentity(); ...
  10. Replies
    8
    Views
    3,736

    You're probably right. Thanks

    You're probably right.

    Thanks
  11. Replies
    8
    Views
    3,736

    I'm trying to create a 4.2 core profile, with a...

    I'm trying to create a 4.2 core profile, with a fall back to 3.0.

    At the same time, I'm trying to create a very robust framework which is capable of catching and reporting all possible errors, and...
  12. Replies
    8
    Views
    3,736

    Incidently, does anyone know if AMD drivers...

    Incidently, does anyone know if AMD drivers handle the code correctly? Or do I need to create code to handle both vendors?
  13. Replies
    8
    Views
    3,736

    Thanks Is the ERROR_INVALID_PROFILE_ARB also a...

    Thanks

    Is the ERROR_INVALID_PROFILE_ARB also a known bug? For testing purposes I was trying to create a GL 4.4 context, and trap the errors.

    At the moment I'm...


    ...
  14. Replies
    8
    Views
    3,736

    Actually, I have found another, related, bug. ...

    Actually, I have found another, related, bug.


    ERROR_INVALID_PROFILE_ARB is defined as 0x2096. However, GetLastError() is returning 0xC0072096 - the high word contains the extra 0xC007 instead of...
  15. Replies
    8
    Views
    3,736

    NVIDIA bug wglCreateContextAttribsARB

    Hi

    Easy enough to work around, but I thought I'd report it...

    wglCreateContextAttribsARB always fails to create a 3.1/3.0/2.1 context when I include WGL_CONTEXT_PROFILE_MASK_ARB, irrespective...
  16. Replies
    7
    Views
    2,638

    It will use the "primary" I believe - meaning...

    It will use the "primary" I believe - meaning which ever card has the monitor attached.
  17. Replies
    14
    Views
    6,231

    Try http://www.lighthouse3d.com/ Under the...

    Try http://www.lighthouse3d.com/

    Under the tutorials menu at the top, select GLUT - you'll see it!
  18. Replies
    0
    Views
    1,564

    GL device caps database

    I was seeking OGL capabilities beyond plain extension lists and I came across this site:

    http://www.myogl.org/

    I'd urge anyone interested in a database of OGL capabilites to visit and use the...
  19. Replies
    10
    Views
    3,822

    Re: A Radeon 5800 as if it was a Radeon 4800?

    I was also seeking information beyond extension lists. After coming across this thread, I came across this site:

    http://www.myogl.org/

    I'd urge anyone interested in a database of OGL...
  20. Replies
    8
    Views
    4,262

    Re: Fullscreen:Nehe causes teardown and rebuild?

    One thing to be aware of, is that ChangeDisplaySettings does NOT change fullscreen mode, it simply changes the current resolution and refresh rate, but without saving these settings into the...
  21. Re: GL file is not being found? Unresolved External Sy

    add

    #pragma comment( lib, "opengl32.lib" )

    to the top of your souce file, or add a reference to it in

    project->properties...
    configuration properties->linker->input->additional dependancies
  22. Replies
    7
    Views
    3,748

    Re: Shader floating point precision

    What hardware are you running on? Older hardware won't support shorts as an internal format - it will convert to RGBA8
  23. Re: Multiple views of the same scene in multiple wndws

    wglMakeCurrent
  24. Replies
    26
    Views
    10,842

    Re: Blitting a window with OpenGL

    Start here

    http://msdn.microsoft.com/en-us/library/ms646304%28VS.85%29.aspx

    and follow the link to SendInput etc.

    This enables you to send a print screen (VK_SNAPSHOT) and copy to the...
  25. Replies
    39
    Views
    17,309

    Re: Application is stuttering on every system...

    I have no experience with SDL whatsoever, but I wonder if the culprit is the resolution of SDL_GetTicks? If it uses GetTickCount internally, maybe try timeBeginPeriod(1) and then timeEndPeriod(1).
    ...
Results 1 to 25 of 53
Page 1 of 3 1 2 3