All Questions
523 questions
0
votes
1
answer
88
views
cannot get uploaded image to render when calling it from a file path stored in a database
Below is what I see when I run my code.
Thymeleaf code I am using:
<div>
<img th:scr="@{/uploads/${image}}" alt="Uploaded Image" width="200px" height="...
1
vote
1
answer
75
views
Seeing some stuttering even when I move a simple image
I recently started developing a game using LibGDX because with its OpenGL built-in nature, I thought I could expect better rendering performances than what I get from games built with Java native ...
0
votes
0
answers
61
views
How can I fix transparent lines in my scaled images (Javax.swing)?
I am trying to make a small games with a native resolution of 320x180, then scale it up for a bigger window. but I'm getting transparent lines in my sprites.
right now I'm drawing to a BufferedImage ...
0
votes
0
answers
52
views
Rendering problem with PolygonMesh in JavaFX(yz)
I am currently in the process of writing a program in which I read in various 3D meshes and continue working with them. The meshes usually contain triangles and quadrilaterals. I therefore wanted to ...
0
votes
0
answers
83
views
How would I be able to read and render fonts in Java with a pixel array?
For fun and to lean about Java I've tasked myself with creating an application that can render images and lines with a pixel array.
I have a function that sets a pixel's colour in that array:
pixel(...
0
votes
0
answers
2k
views
Composable Component does not re-render after updating mutable value (Jetpack Compose)
In Jetpack Compose Desktop the following code renders a 4 rows and 4 columns of text fields with a number as value.
I want to trigger re-rendering on user input from keyboard. When debugging the code ...
1
vote
1
answer
108
views
Different rendering in the simulation or using saveFrame() using Processing in Intellij
After many years with Processing IDE, I missed Intellij IDEA too much so I went back for it but Processing stays on :wink:
However, the shapes drawn are way less sharp than in the real PDE, for ...
0
votes
1
answer
154
views
How can I unconditionally make my swing component render above all others?
I have a JComponent, specifically a JLabel, that I want to render above all other components in my UI. I've made it draggable via this code, and I'd like it to render above everything else in the UI ...
1
vote
1
answer
73
views
LWJGL Vertex data seems corrupted
I am trying to render a triangle to see how LWJGL works. Each frame, I reset the vertex data ByteBuffer and write 3 vertices to it directly. Then I call buffer.flip() to ready the data to be uploaded ...
0
votes
0
answers
290
views
LWJGL: JVM crashing with error EXCEPTION_ACCESS_VIOLATION
While trying to set up a minimal reproducable example using LWJGL because my original question was closed, I ran into a problem I didn't have originally (Originally it was just not displaying), which ...
0
votes
1
answer
183
views
ZK Combobox disable closing
I'm struggling with ZK Framework Combobox UI rendering. I have a combobox with 2 logical lists (1 is a short version of 2, with "Show more" option, and 2 is a list with all entries and no &...
0
votes
0
answers
552
views
Java Graphics2D low quality rendering on high-DPI display
I am working on an app that has a Swing user interface. Text is being written to the window with a Graphics2D object (specifically SunGraphics2D) using the drawString method.
I have an issue where on ...
1
vote
1
answer
271
views
Audio visualization by GautamChibde
I wanted to use the audio viewer made by GautamChibde
https://github.com/GautamChibde/android-audio-visualizer
But in the rendering I can't see it. It gives me this error:
java.lang....
-1
votes
2
answers
262
views
BGFX ignore shader
I'm trying to code some game engine using Java, LWJGL and bgfx but have a problem with shaders. Currently I use OpenGL 2.1 backend.
For some reason bgfx rollbacks to the default shader program. I'm ...
1
vote
1
answer
97
views
Java Stuttery/Flickery/Laggy Animation In Game
To be honest, I'm not to sure how to describe my problem, you can see it here. In that video of my code running, it is most prominent in the first few seconds.
Occasionally and randomly I am getting a ...