jogl

Resizing a GLJPanel with JOGL causes my model to disappear.

I switched over to using a GLJPanel from a GLCanvas to avoid certain flickering issues, however this has created several unintended consequences of it's own. From what I've gleaned so far, GLJPanel calls GLEventListener.init() every time it's resized which either resets various openGL functions i've enabled in init() (depth test, lighti...

WorldWind: 3D-Objects - Sphere for Moon, how?

hi, I asked this question in an Nasa WorldWind forum but haven't got a reply yet http://forum.worldwindcentral.com/showthread.php?t=24428 So, perhaps you could help me :). I'm still playing around with WWJ and what you posted here http://forum.worldwindcentral.com/showthread.php?t=24318 THX! currently I'm trying to add different ...

How to export Java OpenGL (JOGL) from Eclipse?

Hi guys, I recently built a JOGL Application using Eclipse IDE.. It works perfectly fine when i run it on Eclipse.. However I want to make a .jar file for this application so that I can put it on my website.. Unfortunately when I tried to export it, It says: JAR export finished with warnings. See details for additional information. - ...

need to separate words from an image

how can i manipulate pixel values of a loaded image then save portion of that image into a new image(1 image per word).i found several example regarding saving or loading image but i cant understand how can i save image portion???i am trying to do it with java ...

Howto: install JOGL for Eclipse in Mac OSX 10.6?

I got Snow Leopard 64 bit, and I'm wondering how I am to install JOGL in order to develop with Eclipse. A nice tut from A-Z would have been nice, since I'm suspecting some of my steps are very wrong. ...

Java OpenGL saving depth buffer

I'm not entirely sure if I can do what I want here, but I have a bunch of objects being rendered in OpenGL (using JOGL). For one group of objects, I want to ensure that certain objects in that group are rendered in front of other objects in that group. I've tried clearing the depth buffer bit and rendering the "front" objects last, and t...

Java OpenGL color material darkens when depth test is disabled

I've been working with the depth buffer in OpenGL (JOGL) to ensure certain items are rendered in front of others by disabling the depth buffer (detailed in my previous question http://stackoverflow.com/questions/2516086/java-opengl-saving-depth-buffer). This works, except when I set the color of an item that is being drawn when the dept...

If I leave my Java program on overnight, i get an abnormal process termination error in java.exe

This is a tad complicated of an issue with very little information I can provide so please bear with me or ignore. I am developing a small Swing/JOGL program and am attempting to include a java runtime within my program so that I can simplify JVM setup for my user. My program is being run off a batch file which calls my packaged java.ex...

Loading JNI lib on Mac OS X?

Background So I am attempting to load a jnilib (specifically JOGL) into Java on Mac OS X at runtime. I have been following along the relevant Stack Overflow questions: Maven and the JOGL Library Loading DLL in Java - Eclipse - JNI How to make a jar file that include all jar files The end goal for me is to package platform specific J...

Are there java bindings for OpenGL ES 2.0 on the Android platform?

I know that the recently released android ndk r3 supports opengl es 2.0 on supported phones (nexus one for example), however it doesn't say whether there are java bindings for opengl es 2.0 included in the SDK yet. Are said bindings on the way, and if not, does JOGL2 support the opengl es 2.0 profile on the android? ...

How do I prevent jagged edges alongside the surfaces of my 3d model?

Lets say I've implemented in openGL a crude model viewer with shading which renders a series of blocks, such that I have something that looks like this. http://i.imgur.com/TsF7K.jpg Whenever I rotate my model to the side, it causes an unwanted jagged effect along any surface with a steep viewing angle. http://i.imgur.com/Bgl9o.jpg I'...

Determining the size of the current cursor

I am writing a an swt app that has an embeded GLCanvas and I wanted to be able to find out the size of the current cursor, is this possible? And if I cannot get it from JOGL then is it possible from either swt or awt? ...

Lighting does not work with gluSphere

This is a simple issue that I'm somewhat ashamed to ask for help on. I'm making a simple call to gluSphere to render a sphere, however, it does not light properly even though I'm pretty sure I added the normals and lighting correctly. If, however, I add a texture, the model lights normally, except it seems to be always SMOOTH, and I can...

Problem with JOGL and Framebuffer Render-to-texture: Invalid Framebuffer Operation Error

Okay, so I am trying to render a scene to a small 32x32 texture and ran into problems. I get an "invalid framebuffer operation" error when I try to actually draw anything to the texture. I have simplified the code below so that it simply tries to render a quad to a texture and then bind that quad as a texture for another quad that is ren...

Java 3D-API that uses JOGL

Can someone recommend me a package similar to JCollada for 3d rendering that is based on JOGL or point me to a place where I can obtain JCollada? The original site for JCollada has a SVN link that is no longer working (empty svn repositry). ...

Jogl - set 'cliping area'

Hi! Is it possible to set 'clipping bounds' in JOGL? Like in Java/Swing i would like to set clipping bounds and all drawing/rendering outside those bounds would be ignored. ...

Implementing parallel coordinates for multi dimensional data in Java

Hi, I am planning to implement parallel coordinates in java using JOGL library. Do you have any other suggestions? Thank you Bala ...

jogl-2.0-pre-20100528-macosx-universal unable to file glTranslatef

Mac Snow Leopard 10.6.3 Attempting to get the tutorial "spaceinvaders103" working using jogl 2.0, see: http://www.cokeandcode.com/node/9 Create a project folder which includes: jogl-2.0-pre-20100528-macosx-universal src/org/newdawn/spaceinvaders bin/... Try to compile from the project folder using: >javac -Xlint -d bin -sourcepath...

Thick Bezier Curves in OpenGL

Hi all, I am writing a program in java using the jogl opengl bindings. I need to create a bezier curve that varies in thickness along the curve. So far I've only managed a thin bezier curve of single points. I'm pretty sure that this isnt going to be an easy thing to do, but i I have no idea where to even begin looking for the solution. ...

Creating a JOGL texture from a BufferedImage

In previous versions of JOGL, I could create a Texture from a BufferedImage using the following handy function: public static Texture makeTextureFromBufferedImage(BufferedImage b) { return TextureIO.newTexture(b,true); } Now however in the latest JOGL release the TextureIO.newTexture method doesn't seem to accept a BufferedImage a...