All Questions
Tagged with framebuffer java
54
questions
1
vote
1
answer
23
views
Unwanted cursor with Java2D drawing directly to framebuffer
The environment is Java 11 on a Raspberry Pi 3B+ with a 3.5" touchscreen. The program writes directly to the framebuffer with the aid of Thomas Welsch's JavaFrameBuffer JNI support.
Things work ...
1
vote
1
answer
114
views
How does a frameBuffer interact with multiple camera's and viewports
My goal is to draw all my visuals to a framebuffer which has a size that matches 1 by 1 with my pixel art assets. And then output the framebuffer texture to the current screen size. (A common solution ...
2
votes
2
answers
291
views
OpenGLES Alpha value modifies rgb values when reading them out with glReadPixels
When reading out rgba(1,1,1,0.1) with glReadPixels will result in rgba(0.1,0.1,0.1,???). The function is reading modified values from the framebuffer, I assume because of alpha blending.
The example I'...
1
vote
0
answers
52
views
Position / Normal framebuffers not rendering for deferred rendering
I am using LWJGL 3 with java. I am trying to implement deferred rendering, and having a bit of a hard time with it. For a reason that it unknown to me, whenever I try to access the position / normal ...
0
votes
0
answers
185
views
LWJGL2, OpenGL framebuffer only rendering a partial flat-shaded section of the scene
I am trying to simply render the scene to a framebuffer object and then back to the screen. The issue is that the framebuffer ends up rendering out what looks to be the lower left quadrant of the ...
0
votes
1
answer
362
views
Why do do I get GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT using JAVAFX versions greater than 12.02
I have built a LINUX based UBUNTU snap app using BASE20 (i.e. Ubuntu 20.04) as a target OS, and it is in distribution.
That App works perfectly well using OpenJDK 11 through to 15.0.1 on OpenJFX 11 ...
-1
votes
1
answer
328
views
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 ...
2
votes
0
answers
312
views
How does the libgdx FrameBuffer work
I am currently developing a simple game with libgdx. I am using FrameBuffers to render screen transitions in my game. The code is working perfectly fine normally. The code for handling screen ...
1
vote
0
answers
408
views
OpenGL rendering to texture produces empty Texture
I am trying to render and orhto projection of my scenes depth values to a texture inorder to use the texture in a later render cylce to determine what fragments are in shadow. Basically a Shadow Map.
...
0
votes
1
answer
3k
views
EXCEPTION_ACCESS_VIOLATION crash in ig9icd64.dll when blitting to the window
When I render to an FBO and blit this FBO to the window and the window is minimized Java throws an EXCEPTION_ACCESS_VIOLATION exception.
This is my code for blitting to the screen and to my ...
3
votes
1
answer
2k
views
Getting GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT with depth texturing [closed]
I have been trying to implement shadow-mapping for a long time, and I am using Lance Williams' technique (which is rendering the scene twice, once in light space and once in view space). However, when ...
0
votes
1
answer
861
views
Libgdx - different sizes when framebuffer's texture is rendered to screen
Because of my design, i want to get rid of NinePatch object, but i use it to initialize textures at the desired size using framebuffer, and then apply that textures to my custom objects
Im new to ...
0
votes
0
answers
650
views
How to read from the default frame buffer after binding and unbinding an FBO with JOGL
I use frame buffer objects in a JOGL application to do many things, from shadow maps to picking, and everything works as expected. However, as soon as I bind and unbind an FBO, errors are thrown when ...
0
votes
0
answers
472
views
Direct frame buffer access using OpenCL and SWT
I've written an OpenCL-kernel (JOCL) which takes a few hundred megabytes of input data and produces a viewport-friendly RGB-Image as result. This image shall be presented in an SWT-GUI with a refresh ...
1
vote
1
answer
1k
views
OpenGL frame buffer + LibGDX
I have one problem with openGL frame buffer.
I want to achieve:
Bind FBO1. Draw image1 to FBO1. Unbind FBO1.
Bind FBO2. Draw FBO1 to FBO2. Unbind FBO2.
Bind FBO1. Draw image2 to FBO1. Unbind FBO1.
...