Tagged Questions

The JOGL project hosts the development version of the Java™ Binding for the OpenGL® API, and is designed to provide hardware-supported 3D graphics to applications written in Java. JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3, ≥ 4.0, ES 1.x and ES 2.x specification as ...

learn more… | top users | synonyms

3
votes
0answers
135 views

Application using JOGL stays in Limbo when closing

I'm writing a game using Java and OpenGL using the JOGL bindings. I noticed that my game doesn't terminate properly when closing the window even though I've set the closing operation of the JFrame to ...
1
vote
2answers
142 views

Multi-threaded JOGL Problem

I'm writing a simple OpenGL application in Java that implements the Monte Carlo method for estimating the value of PI. The method is pretty easy. Simply, you draw a circle inside a unit square and ...
1
vote
1answer
267 views

JOGL hardware based shadow mapping - computing the texture matrix

I am implementing hardware shadow mapping as described here. I've rendered the scene successfully from the light POV, and loaded the depth buffer of the scene into a texture. This texture has ...
0
votes
1answer
150 views

Rendering two textures with blending and alpha test

What I am looking for is the following: I have a circle on a square image, alpha is 0 at the corners and also a square shadow, alpha is 0 everywhere else I would like to have as final result a ...
0
votes
2answers
201 views

What techniques can I use to render very large numbers of objects more efficiently in OpenGL?

You can think of my application as drawing a very large ball-and-stick diagram (or graph). At times, this graph can get very large, where the number of elements even outnumbers the pixels on the ...
0
votes
2answers
386 views

Lighting with VBO

INTRO I'm using a Java JOGL wrapper called processing.org and I have coded some environment on it and I'm quite proud of it even if it has some library stuff that I didn't know anything about it ...
-5
votes
2answers
123 views

Advice on OpenGL 2.1 [closed]

I'm looking to finally get into OpenGL to bring some game ideas of mine to life! As I want to aim for lower class systems I'm probably looking at OpenGL 2.0/2.1 using JOGL (as I know Java the best). ...
0
votes
2answers
454 views

Java OpenGl Rotating Cube Problem!

OK, so I successfully learned how to bind textures to quads and display this cool looking crate. However, when I rotate the cube something goes wrong. During rotation the back-face of the cube ...
5
votes
1answer
186 views

Can I leverage the fact that my scene is often static to improve OpenGL (JOGL) performance?

My scene is drawn based on the location of several (often several million) vertices (kept in VBO's) and a camera. I can easily tell in my code when my scene has changed and when it hasn't. There are ...
4
votes
3answers
522 views

Why would GLCapabilities.setHardwareAccelerated(true/false) have no effect on performance?

I've got a JOGL application in which I am rendering 1 million textures (all the same texture) and 1 million lines between those textures. Basically it's a ball-and-stick graph. I am storing the ...
1
vote
0answers
165 views

JOGL Hardware Shadow Mapping Transparent Shadow Texture

I'm using hardware shadow mapping on JOGL based on the demo(HardwareShadowMapping) supplied by the distribution. After generating the shadow texture from lights point of view, I apply it to my scene ...
0
votes
1answer
155 views

Selective jogl texture transparancy depending on bitwise magic?

I have rewritten some code to allow to load bitmaps to be loaded as textures and if a pixel has a max green color component it is marked transparent. What is odd is that I cannot use the value from a ...
3
votes
1answer
350 views

Error when trying to use VBO “array vertex_buffer_object must be disabled to call this method”

EDIT I have effectivley re-wrote this question in order to greatly imrpove its quality - see revision logs if you must I have narrowed down my problem to the initialisation phase of my program, when ...
0
votes
1answer
494 views

Struggling to get set up with JOGL2.0

I did have JOGL1.1 set up and working, but I soon discovered that it did not support the latest OpenGL, so I started work on upgrading to JOGL2.0 it's not gone too well. Firstly, is it worth me ...
2
votes
2answers
787 views

How should I do 3D games through Java on a mac?

I have been self-teaching myself Java on the mac mostly because the language is cross-platform. Recently, I have been only able to develop 2D games using the Graphics2D class. Now, I want to learn ...

1 2
15 30 50 per page