java.net's JOGL project
If you've been around Java for a while you've tried many different models of getting graphics to the screen. The JOGL reference implementation for Java bindings to OpenGL is available on java.net from the JOGL project homepage.
In the feature story Jumping into JOGL, Chris Adamson walks you through downloading and installing the JOGL library files. He then takes you through a 2D graphics example using JOGL.
But, you ask, doesn't JOGL do 3D? Yes, but Chris thought it would be simpler to introduce the basic format of JOGL calls using the 2D side. He promises to follow-up with an article that shows off the 3D features.
In the week since Chris submitted his article, a new release of JOGL has been posted and Apple has posted a Java update that allows JOGL to run under Jaguar. You can also run JOGL code on Windows, Solaris and Linux (on x86). Eventually, higher level APIs should be able to take advantage of JOGL. For now you may find yourself calling directly into the JOGL libraries you'll find that the GL class "is almost like a straightforward dump of the gl.h header file. In a sense, it's better not to think of it as an object as all, but rather as handle for making method calls. If you're porting from native OpenGL code, then you would expect functions that start with a gl or constants that start with a GL to be accessed via this GL instance. "
In today's featured Weblogs Bruno Souza is Discussing the Java Community Process. He encourages you to join in the wiki discussion Rethinking the JCP. Simon Brown asks Is pigeonholing people into specific disciplines bad? In some methodologies, the process is broken down into Analysis, Design, and Implementation. Simon asks
[W]hy do some people think that the implementation team can't do analysis and design? And why can't some of the A&D team help out with implementation? In fact, some would say that architects can't help with design. What benefit does pigeonholing people into a single discipline achieve? Okay, you may have experts in a specific discipline. Business analysts are a great example. High level architects are another. But what about the main body of the team?
In today's contribution from Philip Brittan, Pre-Integrated Airplanes, he repeats from Scott McNeally's analogy "One of the points he made, which I have heard him make before, is that corporate America treats its data center is as if travel depended on our own personal airplanes that we each built from scratch. Scott argues that every data center is unique and custom built, despite the fact that the needs companies have from their data centers are fairly universal." Brittan concludes his piece by saying, "If Scott’s vision for IT is to become reality, and it does seem right, then large vendors need to be willing and able to integrate and resell software components in their systems as easily as they do hardware parts."
In the Also today section we link to Qingye Jiang's article on how to Access USB devices from Java applications. Jiang provides an overview and sample code for two possible solutions: the Sourceforge jUSB API and the javax.usb package that grew out of JSR 80. In addition, Bruce Eckel and Bill Venners talk to C# chief designer Anders Hejlsberg about The Trouble with Checked Exceptions.
From the Java Today News Page, news editor Steve Mallett, has gathered the following News Headlines .
- JSRs 175, 201, 202 & 215 Community Drafts Approved.
- Sun May Offer Java Customers SCO Relief
- Java Web Services in a Nutshell - Review
- Antispam Companies Raking It In
This blog is delivered weekdays as the Java Today RSS feed. Once this page is no longer featured as the front page of
href="http://today.java.net"> Java Today it will be archived at
http://today.java.net/today/archive/index_09112003.html. You can
access other past issues by changing the address appropriately.