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

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,638

    This is change in bison 3 (removed some...

    This is change in bison 3 (removed some deprecated functionality), this hit mesa some time ago:

    https://bugs.freedesktop.org/show_bug.cgi?id=67354



    I managed to get it co compile by patching...
  2. I remember I had this problem quite some time...

    I remember I had this problem quite some time ago, it's not trivial task, here is some info

    http://paulbourke.net/geometry/transformationprojection/

    (scroll down to Euler angles section, there...
  3. Replies
    10
    Views
    3,169

    Sorry, I meant GLUT btw. Is there a way to...

    Sorry, I meant GLUT

    btw. Is there a way to request specific context version (and profile) using glut?

    Edit:
    nevermind, I just asked uncle G:
    glutInitContextVersion(...);...
  4. GLEW should build fine under C::B, I just...

    GLEW should build fine under C::B, I just downloaded version 10.05 and
    glew source 1.7.0 from sourceforge, then imported Visual C++ glew_shared
    project from directory build/vc6 in glew source tree....
  5. Replies
    10
    Views
    3,169

    I just ran Your example (unmodified), and got...

    I just ran Your example (unmodified), and got following output:


    Status: Using GLEW 1.7.0
    OpenGL version 3.3.0 NVIDIA 302.17 supported
    file sh loaded
    InfoLog:
    Linked
    0
  6. Replies
    22
    Views
    4,715

    I bet that display lists are best for static...

    I bet that display lists are best for static geometry in legacy OpenGL.
    Pack Your grid into display list and rebuild list when You change zoom settings.
  7. I would recommend this 'book' :...

    I would recommend this 'book' :
    http://www.arcsynthesis.org/gltut

    It covers many topics and uses modern OpenGL (v3.3)
  8. Which version of OpenGL are You using? Afaik old...

    Which version of OpenGL are You using?
    Afaik old internal texture formats (1,2,3,4) are deprecated by GL 3.0, try GL_RGBA, or GL_RGB instead (third argument),
    also see paragraph 4.4.4 (Framebuffer...
  9. Replies
    2
    Views
    1,725

    Your code does not work for me (menu does not...

    Your code does not work for me (menu does not appear),
    I tried some basic GLUT menu examples from lighthouse3d, they do not display menus either,
    recent version of glut must be broken.

    I'm on...
  10. Replies
    17
    Views
    6,550

    You can extract view direction from modelview...

    You can extract view direction from modelview matrix
    (no need to calculate anything in shader, just take apropriate column), look here:

    http://www.songho.ca/opengl/gl_transform.html#modelview
  11. Replies
    4
    Views
    4,357

    What do You mean by 'highlighting'? GLSL syntax...

    What do You mean by 'highlighting'? GLSL syntax highlighting, or highlighting funtion names and parameters, GL constants, etc?

    I used both vim (gvim) and emacs, both of them have GLSL syntax...
  12. Thread: Trouble Rotating

    by kowal
    Replies
    2
    Views
    890

    Translate your object using matrices (glTranslate...

    Translate your object using matrices (glTranslate or custom uniform matrix passed to vertex shader)
    instead of modifying coordinates directly.

    In order to work as You expect program must do the...
  13. Replies
    3
    Views
    4,509

    Yes, we have, it's called Makefile (or project...

    Yes, we have, it's called Makefile (or project settings if You use IDE)

    http://en.wikipedia.org/wiki/Makefile

    I use this for most of my small projects.
    Just copy-paste code below to file named...
  14. Replies
    3
    Views
    4,509

    Hello, add -lGLU to link against glu library: ...

    Hello,
    add -lGLU to link against glu library:



    gcc -o cube cube.c -lGL -lGLU -lglut
  15. Replies
    10
    Views
    2,118

    call glPointSize() before glBegin();,

    call glPointSize() before glBegin();,
  16. Thread: Creating a Room

    by kowal
    Replies
    2
    Views
    1,845

    Hi, You enabled lighting in Init function, but...

    Hi,

    You enabled lighting in Init function, but I don't see any calls to glLight* in Your code
    You must setup at least one light to see anything. (Or disable lighting and go with plain unshaded...
  17. Replies
    132
    Views
    67,403

    Search works as it should (for me), but there is...

    Search works as it should (for me), but there is another issue:

    Subforums show only posts after upgrade, for example advanced subforum has over 16k threads,
    but I can only access 35 of them (rest...
  18. Replies
    1
    Views
    982

    Hi, Include glaux.lib (or dll) in linker...

    Hi,

    Include glaux.lib (or dll) in linker options.

    You should replace glaux with another lib (glut,sdl?),
    glaux has not been updated for years.
  19. Replies
    132
    Views
    67,403

    Hi, I encoutered strange behaviour of reply...

    Hi,

    I encoutered strange behaviour of reply form (both basic and advanced one):
    each Return keystroke inserts two newlines (I have to manually delete one)

    OS: Linux, browser: Firefox with...
  20. Thread: Lighting problem

    by kowal
    Replies
    2
    Views
    900

    Hello, You called: ...

    Hello,


    You called:



    glLightfv(GL_LIGHT0, GL_POSITION, lightPosition);
  21. Thread: pick point

    by kowal
    Replies
    4
    Views
    1,985

    Re: pick point

    You can move point (or any other object) by modifying it's coordinates before next frame.

    For example:
    If You used GLUT for window management, then You are drawing Your points in display...
  22. Re: What way is faster than wglUseFontBitmap to draw t

    There are many ways to render text in OpenGL,
    try one of those (All presented approaches should offer acceptable performance, but I don't know anything about Chineese support):
    ...
  23. Replies
    2
    Views
    2,177

    Re: Doubt with reshape function

    You did not set the viewport (reshape func should do that)

    glViewport(0,0, width, height) or something like that is needed to tell OpenGL where to draw.

    Reshape function is called on every...
  24. Replies
    3
    Views
    3,351

    Re: Depth only FBO, incomplete draw buffer

    From wiki:
    http://www.opengl.org/wiki/GL_EXT_framebuffer_object

    Depth only FBO initialization code is pretty much the same as Yours, but there is additional call:
    ...
  25. Replies
    3
    Views
    1,260

    Re: Linked Error (Help a Begginer)

    Try one of Image Loading libs:
    http://www.opengl.org/wiki/Image_Libraries

    I like DevIL, but this is my personal preference.
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4