lwjgl Questions
4
I am using a Mac OS x. My IDE is Intellij. For some reason I get an error when trying to run this code. The code is an lwjgl game engine.
import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import...
Kuhl asked 22/6, 2016 at 21:37
2
I am trying to render 3D prisms in LWJGL OpenGL with flat shading. For example, I have a cube indexed as following:
I only have 8 vertices in the vertex buffer, which I have indexed as above. I...
Crescantia asked 2/2, 2020 at 1:42
2
Solved
I've found 5349574673 pages on alpha blending and I still can't get the desired result.
I'm trying to make gif/png files display properly (WITH transparency/translucency) using opengl.
Here's my i...
Lenticular asked 25/10, 2011 at 5:53
4
Solved
Note this is different from this question because it does not deal with linking because it's not asking how to link it via the CLI, but the GUI in Eclipse.
I have been trying to write a simple pro...
4
The only thing I found was Penumbra, which seems to wrap OpenGL 1.1, which I don't care for in the least. It doesn't really have to do anything fancy, a wrapper around LWJGL that exposes OpenGL 3.3...
1
Solved
This is the screenshot of my Eclipse project files.
I get the error below when I try to initiated a new Sound("Res/MouseClick.ogg") object in my class AudioPlayer at line 15.
package com...
Tyus asked 9/7, 2020 at 13:5
2
Solved
Im unable to successfully add proper dependencies for LWJGL in maven project. I have copied lwjgl dependency tempalte from maven repository, added it to my pom.xml and tried to run basic applicatio...
1
Solved
Thanks to the LWJGL (LightWeight Java Game Library), I have access to plenty of static OpenGL classes. However, one think I don't understand is why should I use a specific version. In the LWJGL 3 w...
1
Solved
I'm following this tutorial (http://www.kilobolt.com/day-2-setting-up-libgdx.html). But in step 18 where I run the project as a java application, I get the following errors:
I've tried looking a...
2
Have been trying to work with 'lwjgl' on linux and am running into an issue when I run my compiled code from the terminal. I am using the stable release of lwjgl 3.
I downloaded the lwjgl.jar from...
2
I am attempting to make a simple game in Java / LWJGL. I was following a tutorial that was made on windows and I'm using a mac. I copied his code for opening up a window character for character and...
3
I am using OpenGL in LWJGL 3 and I get the following error;
Exception in thread "main" java.lang.IllegalStateException: There is no OpenGL context current in the current thread.
at org.l...
2
Solved
I'm writing some stuff that uses ByteBuffers. In the docs of the API it says
There is no way to free a buffer explicitly (without JVM specific
reflection). Buffer objects are subject to GC and ...
4
Solved
I am trying to load an image as a texture for openGL using the LWJGL library. From what I found out so far, I need to pass the texture as a ByteBuffer to openGL. What I have right now is some code ...
2
Solved
I have a basic LWJGL window set up and I am trying to draw a square using the glBegin(GL_QUADS) method. Square square = new Square(25, 25, 25), is the way I am calling my Square class to draw the s...
7
Solved
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\windows ...
Moonstruck asked 5/7, 2011 at 21:0
2
I've been scratching myself in the head for a little over an hour with this, nothing on Google seems to be able to give me a decisive answer.
I'm using IntelliJ IDEA 13.1.3 with the scala and sbt ...
Incisive asked 14/6, 2014 at 17:13
2
Solved
Is it possible to load PNG Textures and draw Strings in LWJGL WITHOUT using the Slick Framework?
Everytime I google "how to load png images in lwjgl" I get answers like this -> "hey just use the ...
2
Solved
I'm trying to run the sample "Hello World" from the LWJGL website
From this link: LWJGL "Getting Started"
I'm trying to do this via the command line, just so I understand the "behind the scenes" ...
2
I am trying to setup an application icon from the -desktop specific class with:
package org.osgameseed.games.animalflip;
import com.badlogic.gdx.Files;
import com.badlogic.gdx.backends.lwjgl.Lwjg...
4
Solved
Is there a LWJGL port for Android available? (does not matter if the phone needs to rooted)
1
Solved
The purported advantage of Deferred Rendering is that it allows the fragment shader to be executed only numLights * numPixels times. This is because in forward rendering, many times the same pixel ...
2
Solved
At first, it seemed obvious... Make 2 triangles per face wherever 4 indices were found, right?
Meaning, the following:
v 1.000000 1.000000 0.000000
v -1.000000 1.000000 -0.000000
v 1.000000 -1.000...
0
I am using OpenCL's Java binding provided by lwjgl 3.
When I call the clSetEventCallback, I have to pass a callback function to clSetEventCallback. For each clSetEventCallback call, I created a ne...
Carberry asked 21/3, 2017 at 5:52
1
I have an image that I rotate before I draw. The image is rotated by the angles of a hexagon. In other words, the image basically "highlights" the individual edges of a hexagon. I need to detect if...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.