fbo Questions

3

Solved

I'm trying to enable mutlisampling and alpha-to-coverage for an FBO. Using the default framebuffer, all I have to do is call glEnable(GL_MULTISAMPLE) and glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE). Howe...
Signora asked 9/12, 2013 at 23:14

3

I'm trying to implement color picking with FBO. I have multisampled FBO (fbo[0]) which I use to render the scene and I have non multisampled FBO (fbo[1]) which I use for color picking. The problem...
Samuele asked 27/11, 2012 at 23:51

1

I have a problem with rendering to texture and offscreen framebuffer with OpenGLES on iPhone. (source: imagehost.org) (source: imagehost.org) First image shows mahjong tiles rendered to CAEAGL...
Cory asked 3/5, 2010 at 16:18

1

Solved

I am trying to render to multiple textures as COLOR_ATTACHMENTs without success. All I get from displaying them is a black screen (with a red clear fill) meaning my texture is read but is 'empty'. ...
Farthest asked 27/5, 2015 at 13:54

1

Solved

I would like to draw a scene to the default framebuffer, while also drawing some auxiliary data related to some of my drawn models to an offscreen buffer with the same image dimensions as the defau...
Interlining asked 4/5, 2015 at 7:42

1

Solved

I need your help again. I wanna use Frame Buffer Object bigger than the Screen size. When I do it as below FBO size 1024 x 1024 is cut off from the top in resolution 1024 x 768. I couldn't find the...
Agbogla asked 8/2, 2015 at 12:0

2

Solved

I'm working with OpenGL Frame Buffer Objects. I have created a Frame Buffer Object with 2 color textures and a depth texture. I'm using glBindFramebuffer(GL_READ_FRAMEBUFFER, ID); To bind my f...
Chaconne asked 13/12, 2014 at 14:28

1

Solved

Can I use FBO blitting https://www.opengl.org/registry/specs/EXT/framebuffer_blit.txt , to pass rendered FBO, as texture, to my resolve shader input? Can I use FBO as input for shader "sampler2D"?...
Nisbet asked 6/7, 2014 at 11:15

2

Solved

What is the best method to copy pixels from texture to texture? I've found some ways to accomplish this. For instance, there's a method glCopyImageSubData() but my target version is OpenGL 2.1, so...
Address asked 1/6, 2014 at 14:43

1

I am rendering a scene in OpenGL in a low resolution into a framebuffer. Then I intend to draw this version onto the whole screen (upscaled with GL_NEAREST). I do this using texture blitting (glBli...
Buffy asked 22/1, 2013 at 22:54

1

Solved

When I resize my window, I need to resize my textures that are attached to my framebuffer. I tried calling glTexStorage2D again, with different size parameters. However that does not work. How can...
Fabre asked 29/4, 2014 at 10:49

2

I'm trying to use an FBO in a material in THREE.js. I have a GPU-based fluid simulation which outputs its final visualisation to a framebuffer object, which I would like to use to texture a mesh. H...
Jumpy asked 26/3, 2013 at 16:9

1

I have reimplemented OpenCSG for modern OpenGL version. PixelFormatAttributes: NSOpenGLPFAColorSize , 24 , NSOpenGLPFAAlphaSize , 8 , NSOpenGLPFADepthSize , 32 , NSOpenGLPFAStencilSize , 8 , NSOp...
Risotto asked 25/11, 2013 at 17:1

2

Solved

I have a framebuffer object in which I use Multi Target Rendering on N textures binded to it. At a certain time, I want to clear the content of some of those textures, but not all of them. If I cal...
Wooldridge asked 3/8, 2013 at 4:30

1

Solved

When I set stuff with glEnable, or specify func to the things I enable, and then switch frame buffer object, are my settings kept for each frame buffer object, or do I have to set them for each one...
Sansbury asked 20/7, 2013 at 9:52

2

Solved

I'have to render off screen in OpenGL and then pass the image to a QImage. Plus, just for exercise I'd like to transfer to the CPU also the depth and the stencil buffer. For drawing offscreen I've ...
Stowe asked 17/7, 2013 at 22:54

1

Solved

I'm trying to draw to a renderbuffer (512x512) that's larger than the screen size (i.e., 320x480). After doing a glReadPixels, the image looks correct, except once the dimensions of the image exce...
Artificiality asked 30/5, 2013 at 1:57

2

Solved

I have an application where I need to do the following: load a texture from disk into a GL texture run an image filter on it (render it onto another texture via an FBO) display the resulting text...
Contingence asked 28/5, 2013 at 0:41

1

Solved

I have a problem with different visual results when using a FBO compared to the default framebuffer: I render my OpenGL scene into a framebuffer object, because I use this for color picking. The t...
Cromlech asked 13/5, 2013 at 13:5

2

I'm developing an Android application type finger paint. I'm using OpenGL ES 2.0. Basically I have an image where every touch screen should correspond to a circle alpha to be applied where it is sh...
Dehumanize asked 17/1, 2013 at 14:55

1

I would like to do offscreen rendering (in console environment without any WS) with FBOs. I know that it is necessary to create an OpenGL context, and at least a dummy window for any operation, the...
Postlude asked 30/9, 2012 at 15:1

3

How to access the video memory of graphics card through OpenGL programming, specifically, to get all contents of video memory? I have tried the following two methods, but failed. With attaching th...
Verso asked 11/5, 2012 at 17:22

1

Solved

I'm trying to render a multisampled scene to texture, here is the code I'm using. I'm getting a black screen. I check the fbo completeness at the end of init, and they report that both fbo's are co...
Twerp asked 12/2, 2012 at 10:52

1

Solved

I am rendering array of points with a custom vertex shader. Shaders looks like: void mainVP() in varying int in_vertex_id : VERTEXID { foo(in_vertex_id); } So the only thing I need - is vertex ...
Uniparous asked 7/11, 2011 at 17:8

2

Solved

I'm confused. To use the Framebuffer Object extension (FBO) in OpenGL 1.x on Windows, which of these do I use?: wglGetProcAddress("glGenFramebuffers"); // or wglGetProcAddress("glGenFramebuffersEX...
Runway asked 2/8, 2011 at 13:39

© 2022 - 2024 — McMap. All rights reserved.