lwjgl
OpenGL Z-Index Problem?
I am drawing a cube with LWJGL library for Java, and it draws fine, but when I rotate the cube, it seems like the front side will draw on top of the back side when it should be cut off.Here is the cod[详细]
2023-03-08 18:10 分类:问答LWJGL Creating 3d world [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-08 00:10 分类:问答2D rendering with VBO in lwjgl won't draw
I\'m working on a 2D game in LWJGL. I have successfully rendered QUADS with textures using glBegin but moving to VBOs turned out to be a big undertaking. At the moment I can switch between the vbo and[详细]
2023-03-07 12:28 分类:问答Error when launching Java app on desktop using LibGdx/Eclipse
I\'m using LibGdx to develop a Java-based game. I haven\'t decided whether I want the game to be deployed on Android or PC, so I figured I can at least develop+test on desktop and then decide. I\'ve u[详细]
2023-03-07 11:57 分类:问答My first game: Python using pygame vs. Java using lwjgl?
My game would be a simple 2D tower defense type game. It should have some animations and sounds. I\'ve only learned Java so this开发者_如何学Go seems like a huge plus for choosing that option. But I\'[详细]
2023-03-06 16:10 分类:问答Passing values from my Java program into GLSL using lwjgl
Lets say I have a fairly complex frag shader for figuring out just how much light goes to each pixel:[详细]
2023-03-05 21:30 分类:问答Problem texture mapping a quad in OpenGL with Ortho2D
The following code produces the image that follows. The image I am using for the background is 640 x 480, as is the displayMode. The texture background is a .bmp and is loaded with the Slick texture l[详细]
2023-03-04 22:03 分类:问答Horrible performance loss when using Opengl FBO
I have successfully implemented a simple 2-d game using lwjgl (opengl) where objects fade away as they get further away from the player. This fading was initially implemented by computing distance to[详细]
2023-03-03 21:56 分类:问答Opengl compressed texture with lwjgl
I have a DXT1 texture loaded in a ByteBuffer and I\'m trying to load it with Opengl int tID = glGenTextures();[详细]
2023-02-23 09:13 分类:问答I need a solution to starting Slick 2D/LWJGL Java project via command line. Help?
Currently I am starting my Slick 2D application via this batch file- java -Djava.library.path=lib -Xms512m -Xmx512m -jar myapp.jar %1[详细]
2023-02-19 20:46 分类:问答