I have a Java Application that uses JOGL to provide a large part of the GUI.
Is there any tool which you know of, or have used which can automate the testing of OpenGL applications (or more specificly those using JOGL)
Just to update: The tool can run on either linux or windows.
...
Hi, I have a network of polylines, and I'd like to display all parts of the lines that are inside a certain X-Y box. I'm currently rendering the lines in OpenGL using a GL_LINE_STRIP and it works well. However, if the boundary of the X-Y box crosses through one of the lines (between vertices), is there a good way to just display the part...
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 it a good idea?
...
At the moment am using JOGL for a ball detection program I have been told to make the balls disappear once they get to close to one another.
//this is the method from the main class
public void display(GLAutoDrawable drawable) {
GL gl = drawable.getGL();
gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
g...
well I have a JOGL program which detects ball bounces off walls and other balls, but instead of the balls being removed from the program the best I can manage is to make them not be displayed. I have asked a similar question (why balls are disappearing and got an a good answer) but afterwards got noticed this one I tried looking for some...
Hi everyone,
I'm having some major issues with getting JOGL to work on snow leopard.
I've installed all the necessary JOGL jars in
/system/library/java/extensions
I can get sample code to compile but when I attempt to run it it throws the error following error on trying to actually display the window.
Exception in thread "main" jav...
Hi everyone,
I'm currently trying to work out how to get world coordinates from JOGL - at the moment it only returns x = 0.0, y= 0.0 and z = 0.0 no matter where I click. What am I doing wrong?
public double[] getMousePosition(int x, int y){
int viewport[] = new int[4];
double modelview[] = new double[16];
double projection[] = new...
Hi everyone,
I'm trying to get JOGL running in Eclipse 3.5 on a MacbookPro 64bit Snow Leopard with Java 1.6.
The code runs on my XP machine, however, when I try to run it on my macBook, I get this error in Eclipse's console:
Invalid memory access of location 00000000 eip=8fe11f32
And thats it.
I've tried a few different codes, ...
As the title suggests I am trying to add an event listener to a JOGL project to no avail. Any
help would be much appreciated
...
I'm planning on writing a simple application in Java which has a basic UI with a section of OpenGL graphics. In addition to this some kind of network access is required.
Which one of these libraries should I use? What are the drawbacks and benefits of each option? I'd like the OpenGL coding be as genuine as possible, so that I could fee...
I am noticing a large performance difference between Java & JOGL and C# & Tao.OpenGL when both loading PNGs from storage into memory, and when loading that BufferedImage (java) or Bitmap (C# - both are PNGs on hard drive) 'into' OpenGL.
This difference is quite large, so I assumed I was doing something wrong, however after quite a lot o...
Hi, currently Im working on a portion on this research paper "modeling by example"
Have tonnes of problems now.So if anyone has knowledge on this paper, help is badly needed here.
I am using java opengl for the programming.
first of is that I am trying to draw a stroke. eg: 5*100 pixels stroke.
How do I draw that using the mouse.Curre...
I've been studying Maven in my free time over the last several days but can't seem to figure out how to organize a project so that the JOGL libraries are used. I would preferably like the following:
Automatically download, if necessary, the OS-specific JOGL zip file from here (contains 4 jar files and some native library files (.so/.dl...
Hello, I'm trying to get a simple program using JOGL to compile via the command line. This isn't really working. I've tried referencing jogl.all.jar, gluegen-rt.jar, nativewindow.all.jar, and newt.all.jar as the official documentation suggested, but the compiler still cannot find the JOGL classes.
This is the code:
import java.awt.Fram...
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 <jar>href has an invalid
value: helloworld.jar
This happens even when the JNLP file is in the same folder as helloworld...
Hi everybody
I was trying to load a texture using joGL library but it seems that something is missing when using this method glTexImage2D at :
IOStream wdis = new IOStream(fileName);
wdis.skipBytes(18);
int width = wdis.readIntW(); // dis.skipBytes(2);
int height = wdis.readIntW(); // dis.skipBytes(2);
wdis.skipBytes(28);
byte buf[] =...
hi
I've been trying to load a bmp picture to use it as a texture at my program I've used a IOstream Class to extend DataInputStream to read the pixels at the photo with this code "based on a texture loader code for c++ " :
//class Data members
public static int BMPtextures[];
public static int BMPtexCount = 30;
public static int curr...
Hi
I'm trying to take a screen shot of an applet running inside a
browser. The applet is using JOGL (OpenGL for Java) to display 3D
models. (1) The screen shots always come out either black or white.The
current solution uses the usual GDI calls. Screen shots of applets not
running OpenGL are fine.
A few examples of JOGL apps can be foun...
Hi, I have this 3D model loaded.Then on the same screen, I have many points draw on it.. how Can I determine whether the points are on the model or not.Only take the XY plane for consideration.
Anyone can teach me how to do a 3D intersection test only on the XY plane, because Im really clueless.
...
i am using jogl and my computer is hp but when i run the program the screen become red
...