I'm not sure what you mean. If you mean create two samplers and set both uniforms to the same value, it won't work. The code below is invalid. You cannot use the same texture unit for both shadow...
Type: Posts; User: idr
I'm not sure what you mean. If you mean create two samplers and set both uniforms to the same value, it won't work. The code below is invalid. You cannot use the same texture unit for both shadow...
So...the compiler doesn't really support it on some hardware. Does it at least give a warning in the info log? If it doesn't at least do that, I'd still submit a bug report.
glGetUniformLocation specifically disallows querying built-ins. These must be set and queried via the other API interfaces. When the API interfaces are removed, the built-ins will also be removed. ...
None of the open-source drivers support GLX 1.4. You can onfirm this by running 'glxinfo | grep "GLX version"'. Before attempting to use GLX 1.4 features (and you're actually using a GLX 1.3...
glxinfo will report 2.1 because it hasn't been updated to use the new 3.0 context creation interface.
At the very least, only pass two of T, B, and N. Calculate the third from the cross product of the other two. This should be faster on most hardware (saves a normalize), and will produce cleaner...
Most hardware can't do variable indexing into vectors. I think all OpenGL 3.0-class hardware can do it, but I don't know about earlier. I know that R400 (and earlier) and i945 (and earlier) can't. ...
Until recently direct-rendering and compiz did not play together at all. With DRI2 in xserver 1.6, it will "just work." If you fell like building the X stack (libraries, xserver, etc.) you can get...
How big does the window have to be for this to happen? Most cards have limits of the window size that they can render too. If the window is too large, the driver has to go to some heroic efforts to...
The GLX_OML_swap_method spec says that it "requires" GLX 1.3, but what it really requires is fbconfigs. These are supported from the server by GLX_SGIX_fbconfig. I know because I wrote all of that...
Eh...the ABI does not require GLX 1.3. The Mesa based drivers don't support GLX 1.3, but they should all support GLX_SGIX_fbconfig and GLX_SGI_make_current_read. On r300 using fbconfigs (via the...
If you use glBufferData, the driver can orphan the existing storage and create new storage. This is what is probably happening. The driver sees that there is still a read operation queued for the...
Try replacing the GLU_TESS_VERTEX with something that will print the vertex data out. It's possible that there's some alignment issue that's causing pointers to be "off" on the 64-bit platform. At...
When paired with the appropriate user-mode driver, yes. The kernel module just handles command submission, memory management, and interrupt handling. The real meat is in the user-mode portion of...
It should apply texturing to glDrawPixels for sure. I'm not so sure about glBitmap. Basically, glDrawPixels takes the pixel data and generates a fragment for each incoming pixel. The color of the...
The most recent stable driver release is available at <u>http://intellinuxgraphics.org/</u>. There should be another release in the next few weeks. We're working on a few more bugs before it ships....
Something is wrong with your driver install. It's not using Nvidia's libGL. If it were, direct rendering would be enabled. Try doing 'ldd $(which glxinfo)' to find out which libGL it's trying to...
There are a couple GLX extensions that allow some variations of this behavior. Basically, what you want is a swap group. The application initiates swaps on each window, but the window system...
That and it seems pretty much useless. Gosh, if I have to tell it the version, why do I need a variable to tell me what I told it? I don't see how that helps developers write shaders that support...
I've either discovered a bug in Nvidia's GLSL compiler, or I'm misunderstanding the intention of __VERSION__. I have a shader that I want to compile differently depending on the supported shading...
With the exception of ARB extensions, there is no governance. If someone sends in an extension spec and asks that it be added to the registry (and they have a shipping implementation, typically), it...
Unless you are Nvidia and want to re-invent the wheel, you use the open-source libGL. This is part of Mesa. Period. The libGL then loads whatever vendor specific driver driver the X-server tells...
There was quite a bit of debate about this back when the 2.0 spec was up for a vote. The (rough) consensus was that the "texture object" model of using Gen/Bind/Delete was the prefered way to go. ...
This is a beginner question.
OpenGL measures coordinates for everything (except point sprites ) with (0,0) in the lower-left.
Is your professor also going to provide hardware? The problem is that not very many boards support all of the new features in OpenGL 2.0. You should find out if a board that supports 1.5 + GLSL is...