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

Rendering to framebuffer and then to screen has reduced quality

I seem to have a problem with my rendering. When I render to a framebuffer and then to screen, the images just seem less vibrant and kind of faded. Even simple ones. In the picture above, the pink box on the right is rendered directly onto the…
-1
votes
1 answer

`fbcon/cursor_blink` permissions reset at reboot

Context I need to stop the cursor from blinking on an external screen of my raspberry-pi in order to display a home-made interface on /dev/fb0. For this purpose I created a group cursor_blink in which I put my user and changed the permissions of the…
vinalti
  • 966
  • 5
  • 26
-1
votes
1 answer

Multisampled framebuffer only visible with Nvidia cards, not AMD or Intel HD Graphics

The program only renders the framebuffer with Nvidia graphic cards. I have tested the same release with AMD and Intel, and it shows black. I create the framebuffer: enum FBOIDS { FBO, FBO_MS, TEXTURE, TEXTURE_MS, RBO, …
-1
votes
1 answer

Sharing OpenGL Context on Windows

I'm writing a plugin(i.e. a .dll) for graphics engine that is written in OpenGL. My goal is to mirror what is on that window on a second window. The good news is the graphics engine exposes handles to the device context(hDC), rendering context(hRC),…
Mike
  • 81
  • 7
-1
votes
1 answer

No glGenFramebuffersin python but available in javascript

I am trying to port hackathon-slicer to python3 with the OpenGL library. The hackathon slicer is programmed in node/javascript and runs fine on my older laptop. However when I port it to python using the OpenGL library, I get an error on…
Nard
  • 119
  • 8
-1
votes
1 answer

Set Libgdx FrameBuffer size in world units

I'had like to use a FrameBuffer and to set his size in world units instead of pixel. When I set the FrameBuffer size in pixel, i have the expected result. But when I use another personal units. The result is messed up. Here a snippet of the working…
QuentinR
  • 115
  • 1
  • 11
-1
votes
1 answer

glReadPixels is not working with GL_FLOAT

I'm using OpenGL shader and trying to print the color values. So, I used glReadPixels function. It is working with GL_UNSIGNED_BYTE but not with GL_FLOAT. Is there anything else should I do? This is my code. void settingFrameBuffers() { …
hando
  • 1
-1
votes
1 answer

Creating Opengl renderbuffer with no framebuffer bound

I noticed something strange when I was using frame buffers to do offscreen rendering. I am rendering a cube to a texture and then that texture onto a plane. It all worked and I decided to skip the depth buffer so I commented out block 1 & block 2…
nyvaken
  • 120
  • 1
  • 7
-1
votes
1 answer

Why do I get incomplete attachment when setting up opengl fbo for rendering to cubemap depth texture?

I am attempting to render a scene's depth to a cubemap texture, but upon checking the framebuffer status it returns GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT and of course no rendering occurs. Obviously I am missing something but I cannot seem to figure…
Daniel N
  • 53
  • 1
  • 11
-1
votes
2 answers

OpenGL How to render to texture with multi-sampling

Implementing some effect, I end up with 1 frame buffer associated to 1 texture, which holds my final scene. This texture is then applied on a fullscreen quad. The result is what I expect as far as the effect goes, but I noticed that edges on the…
-1
votes
1 answer

glGetTexImage ACCESS VIOLATION

When I call glGetTexImage() on a texture from a Framebuffer, I get this error: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffabf967a2b, pid=1816, tid=14712 Here is my…
-1
votes
1 answer

Libgdx/Java ShadowMap and Framebuffer update using Cameras

im working on a little rpg game and today i tried to add shadows. I saw this tutorial here which is good :) Pixel Perfect Shader So following problem : Test example from the tutorial site, works fine. Theres one cam and the shadows are on the right…
genaray
  • 1,080
  • 1
  • 9
  • 30
-1
votes
1 answer

Cannot deactivate powersave on screen

I'm working on an embedded device (based on imx6) with a Linux 3.10.17, with only a command line terminal. The Linux display works with Frame Buffer. After 10min without activity, the screen goes black. I want it to stay ON forever. So, I tryied the…
AntoineC
  • 111
  • 1
  • 2
  • 10
-1
votes
2 answers

OpenGL frame-buffer functions not fully working in separate class

My Problem: When trying to perform frame buffer operations in a separate class outside of the main one handling my rendering loop, the code executes and some functions register, but ultimately the result of the operations doesn't render. To be…
Yattabyte
  • 1,280
  • 14
  • 28
-1
votes
1 answer

Drawing to Textures does not work LWJGL

I'm trying to draw to a 2d texture and to draw that texture in a 3D scene. Code for Initializing the framebuffer objects and textures: public static void initFBO() { renderEngine.framebuffers = new int[7]; renderEngine.monitorTextures = new…
Geosearchef
  • 600
  • 1
  • 5
  • 22