lwjgl
glReadPixels() fails to fill ByteBuffer
Well, I\'m trying to take a screenshot for a window in OpenGL using LWJGL. Here\'s the code: ByteBuffer pixels = ByteBuffer.allocateDirect(800*600*4);[详细]
2023-03-22 18:38 分类:问答LWJGL 2D texture mapping offscreen
I am trying to map a 2D image to a quad as a background image. The image is drawn at the center of the screen so it ends up only covering the top right quater with the rest going offscreen. Is there开[详细]
2023-03-22 18:26 分类:问答Slick: can't load image in update loop
As you can see from the code below, I am trying to import \"someimage.png\". This is so in the开发者_JS百科 render loop, I have the right image. I put the second line of code. Is this possible? If not[详细]
2023-03-22 02:20 分类:问答Raycaster not working with OpenCL
Momentarily I\'m trying to write a raycaster engine with OpenCL and Java (LWJGL). However on running the kernel, I can not printf, or write to a debug variable for that matter. I have the feeling the[详细]
2023-03-20 02:00 分类:问答Java Game Engine, Similar to XNA [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-19 04:08 分类:问答How do I use the data from a .png packed in a .jar as a texture in LWJGL?
So I\'m making a basic game in Java开发者_StackOverflow社区 using LWJGL. I have a .png file packed in the .jar that obviously cannot be used for textures while it\'s still inside the .jar. The only wa[详细]
2023-03-18 10:18 分类:问答When I run the .jar, I get a "No lwjgl in java.library.path" error
I\'m making a basic game in Java using the LWJGL Library via Netbeans. I\'ve created a library with the lwjgl, lwjgl_util, and jinput .jar\'s, and I added -Djava.library.path=C:\\LWJGL\\native\\windo[详细]
2023-03-18 01:00 分类:问答OpenGL Side Culling
I am drawing a series of cubes that are beside each other and I want to cull all the sides that are开发者_开发百科 touching because they are useless.The problem is that I don\'t know how to cull the s[详细]
2023-03-11 12:03 分类:问答Disable surround sound with openAL
I\'m french so sorry for my english. I\'m currently making a splitscreen 2D game with LWJGL. I\'m using the openAL API which is given with LWJGL. Everything seems to works perfectly. Well, too perfec[详细]
2023-03-10 14:03 分类:问答Pick up native JNI files in Maven test (lwjgl)
I\'m creating a program with LWJGL and Maven, and I\'m writing unit tests for the graphical code.My problem is getting Maven to put the native binaries on the classpath so that the tes开发者_Go百科ts[详细]
2023-03-09 09:44 分类:问答