Questions tagged [jogl]

JOGL is the Java Binding for the OpenGL and OpenGL ES API. 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.

JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3, 4.0 - 4.5, ES 1.x - 3.x specification.

The JOGL project hosts the development version of the Java™ Binding for the OpenGL® API (JSR-231), and is designed to provide hardware-supported 3D graphics to applications written in Java.

Wiki:

Project:

Community:

Forum:

Related projects:

  • Java Binding for OpenCL (JOCL)
  • Java Binding for OpenAL (JOAL)
1092 questions
11
votes
3 answers

Worldwind Custom Renderable Picking Issue

I'm going through this tutorial Whenever my mouse hovers over the cube created with this code (my version below), the Atmosphere and Stars disappear. This is how it looks normally: This is how it looks when I hover over the cube (Look at the…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
10
votes
2 answers

What are the steps necessary to render my scene to a Framebuffer Object(FBO) and then render that FBO to the screen?

I've got a fairly complicated scene with many GL_POINTS that I need to render. The scene will be largely static, so I'd like to render it to a Framebuffer Object and then only update that FBO when my scene actually changes. I'd then like to render…
Luke
  • 3,742
  • 4
  • 31
  • 50
10
votes
2 answers

Using OpenGL in Matlab to get depth buffer

Ive asked a similar question before and didnt manage to find a direct answer. Could someone provide sample code for extracting the depth buffer of the rendering of an object into a figure in Matlab? So lets say I load an obj file or even just a…
twerdster
  • 4,977
  • 3
  • 40
  • 70
10
votes
4 answers

Java: BufferUtil?

I'm trying to use this class with JOGL. It references BufferUtil, which I can't find anywhere. I found documentation, but no actual code. Eclipse doesn't suggest to import it from anywhere. What do I have to do to be able to use this code?
Nick Heiner
  • 119,074
  • 188
  • 476
  • 699
10
votes
2 answers

I can't load the gluegen-rt.dll 64bits library

Here are the libraries I have added: -gluegen-rt-natives-windows-amd64 -gluegen-rt -jogl-all-natives-windows-amd64 -jogl-all This is the exception I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library:…
Camilo Cuna
  • 103
  • 1
  • 6
10
votes
5 answers

Local alternative to JNLP file?

Try as I might, I can't get a JNLP file to run locally (via a double-click). It seems to be an issue of locating a jar file, even when I specify it relative to the jnlp file. I get the following error: The field href has an invalid value:…
Ricket
  • 33,368
  • 30
  • 112
  • 143
10
votes
2 answers

clang: error: unsupported option '-static-libgcc' on Mac OSX Mavericks

I am trying to compile jogl from source on my Mac Mini with Mac OSX mavericks, but getting clang: error: unsupported option '-static-libgcc' on Mac OSX Mavericks I have XCode 5.0.1 (5A2053) and installed the Command line tools for OSX Mavericks Any…
Jagan Veeraraghavan
  • 363
  • 2
  • 4
  • 14
10
votes
4 answers

Writing a portable Java application using JOGL and Android OpenGL

I plan on writing a Java 3D game that will work both on PC and Android. Unfortunately it looks like there is no common OpenGL API for both platforms. Do the APIs differ significantly? Is there a way I could use the same 3D code in both versions? Is…
hmp
  • 941
  • 3
  • 10
  • 27
9
votes
3 answers

OpenGL Shader Compilation Issue -- Unexpected EOF

So I decided to try writing a simple OpenGL app using Java, just to see how it compared to my other efforts, and I'm running into an issue where my shaders refuse to compile. They really couldn't get much simpler, here's my vertex shader to…
rjacks
  • 1,023
  • 2
  • 10
  • 16
9
votes
2 answers

WorldWind PointPlacemark Heading

In NASA WorldWind Java, I'm using PointPlacemark to represent an image because it stays the same size regardless of zoom level. The problem is that I want to set the heading on the Point Placemark and have it stay on that compass heading even when…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
9
votes
1 answer

ivy:install from maven with classifiers

I'm trying to ivy:install jogl and gluegen from maven to my local depository. I cannot get the native dependencies to install correctly. My ivysettings is
asmodean
  • 185
  • 3
  • 11
8
votes
4 answers

Jogl Shader programming

I just started Shader programming(GLSL) and created a few with RenderMonkey. Now I want to use this Shaders in my java code. Are there any simple examples of how I do that?
Alexander Stolz
  • 7,454
  • 12
  • 57
  • 64
7
votes
4 answers

Recommended 3D model type for in-game character model, loaded manually?

I'm writing a game in JOGL and need to represent the in-game character. I plan to use skeletal animation for the character movements, and of course the character will be skinned. I can't seem to find any good model loaders for JOGL so I plan to load…
Ricket
  • 33,368
  • 30
  • 112
  • 143
7
votes
1 answer

Worldwind Line from Symbol to Terrain

Worldwind's Point PlaceMark renderable has the feature to drop a line from the Placemark down to the terrain by calling setLineEnabled as in this screenshot: What I'm trying to do is add a line like this that also works with the Tactical Symbol…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
7
votes
4 answers

How to apply Bullet physics to drawn Opengl 3d shapes

I was just wondering whether there is a way to apply bullet physics to opengl drawn objects (created using glVertex3f or triangle mesh with glVertexAttribPointer). I am currently using jogl and jbullet to apply physics to my 3D objects. Specifically…
Noir
  • 119
  • 1
  • 8
1
2
3
72 73