Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX
Posted by
Xerxes Rånby on
Feb 19, 2013; 8:50am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028268.html
Dardzull wrote
To run JME3 on the RPi you need to have something more or less like:
java -Dnativewindow.ws.name=jogamp.newt.driver.bcm.vc.iv -jar MyGame.jar
The "-Dnativewindow.ws.name=jogamp.newt.driver.bcm.vc.iv" MUST be there to work in X or X-less. I'm not a fan of Eclipse so your on your own there. =(
Nope this is no longer needed to add the -Dnativewindow.ws.name=jogamp.newt.driver.bcm.vc.iv if you use JogAmp JOGL rc11 or later. We have added Raspberry Pi nativewindow autodetection in the latest releases.
I have updated the
http://labb.zafena.se/?p=547 introduction article to demonstrate that it is now possible to run JOGl code on the Raspberry Pi without adding any Pi specific system properties.
The following lines of code will run on both desktop and on the raspberry pi!