Questions tagged [legacy-opengl]
The legacy-opengl tag has no usage guidance.
11
questions
0
votes
2
answers
86
views
Can I "recreate" vendor-specific OpenGL extensions?
For example: I have an AMD graphics card, can I "recreate" Nvidia's OpenGL extensions? And vice versa?
By "recreate" I mean to write my implementation in some way. In general, how ...
0
votes
1
answer
209
views
OpenGL old-style diffuse shading producing unexpected effects
Question:
What is going wrong with the shape of the contours of constant illumination in the below picture ?
Detail:
Although Lambertian shading might be ill-regarded because it exposes the hard edges ...
0
votes
2
answers
1k
views
How to convert a 3D model into an OpenGL fixed pipeline representation
I have a CAD model in Solidworks (which can be converted to STL, OBJ, STEP , VRML etc.) that I need to render in an old application, which still uses fixed pipeline.
Ideally, I would like to convert ...
2
votes
1
answer
166
views
Fonts rendered through textures look thinned
I'm rendering fonts using Cairo to surfaces, convert those surfaces to RGBA textures and then display them on GL_QUADS using orthotogonal projection and alpha blending. When I use Cairo to render ...
2
votes
3
answers
603
views
Fast clipping without clearing stencil buffer
I'm writing an OpenGL application that runs on a Raspberry Pi, i.e., a quite resource-limited system. Essentially, a few quads with RGBA textures are overlayed/alpha blended on top of each other with ...
3
votes
2
answers
2k
views
Why do we multiply vertex from left side in vertex shader with matrices?
I have been learning OpenGL 3.3 and I saw this expression:
gl_Position = projection * view * model * vertex
I am confused because I read in some book that if the ...
3
votes
1
answer
1k
views
What if we don't mention Modelview and projection matrix?
So I've been learning opengl for some weeks now and managed to understand all the viewing pipelines. As far my understanding goes we need to bring the object to world space and then the world space to ...
1
vote
1
answer
3k
views
Background behind 3D model
I have object loader, which i want to have background. I tried to put jpg image like texture to my application. I tried to make that with FreeImage library, but the image didn't show. Also i tried ...
4
votes
3
answers
518
views
OpenGL Vertex - Texture Mapping
I have a mesh loaded by an obj file (wavefront), complete with normals and texture coordinates per face, and its relative texture available. In my C++ / OpenGL code (assignment for a computer graphics ...
1
vote
1
answer
824
views
Texture rendering in OpenGL
I know there are tons of questions about it, but I found nothing useful so far so, here I am.
I'm trying to render a texture which is attached to a wavefront .obj mesh. I continued to fail (somehow, ...
9
votes
1
answer
740
views