Questions tagged [framebuffer]

In general a framebuffer is a graphic hardware-independent abstraction layer used to display output to a monitor or display.

Resources:

1142 questions
-1
votes
1 answer

OpenGL framebuffer post processing

I'm trying to apply a simple vignette effect to my scene using a framebuffer and offscreen rendering. I was able to get the FBO and the effect working but for some reason my scene is not appearing at all. When the scene loads I can see the objects…
morcmarc
  • 163
  • 2
  • 8
-1
votes
1 answer

Coordinates wrong when drawing to texture in framebuffer and then rendering texture to screen?

I'm using opengl to draw the graphics for simple game like space invaders. So far I have it rendering moving meteorites and a gif file quite nicely. I get the basics. But I just cant get the framebuffer working properly which I indent to render…
-1
votes
1 answer

depth buffer is not rendered properly

I'm facing a problem rendering the depth buffer. I get some strange artifacts when I try to render my depth buffer to a texture. In the end, I want to render topography data. As a toy example, I would like to render a square. The colour of the…
Thomas
  • 13
  • 1
-1
votes
2 answers

Bresenham Algorithm using opengl GL_POINTS is pretty slow

Is there to anyway speed this up? I came to learn, accessing the Frame Buffer itself can do it quickly. but i dont know how... is there a way to do that in opengl?
AnnShress
  • 477
  • 1
  • 5
  • 11
-1
votes
1 answer

SDL2 - Texture and frequently changing picture

I got stuck in some kind of "logical" routine. My code receives live preview pictures from my camera, which are converted to RWops struct and finally be loaded as texture to SDL. Now my question is: How can i update the texture without destroying…
ayk
  • 1,330
  • 2
  • 15
  • 24
-1
votes
1 answer

Ubuntu Source fbgrab works when I compile it does not work

Hi I am trying to grab images from framebuffer. fbgrab does this perfectly. The fb grab that is installed on ubuntu(the one I installed from the software center) works perfectly. When I compiled the source and run it. THe images are all tilted. I…
Evren Bingøl
  • 1,306
  • 1
  • 20
  • 32
-1
votes
1 answer

lwjgl and render to texture

I need to be able to render to a texture, then draw that texture to a full screen quad. By blatantly copying lwjgl tutorials I was able to make a textured and moving quad, but I can't make it render to a texture: import…
user137
  • 282
  • 2
  • 14
-1
votes
1 answer

How to redraw only a portion of the presenting framebuffer?

I want to implement a simple paint feature on iOS. I have some framebuffers/textures wired up to get the desired final composition. Redrawing the whole screen is a huge overhead. I can determine a rectangle that has changed. So what is the best way…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
-2
votes
1 answer

OpenGL Depth Texture is the same as Color Texture

I'm trying to visualize the depth texture attached to a custom fbo in opengl. I expected to see a "foggy" looking, greyscale output - the problem is that the output seems like it's the same as the color texture - I mean it's the exact same color…
-2
votes
1 answer

Change pixel color in android display

I want to change pixel color via android application using background. It means entire screen, not image file. How can I modify pixel color? Result of searching, I could find "Bitmap", "Surfaceflinger", "Framebuffer". but, I don't know what is…
Hwi
  • 1
  • 1
-2
votes
2 answers

Most efficient way to draw 3d graphics in OpenGL?

Is it more efficient for me to render individual GL_Triangle elements using glDrawElements or draw the elements to a texture then render it to another texture to build my scene using a framebuffer? Either way this will happen every time the graphics…
-2
votes
1 answer

OpenGL Texture Cache source... can be renderbuffer?

Using OpenGL and CVOpenGLESTextureCacheCreateTextureFromImage: In the docs here it says that the target can be GL_TEXTURE2D or GL_RENDERBUFFER: what does that mean? Can a renderbuffer bound to the framebuffer at color_attachment_0 be used to get an…
Sam Ballantyne
  • 487
  • 6
  • 18
-3
votes
1 answer

How to do a linear frame buffer in assembly

I am using Bochs and trying to develop a simple operating system, using Assembly and C. I have chosen to use 1024x768 at 24bpp, but I cannot write to the majority of the screen as 0xa0000 to 0xaffff does not have enough space (only 64 KB). I am…
-3
votes
1 answer

OpenGL : object selection

I'm trying to implement object selection in OpenGL, but I have some problems. As you can see from the figure, the selection works well in the first view, but when you rotate the camera, the object is not selected correctly. I implemented the…
Arctic Pi
  • 669
  • 5
  • 19
-3
votes
2 answers

code execution/cpu speed slows down every 2 seconds

(This is sort of a crossover software-hardware topic, it started as a programming problem for me but after all the troubleshooting I think it's probably a hardware problem (maybe better suited for Super User?) but I haven't solved it yet so I don't…
Byron
  • 25
  • 5
1 2 3
76
77