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: Agent D

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. The simple, straight forward way to compute...

    The simple, straight forward way to compute vertex normals for a generic polygon mesh is to compute the normal for each triangle and take the averge of all triangles that a vertex is attached to.
    ...
  2. Replies
    2
    Views
    135

    OpenGL(R) 3.0 introduced the concept of...

    OpenGL(R) 3.0 introduced the concept of deprecation. A whole bunch of functionallity that can be implemented in software on either the CPU side or in shaders got marked for removal in future versions...
  3. Assuming you are using GLSL >=130: You can write...

    Assuming you are using GLSL >=130:
    You can write the vertex color (a variable declared with an "in" specifier in the vertex shader) into a variable declared as "out" in the vertex shader. You then...
  4. If you want GUI, use an actual GUI toolkit

    If you want GUI, use an actual GUI toolkit
  5. Thread: Load a Texture

    by Agent D
    Replies
    6
    Views
    451

    Those libraries have to be in the same directory...

    Those libraries have to be in the same directory as the application binary.
  6. Thread: Load a Texture

    by Agent D
    Replies
    6
    Views
    451

    I posted a possible answer to your problem over ...

    I posted a possible answer to your problem over here. Please do not cross post.
  7. Replies
    1
    Views
    238

    OpenGL(R) has line drawing functionallity....

    OpenGL(R) has line drawing functionallity. Whether Bresenham's or Xiaolin Wu's algorithm is used, or whether the line is rendered as two thin triangles depends on the driver.

    I can't thing of a...
  8. Replies
    1
    Views
    274

    It's not the image file that is missing, it is...

    It's not the image file that is missing, it is probably libjpeg-9.dll
  9. Replies
    2
    Views
    349

    1 - There is a thing called WebGL(R) which is...

    1 - There is a thing called WebGL(R) which is basically OpenGL(R) ES for JavaScript that draws to an HTML5 canvas.
    2 - There is no such thing as an OpenGL(R) model format. You need to somehow load...
  10. Replies
    1
    Views
    270

    The functions are called glutInit and...

    The functions are called glutInit and glutInitWindowSize because they are parts of GLUT, the GL Utillity Toolkit.
    They are linked propperly, because you link with "-lglut".

    gluLookAt doesn't have...
  11. Replies
    1
    Views
    261

    First of all, I don't see how this is related to...

    First of all, I don't see how this is related to OpenGL(R) at all, and I have no knowledege of the subject, here are some suggestions how I would approach the task:

    a) Search for it online

    b)...
  12. Replies
    1
    Views
    231

    If you render to an FBO, you can always bind a...

    If you render to an FBO, you can always bind a depth/stencil or stencil only target and after the FBO pass is done bind the
    stencil texture as a regular texture and read from it.

    Reading from the...
  13. Sounds like you want some sort of collision...

    Sounds like you want some sort of collision dedection.

    If you only want your camera to collide with world objects, you can do that by casting rays into you scene
    representation and check for...
  14. So if you use the smoothstep function you have a...

    So if you use the smoothstep function you have a chance that some implementations support it in hardware and some others at least generate efficient
    code as it is a builtin compiler intrinsic in...
  15. There is a smoothstep...

    There is a smoothstep function since GLSL 130
  16. Replies
    3
    Views
    439

    Does it change anythin if you replace this line...

    Does it change anythin if you replace this line in the vertex shader:


    gl_Position = modelview * vec4(vertex, 1.0);

    with this:


    gl_Position = projection * modelview * vec4(vertex,...
  17. Replies
    1
    Views
    340

    You might want to contact the GLM developers with...

    You might want to contact the GLM developers with your issue. The people who run this forum are not the people who develop GLM and neither is this a forum dedicated to the development of GLM.

    The...
  18. Thread: glut.h error

    by Agent D
    Replies
    1
    Views
    410

    Ehmmm, no thanks, I have my own copy. What...

    Ehmmm, no thanks, I have my own copy.


    What error!? Please post a compile log.
  19. Replies
    4
    Views
    561

    If you don't specifically target that one weired...

    If you don't specifically target that one weired driver/card combination that only five people in the world use, why do you want to optimize for it?
  20. Replies
    3
    Views
    375

    FreeType and FTGL are 3rd party libraries for...

    FreeType and FTGL are 3rd party libraries for font rasterization.

    You will have to use either 3rd party libraries or your own solution as font rasterization is way beyond the scope of OpenGL(R).
    ...
  21. Replies
    2
    Views
    373

    I took a look at the header here...

    I took a look at the header here. Is that it?

    Anyway, it's C++ and your translation unit is called "main.c". Are you trying to feed C++ through a C compiler?
  22. Replies
    4
    Views
    664

    You need to install the apropriate drivers for...

    You need to install the apropriate drivers for your graphics card. You mentioned yum, so I'm assuming you are using a GNU/Linux distribution.

    If you have an Intel card, install "mesa"

    If you...
  23. There's a link on the GLM website called "report...

    There's a link on the GLM website called "report a bug" that leads to a Github issue tracking site.

    AFAIK Everyone with a Github account can open issues on a public project. You might want to try...
  24. There are other tools like the OpenGL Loader...

    There are other tools like the OpenGL Loader Generator where the actual loader is generated from a specification of required functionallity, or GL3W that focueses on core entry points only.

    You...
  25. Replies
    1
    Views
    295

    That's not a compiler error, it's a warning. ...

    That's not a compiler error, it's a warning.

    It basically says that glut is deprecated and should not be used in new programs.

    I guess that the developers at Apple would prefere you to use...
Results 1 to 25 of 121
Page 1 of 5 1 2 3 4