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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. trying out gouraud shading, multiple enabled vertex attributes

    hi there. im using ubuntu 14.04, GLEW and freeglut. i have the latest nvidia drivers. i'm wondering why this code i wrote isn't working... its in c

    #include <string.h>
    #include <stdio.h>...
  2. Replies
    0
    Views
    616

    writing an object loader...

    ive only written the part of the object loader that loads the vertices into the GL_ELEMENT_ARRAY_BUFFER buffer.
    here is my code for the function to load the elements into a buffer:

    int...
  3. would usng x windows with opengl cause performance loss?

    since opengl is accelerated by hardware if i were to use x windows as buttons on the screen would i run into significant loss of performance?
    thanks.
  4. the xlib programming guide and xlib reference...

    the xlib programming guide and xlib reference manual are books?
  5. hi, im looking for mouse and keyboard events. Im...

    hi, im looking for mouse and keyboard events. Im not sure what glx is but im also looking for an explanation of the source code ive found for creating a window with an opengl context.
  6. anyone know where i can find documentation on the x11 lib?

    i really cant find much other than a few examples on wikipedia. i also saw some books on amazon about it but they were written around 1998 or so...
    anyone know if the books are any good or if there...
  7. Replies
    1
    Views
    1,814

    how useful are exponential maps?

    i know that exponential maps can be used for angular velocity, but what else can you use them for, they seem sort of trivial...
  8. Replies
    4
    Views
    2,363

    first place to start would be to learn about the...

    first place to start would be to learn about the format of the videos you want to play. I guess that after that it would be simply just loading each frame as a texture...
  9. Replies
    7
    Views
    2,595

    not to sound critical but im surprised this...

    not to sound critical but im surprised this loader even works for you. ive looked at some obj files and they do things like describing a shape through indexed triangles and then suddenly switching to...
  10. Replies
    1
    Views
    848

    you have to install the new video drivers for...

    you have to install the new video drivers for your graphics card. this gives you the file opengl32.dll. if youre using c i wouldnt use visual studio i would use mingw and the eclipse ide. you also...
  11. Replies
    0
    Views
    713

    isolines tesselation

    hi i am trying to tesselate an isoline but only get 2 points on the screen. im assuming im getting an error somewhere before my fragment shader because all my fragment shader does is set the output...
  12. Replies
    4
    Views
    2,400

    you have to first add this to your code to load...

    you have to first add this to your code to load the functions:
    glewExperimental=TRUE;
    GLenum err=glewInit();
    if(err!=GLEW_OK)
    {
    //Problem: glewInit failed, something is seriously...
  13. Replies
    4
    Views
    2,400

    well its because you dont have glew that its not...

    well its because you dont have glew that its not working. im assuming youve been programing in early opengl, that doesnt require GLEW. but with newer opengl you need GLEW or something like it...
  14. Replies
    0
    Views
    1,329

    created a shader error checker

    1154
    hi i created a simple shader error checker. it takes in shaders and compiles them and spits out the error log. if they pass compilation it will link them and spit out the linking log. to...
  15. Replies
    2
    Views
    1,160

    k i figured it out. i didnt realize i had to make...

    k i figured it out. i didnt realize i had to make an opengl context for the functions to work :)
  16. Replies
    2
    Views
    1,160

    writing a shader error checker in C

    hi im writing a simple shader error checker in C to check for errors on compilation and link time. im having a big problem with getting the glShaderSource() function to work. i first create space for...
  17. Replies
    0
    Views
    535

    transform feedback buffers

    hi, when you record varyings to a transform feedback buffer do the new values overwrite the previous values or are they appended to the buffer?
    thanks :)
    edit: never mind i got it
  18. Replies
    5
    Views
    2,561

    i think you should look over some tutorials. the...

    i think you should look over some tutorials. the code youre using is from a very old opengl by the way. if you want to learn old opengl then visit nehe.gamedev.net
  19. Replies
    5
    Views
    2,368

    i have this problem too. i believe its because...

    i have this problem too. i believe its because the view port isnt square and it causes the normalized coordinates to distort to reach their new positions. its nothing you did wrong :) just gotta find...
  20. Replies
    4
    Views
    3,864

    its true that its missing things to work but they...

    its true that its missing things to work but they do go over it later in the book
  21. Replies
    4
    Views
    3,864

    hey i am reading through the superbible and find...

    hey i am reading through the superbible and find it very hard to follow. the first example of tesselation is missing many components to make it work. it simply didnt tell you everything you needed...
  22. Replies
    1
    Views
    2,057

    point sprites, help please...

    hi, i have been struggling with point sprites for a long time here are my vertex and fragment shaders

    const char *fshader =

    "#version 430 core\n"
    "uniform sampler2D tex1;\n"...
  23. list for XEvent structure's type component?

    sorry about posting a similar question a while ago but i was silly and gave the name of my XEvent structure. so anybody know where i can find a list of possible values the XEvent's type variable?...
  24. Replies
    0
    Views
    1,233

    X11 xev.type list?

    hi, is there a place on the internet or even a book where i can find a list of all the types that xev.type can be?
    thanks
  25. Replies
    1
    Views
    828

    i doubt there is a method for this if your using...

    i doubt there is a method for this if your using freeglut/glut look into the windows api
Results 1 to 25 of 70
Page 1 of 3 1 2 3