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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Err, yeah I was about to do this, but I realized...

    Err, yeah I was about to do this, but I realized I don't know how to revert what I've done by running make install with the glew makefile... It's working for now, should I just leave it, or try and...
  2. Silly me, I didn't even search for glew packages....

    Silly me, I didn't even search for glew packages. I'm guessing the one I wanted was libglew-dev.





    No it's the 64 bit version. I just went to the glew website and it didn't mention using...
  3. Just moved from Mint 12 to Mint 15

    Just moved from Mint 12 to Mint 15
  4. Okay I was able to do something I think is...

    Okay I was able to do something I think is equivalent to 'env LD_LIBRARY_PATH=/usr/lib64 ./release/runme: I use Scons for building and was able to set an environment variable RPATH = '/usr/lib64' in...
  5. Runtime error: can't find libGLEW.so.1.10 in /usr/lib64 directory

    I'm having an error when trying to run my application. The file exists in the /usr/lib64 folder but I can't figure out how to fix the error


    $ ./release/runme
    ./release/runme: error while...
  6. Replies
    1
    Views
    1,564

    Access glm::vec3 component by argument?

    Is there a way to access one component of a glm vector by argument?

    Example:


    bool greaterThan( const glm::vec3& lhs, const glm::vec3& rhs, const Axis axis )
    {
    return lhs.component( axis...
  7. Thanks for the replies. So I went ahead with...

    Thanks for the replies.

    So I went ahead with the geometry shader. I found an example here that is similar and made more sense to me than the other examples I had found:...
  8. Drawing a billboard sprite from a single point- need geometry shader?

    Essentially each point in the buffer will be the center of a new billboard sprite (two triangles). Does this mean I need to use a geometry shader? (never used one before).
  9. Re: gl3w- undefined reference to 'glXGetProcAddress'

    Ok. So i found that the gl3w.c file is generated from the python script that came with gl3w repo, so I was able to edit that line in the script and change it to glXGetProcAddressARB, rebuild the...
  10. Re: gl3w- undefined reference to 'glXGetProcAddress'

    How can I change the gl3w to use ARB instead of regular??

    When I do 'scons' in the gl3w directory, it generates the gl3w.c file at the same time as libgl3w.so. So if I change gl3w.c at this...
  11. Re: gl3w- undefined reference to 'glXGetProcAddress'

    Update:

    So I found I had to disable integrated graphics in the BIOS in order to get the proper GL Context with the discrete graphics hardware.

    But, when I have added back in 'gl3wInit()' (it...
  12. Re: gl3w- undefined reference to 'glXGetProcAddress'

    Okay so now I added -lGL to the linker and I no longer get the error.

    So far the only problem I notice is that I am getting a 2.1 context instead of a 3.x or 4.x...

    Edit:
    Hmm noticing that...
  13. gl3w- undefined reference to 'glXGetProcAddress'

    Trying to convert a project onto Linux that uses gl3w.

    I have #include "GL3/gl3.h" and #include "GL3/gl3w.h"

    I link to "-lgl3w" but I get this error on linking:


    libgl3w.so: undefined...
  14. Replies
    2
    Views
    777

    Re: Fade-in effect

    I think the simpler solution is to use a different blend func.

    I have something working right now with glBlendColor and glBlendFunc( GL_CONSTANT_COLOR, GL_ONE_MINUS_SRC_ALPHA );
  15. Replies
    2
    Views
    777

    Fade-in effect

    What's the simplest way to fade onto a scene from black?

    I tried setting the clear color with a fractional alpha value but it still clears all the pixels to black.

    The only way I know of is to...
  16. Re: Reinstalled GLM...warnings and missing functions?

    It looks like a couple only occur once with glm::detail::ieee754_QNAN but some of them occur many times (these are just examples).

    I found that matrix_projection is now part of matrix_transform so...
  17. Reinstalled GLM...warnings and missing functions?

    Hi
    I recently reformatted and re-installed my IDE (MS Visual C++) and now I'm getting a large number of compiler warnings that I didn't get previously when including glm.hpp.

    My solution so far...
  18. Re: What is "application-defined clip distance"?

    Thank you Aleksander I did not know about the gl_ClipDistance[] built-in variable.
    All I knew was that the near & far clip planes were a result of setting up a projection matrix.
  19. What is "application-defined clip distance"?

    I ran accross this symbolic constant in the glGet() spec:
    "GL_MAX_CLIP_DISTANCES
    params returns one value, the maximum number of application-defined clipping distances. The value must be at least...
  20. Replies
    6
    Views
    2,378

    Re: GL_NUM_COMPRESSED_TEXTURE_FORMATS == 3?

    Here's a new one. These are in gl3.h but querying with GetIntegerv leaves my GLint unchanged:

    glGetIntegerv( GL_MAX_VERTEX_STREAMS, lint );
    glGetIntegerv( GL_MAX_TRANSFORM_FEEDBACK_BUFFERS, lint...
  21. Replies
    6
    Views
    2,378

    Re: GL_NUM_COMPRESSED_TEXTURE_FORMATS == 3?

    Edit: Mis-spelling in the man pages threw me off on this one. The have GL_DRAW_FRAMEBFUFER_BINDING instead of FRAMEBUFFER :eek:
  22. Replies
    6
    Views
    2,378

    Re: GL_NUM_COMPRESSED_TEXTURE_FORMATS == 3?

    Thanks for the quick reply :D
  23. Replies
    6
    Views
    2,378

    Re: GL_NUM_COMPRESSED_TEXTURE_FORMATS == 3?

    I suppose that's why the first 'format' it returns equals 0x83F0 which is not defined as anything in my gl3.h file?
  24. Replies
    6
    Views
    2,378

    GL_NUM_COMPRESSED_TEXTURE_FORMATS == 3?

    I read in the manpages
    "GL_NUM_COMPRESSED_TEXTURE_FORMATS
    params returns a single integer value indicating the number of available compressed texture formats. The minimum value is 4."

    When I...
  25. Re: Is this a valid shader to draw with GL_LINES?

    Bah I figured it out
    "vec4(inCoord, 0);" -> "vec4(inCoord, 1);"

    :)
Results 1 to 25 of 57
Page 1 of 3 1 2 3