dms
Posts: 15
Joined: Sun Jun 24, 2012 11:31 am

Java OpenGL ES + Examples

Thu Dec 20, 2012 7:05 pm

Hi,
I have just finished writing a Java JNI that enables Java programs to access the OpenGL ES on the
RP. The libraries and example programs are available on SourceForge and documentation and
installation instructions can be found at http://www.spanglefish.com/dmsconsulting/
I hope you find this useful.
Don

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Java OpenGL ES + Examples

Thu Dec 20, 2012 7:35 pm

Good to see JAVA going strong on the Pi.
Did you know about JogAmp ?
It does work on the Pi.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
xranby
Posts: 540
Joined: Sat Mar 03, 2012 10:02 pm
Contact: Website

Re: Java OpenGL ES + Examples

Thu Dec 20, 2012 7:45 pm

The community around the Pi have created three different ways to archive this task from java, and it work great using OpenJDK.

To get started with JogAmp JOGL and JOAL , i have prepared some Pi specific "gist" notes:
JOGL, Hardware accelerated 3D using OpenGL ES 1 or 2 : https://gist.github.com/55de4fd65bfadae26203
JOAL, Audio using OpenAL : https://gist.github.com/4160432

You may use use LWJGL and Slick2D:
spsn have ported both for use on the pi: https://github.com/spsn/blocky
http://www.raspberrypi.org/phpBB3/viewt ... 68&t=22344

dms have created a port of the Android OpenGL ES API for use on the Pi:
http://www.spanglefish.com/dmsconsultin ... eid=438180
Xerxes Rånby @xranby I once had two, then I gave one away. Now both are in use every day!
twitter.com/xranby

Return to “OpenGLES”