44
I Use This!
Activity Not Available

News

Analyzed 4 months ago. based on code collected 5 months ago.
Posted almost 10 years ago
Ok so since my preves code was correcrt what's wrong with how tell openGL the textures and then draw.Code: [Select]i = ImageIO.read(new File("/home/dennis/Black Hole Breakers/Graphics/test.png")); glGenTextures(textureID, convertImage(i));[code]   ...
Posted almost 10 years ago
You are creating a projection matrix that inverts Z. And that is just a convention that most people adhere to, that in the view coordinate system the +Z axis points out of the screen to the viewer, whereas in OpenGL's Normalized Device Coordinate syste...
Posted almost 10 years ago
Quote from: abcdef on Today at 08:31:25I'm sorry but what has this got to do with either opengl or LWJGL?On the problem in hand there is so little to go on its hard to know where to help. Which z coordinate is wrong? A...
Posted almost 10 years ago
I'm sorry but what has this got to do with either opengl or LWJGL?On the problem in hand there is so little to go on its hard to know where to help. Which z coordinate is wrong? And were all the values used to create it?
Posted almost 10 years ago
You don't need a LWJGL 3 tutorial, any tutorial on textures will explain things. Example belowhttps://open.gl/texturesYou just need to then convert the opengl calls to from a c++ format to a java format (as the mirror 1-1).
Posted almost 10 years ago
Ok, I look through many tutorials I just can't find the right one for me. By the, I'm using lwjgl 3. Can some one help me.
Posted almost 10 years ago
Quote from: spasi on Today at 12:47:36I think scanlineStride (last argument of setPixels) cannot be 0. Try 640 * 4.For more ideas, see LWJGL-FX.It works, th...
Posted almost 10 years ago
I think scanlineStride (last argument of setPixels) cannot be 0. Try 640 * 4.For more ideas, see LWJGL-FX.
Posted almost 10 years ago
Hello. I'm trying to copy pixels from OpenGL to WritableImage, code looks good, at least for me.. But results are incorrect, here are image of how it looks (lwjgl window on left side, javafx on right side): [url=http://s28.postimg.org/4h55qd1bx/Screens...
Posted almost 10 years ago
The LWJGL native libraries export JNI functions only, i.e. functions that look like "Java_org_lwjgl_glfw_GLFW_glfwInit" and not like "glfwInit". What are you trying to do exactly?