Update on 6/24/2017: I updated the GitHub project to launch correctly on Eclipse Neon 3. Many times when they update Eclipse, it changes the dependencies a project like this needs, which means we have to regenerate the Tutorial.product file to make it launch properly again.
To run the tutorial:
This runs the fully-developed tutorial, not just the simple donut below, but you can always paste the donut code into it if you like 🙂 Enjoy!
Update on 6/6/2015: This tutorial’s gotten a bit out of date with changes to JOGL and Eclipse in the last couple of years. The quickest way to get set up now is to just get my two projects from GitHub and import them into an empty Eclipse workspace:
This will give you a working RCP app without creating fragment projects like I describe below. Then you can hack on the tutorial app or create your own by following the latter half of the tutorial 🙂
Hi! My name’s Wade Walker. I’m an engineer and wanna-be scientist.
And you may call me “Interstitius”. I am something of a Renaissance-being, but my current occupation is penning the headings between these paragraphs.
Yeah, that doesn’t come across weird at all! But this guy comes highly recommended, so I figured I’d give him a try. What’s with the name, anyway?
It is a Latinate nom de plume, of course. I thought it dashing and flamboyant, much like myself.
Um, OK sure. Don’t ask questions you don’t want answered, et cetera. Anyway moving on!
At my day job, I write engineering apps that help chip designers make the chips that go into all your iStuff. But by night, and also on weekends, I write scientific apps as a hobby. And before anyone asks: no, I don’t live in my mom’s basement. Trust me, I’m perfectly normal. Except for writing science apps.
I’m gonna write a set of tutorials that walk you through creating a cross-platform graphical app using Java, OpenGL, and the Eclipse Rich Client Platform (“Eclipse RCP” for short). There are lots of other ways to do this, like with C++ and Qt, but I’m lazy and I figured I’d stick with what I know.
What do I get out of this? Glad you asked!
No one has asked anything as yet.
Dude, that’s just for color. Not supposed to be literal. Anyway, what I get out of tutorializing is this: I’m in the process of translating my hobby science app from C# and DirectX to Java and OpenGL. So I figured I might as well write up how I do it, and maybe help out some other folks in the process.
In this first tutorial, I’ll make a bare-bones app that draws a rotating 3-D demo object in a window using Java OpenGL (JOGL).