Description:
The OpenGL 3D application programming interface.
|
|
|
Getting RGB Format from raw data
|
| |
hi all, Can anybody tell me how can I get RGB format of an image using its raw data? like RGB888, RGB565, RGB555 etc. how can I get that value from raw pixel data? Thanks & Regards, Sadanand
|
|
Function name for a face direction after rotation?
|
| |
Sorry if this is s simplistic question but... Is there an opengl function (I'm using java) that will return the direction a face is pointing (relative to the viewer) after it's drawn/rotated/translated. The faces will be flat quads so I would assume anything at a right angle to a vertex of the quad (parallel to the face's centre normal) would be... more »
|
|
Font effects api
|
| |
Hello, Sorry, not really specifically openGL (I am not an openGL programmer), but thought someone here might know... There are several apps available to produce fancy text effects (3D, shadow etc) eg FontTwister ([link]), DDTitle ([link]) etc. I want to incorporate similar effects into my own Windows application. Does... more »
|
|
Depth texture render to the depth buffer
|
| |
Hi all, I have created a depth texture from the contents of the entire depth buffer of my opengl scene. Is it possible to "render" a quad textured with this depth texture back to the depth buffer? I came up some tutorials mentioning that it is possible to put the depth values stored in a depth texture back to the depth buffer using glDrawPixels, but I... more »
|
|
no texture displaying with png image
|
| |
I've been using bmp files for texture images, but now need to have a transparent background on a texture, so I'm trying to get that working. I've stepped through the code and can't find anything wrong. The problem is that nothing displays. Here is a summary of the code. I removed error checking to make it easier to read.... more »
|
|
Normal per face?
|
| |
Hello, I would like to know if that's possible in a FBO to provide only one normal per face? Thanks Cathy L
|
|
Strange texture behavior
|
| |
Hi! I use a texture as a palette, used in turn by a fragment shader. The texture is generated procedurally as 256x1 bitmap. The wrap parameter is set to clamp - both on U and V axis. Strangely, when texture coordinates' reaches 0.0 or 1.0 on the U axis, color becomes way darker than it is originally on... more »
|
|
GL_MULTISAMPLE and textures
|
| |
Hi all, I'm confused on the multisampling extension. I made an openGL context through a QTGLWidget which has samplebuffers enabled, and set the samplecount to 16 (also tried 4). Some of the objects in my scene are anti-aliased fine. But if I just draw a rectangular texture (GL_TEXTURE_RECTANGLE target, GL_RGBA), the... more »
|
|
Evaluating texture coords
|
| |
Hi! Why cannot I evaluate modified texture coordinates in shader program? varying vec4 TexCoord; TexCoord = gl_TextureMatrix * gl_MultiTexCoord0; I receive error: 0(23) : error C1020: invalid operands to "*" Best regards -- Spook.
|
|
Retrieving Graphics Settings
|
| |
Hi, I have created a couple of animations for windows. Their speed varies greatly depending on the way the Graphics settings are configured (duh). Now I want to try to give a uniform experience to the user. So if the user has configured his graphics settings for "speed", the animation should not be too fast, and if the user has configured his graphics... more »
|
|
|