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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,105

    Instead, use glGetUniformLocation(program,...

    Instead, use glGetUniformLocation(program, "uniform_name").
    This function returns -1 if uniform_name does not correspond to an active uniform variable in program

    i.e. If the function returns >=0,...
  2. Replies
    1
    Views
    1,736

    Have a look at the shader at the top of...

    Have a look at the shader at the top of https://github.com/sphair/ClanLib/blob/master/Examples/Display_Render/PointSprite/Sources/app.cpp
    Remember to set
    glPointSize(point_size);...
  3. Replies
    5
    Views
    1,640

    Have a look at...

    Have a look at https://github.com/sphair/ClanLib/blob/master/Sources/API/Core/Math/mat4.h (header) https://github.com/sphair/ClanLib/blob/master/Sources/Core/Math/mat4.cpp (source) used for the...
  4. Replies
    44
    Views
    14,806

    The ClanLib SDK http://clanlib.org/index.html can...

    The ClanLib SDK http://clanlib.org/index.html can render an entire screen of text using subpixel rendering using a single OpenGL call, by simply batching calls and caching the glyphs in a single...
  5. Replies
    3
    Views
    1,678

    Re: ATI - indirect index sampler limitation

    Many thanks. That makes sense.

    Yes, we have implemented cascaded shadow maps - good guess!

    It now works fine by avoiding using the non-const array lookups.

    (by expanding the loop "for (int...
  6. Replies
    3
    Views
    1,678

    ATI - indirect index sampler limitation

    For reference to anyone else with the same problem:

    The following works on NVIDIA but not on "ATI Radeon HD 4800 Series"



    uniform sampler2D ShadowTexture[2];
    void main()
    {
    int splitPlane...
  7. Replies
    12
    Views
    3,281

    ATI - GL_CLIP_DISTANCE0 - Bug

    For reference to anyone else with the same problem:

    The following works on NVIDIA but not on "ATI Radeon HD 4800 Series"

    In the application:


    glDisable(GL_CLIP_DISTANCE0);...
  8. Replies
    0
    Views
    1,420

    ClanLib 2.2 Mac port help required

    ClanLib is a cross platform game/application SDK with a BSD style license (so that it can also be used commerically).

    See - ClanLib Examples

    The ClanLib developers are struggling to find...
  9. Replies
    0
    Views
    1,444

    Error using GLX 1.2 SGIX pbuffer extension

    I am trying to support "off screen rendering" for most graphics cards.

    OpenGL 2.x FrameBuffer object works.
    OpenGL 1.x with GLX 1.3 PBuffer's work
    OpenGL 1.x with GLX 1.2 PBuffer's do not work
    ...
  10. Replies
    16
    Views
    7,270

    Re: Gimbal Angles and quaternion

    If you are using C++, take a look at the quaternion example at:

    http://clanlib.org/wiki/Examples#3D_examples

    (You will need to download the complete source ( http://clanlib.org/wiki/Download )...
  11. Replies
    22
    Views
    15,624

    Re: OpenGL C++ wrapper

    You may want to have a look at ClanLib ( http://clanlib.org )

    The clanDisplay, that the clanGL display target uses, was written like an OpenGL C++ wrapper. (See Sources/GL)

    As already stated,...
  12. Replies
    10
    Views
    48,898

    Re: OpenGL GUI library

    ClanLib's BSD style license is cool, you can use it in commercial applications: ( http://clanlib.org/wiki/License )

    http://clanlib.org/wiki/Examples#GUI_examples

    (Personally, I use my own GUI...
  13. ClanLib SDK 2.2 Release (Tuned for OpenGL 3)

    ClanLib SDK was recently released.

    (ClanLib is toolkit library with a BSD style license)

    OpenGL specific changes from the previous release (2.1) include

    * Added support for geometry...
  14. Replies
    3
    Views
    6,042

    Re: The meaning of the 0.375 pixel translation

    Thank you very much, that makes sense.

    Mark.
  15. Replies
    3
    Views
    6,042

    The meaning of the 0.375 pixel translation

    The opengl red book refers to a "magic number" 0.375

    (Quote from: )
    http://glprogramming.com/red/appendixg.html#name1
    or http://msdn.microsoft.com/en-us/library/ms537007(VS.85).aspx


    An...
Results 1 to 15 of 15