Description:
The OpenGL 3D application programming interface.
|
|
|
shader program
|
| |
I'd like to ask whether you people create&link shader programs using all possible shader combinations and then just switch between these linked programs? I suppose twiddling programs during rendering is too slow? And now to the Cg discussion. If the Cg approach to supporting both DirectX and OpenGL is ill advised. How to achieve easy portability? I... more »
|
|
Any clue on this kind of artifacts?
|
| |
Hello I just completed my dll to export scenes from 3D studio max into my own format. First impressions make me quite happy, but I have some issues with texture coordinates and also with texture artifacts. Here are 2 screen captures of a rendered scene, first with 3D studio max and the second with my openGL program.... more »
|
|
OpenGL and VisualC++ glWindowPos2i issue
|
| |
Hello opengl buddies.. I've been working with opengl for several weeks now, i stumbled upon an issue. I'm using glut & MS Visual C++, and I can't seem to use glWindow2i method. Then I've tried MesaGLUT, included <GL/glew.h>... Then, I get an error LNK2001: unresolved external symbol __imp____glewWindowPos2i... more »
|
|
Visual C++ OpenGL tesselator
|
| |
Hello, I'm trying to use GLUtesselator to draw a polygon. Debugger is showing my that warning Warning 2 warning LNK4248: unresolved typeref token (01000014) for 'GLUtesselator'; image may not run Generator.obj I've been searching for so long on the Internet but I can't find any solution My source code:... more »
|
|
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 »
|
|
|