Main > Programming > Libraries >

LWJGL 0.99

LWJGL 0.99

Sponsored Links

LWJGL 0.99 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 1.3 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1335
Date added: 2006-03-16
Publisher: Daniel Leinich

LWJGL 0.99 description

LWJGL (Lightweight Java Game Library) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java.
LWJGL provides developers access to high performance crossplatform libraries such as OpenGL (Open Graphics Library) and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as Gamepads, Steering wheel and Joysticks.
All in a simple and straight forward API. LWJGL is not meant to make writing games particularly easy; it is primarily an enabling technology which allows developers to get at resources that are simply otherwise unavailable or poorly implemented on the existing Java platform.
We anticipate that the LWJGL will, through evolution and extension, become the foundation for more complete game libraries and "game engines" as they have popularly become known, and hide some of the new evils we have had to expose in the APIs.
LWJGL is available under a BSD license, which means its open source and freely available at no charge.
Please visit us on the Freenode IRC Network: #LWJGL. Do idle if there is no one to answer any of your questions, we are on different timezones.
In response to everything here Id like to state our goals with LWJGL:
- Speed
- Simplicity
- Ubiquity
- Smallness
- Security
- Robustness
- Minimalism
and this will help explain how we got to where we are today and more importantly where were going and where were not going.
Speed
The whole point of LWJGL was to bring the speed of Java rendering into the 21st century. This is why we have:
Thrown out methods designed for efficient C programming that make no sense at all in java, such as glColor3fv.
Made the library throw an exception when hardware acceleration is not available on Windows. No point in running at 5fps is there?
Ubquity
Our library is designed to work on devices as small as phones right the way up to multiprocessor rendering servers. Just because there arent any phones or consoles yet with fast enough JVMs and 3d acceleration is neither here nor there - there will be, one day. Were carefully tailoring the library so that when it happens well have OpenGL ES support in there just like that. This means that:
We had to have a very small footprint or itll never catch on in the J2ME space at all. Thats why the binary distribution is under half a meg, and that takes care of 3d sound, graphics, and IO.
Even under desktop environments having a 1-2mb download just to call a few 3D functions is daft.
Weve worked to a lowest common denominator principle rather than attempting to design for all possibilities, but weve made sure that 99% of required uses are covered. Thats why weve only got one window, and why we dont guarantee that windowed mode is even supported (its officially a debug mode and hence we dont even supply some very basic windowy abilities that youd get in AWT) and why we dont allow multiple thread rendering contexts.
Simplicity
LWJGL needed to be simple for it to be used by a wide range of developers. We wanted relative newbies to be able to get on with it, and professionals to be able to use it professionally, maybe typically coming from a C++ background. We had to choose a paradigm that actually fits with OpenGL, and one that fits with our target platforms which ranges from PDA to desktop level. This is why:
We arent catering for single-buffered drawing
We dont require that an instance of GL is passed around all over the place but we do not prevent this style of coding. See below for why.
We removed a lot of stuff that 99% of games programmers need to know nothing about
We have decided that consistency is better than complexity. Rather than allowing multiple ways to call the same methods and bloating the library weve just said, "Right, no arrays. Theyre slower anyway. Get used to buffers, as this is what buffers are meant to be used for."
Smallness
See ubiquity above. We had to be small.
Small == simple. The less ways there are to do something, the easier it is to learn the only way that works or is allowed.
Small == our code is less buggy. Wouldnt you rather be hunting for bugs in your own code, not ours?
Small == downloadable. No version nightmares. LWJGL is small enough to download with every application that uses it.
Small == J2ME.
Security
We realised a few months ago that no-one was going to take us seriously if we couldnt guarantee the security of the LWJGL native libraries. This is why we:
No longer use pointers but exclusively use buffers instead
Are gradually adding further checks to buffer positions and limits to ensure that the values are within allowed ranges to prevent buffer attacks
Robustness
Similarly to security we have now realised that a reliable system is far more useful than a fast system. When we actually had a proper application to benchmark finally we had some real data. Many of our original design decisions were based on microbenchmarks - well, you have to start somewhere! But with a real application to benchmark we now know we can throw out asserts and replace them with a proper if (...) check and a thrown exception. We know also that we can move all that GL error checking out of native code and into Java code and we will no longer need a separate DLL for debug mode.
As for runtime exceptions, they have their place. Theres not a reasonably well defined argument as to when you should use a runtime exception and when you should use a checked exception. When I made OpenGLException a checked exception all it did was end up littering my code with try {} catch {} sections - except that if youve got an OpenGLException there is very little sensible you can do to rectify it because it should never have occurred in the first place.
Thats why its a runtime exception. You should simply not write code than can throw it because it is generally not recoverable nicely. However for robustness (and security) we are required to throw an exception if something is amiss. It falls, I believe, into exactly the same category of trouble as NPEs, ArrayIndexOOBs and ClassCastExceptions: should never occur but needs to be trapped somewhere.
Minimalism
This is another critical factor in our design decisions. If it doesnt need to be in the library, its not in the library. Our original aim was to produce a library that provided the bare minimum required to access the hardware that Java couldnt access, and by and large were sticking to this mantra.
The vector math code in the LWJGL is looking mighty scared at the moment because its probably for the chop - well, at least, from the core library - as its not an enabling technology at all, and there are numerous more fully featured alternatives. We chucked out GLU because its mostly irrelevant to game developers except for a few functions that we really need to get redeveloped in pure Java - but basically, GLU is just a library of code built on top of the enablement layer.

LWJGL 0.99 Screenshot

Advertisements

LWJGL 0.99 Keywords

Bookmark LWJGL 0.99

Hyperlink code:
Link for forum:

LWJGL 0.99 Copyright

WareSeeker periodically updates pricing and software information of LWJGL 0.99 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of LWJGL 0.99 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
LanguageTool is an Open Source language checker for the English and German language. Free Download
Jake2 is a Java 3D game engine. Free Download
Q2Java project allows Quake2 games to be written in Java. Free Download
libgpod is a shared library to access the contents of an iPod. Free Download
libjhttpd project is a simple HTTP/1.0 compliant, threaded webserver-library written in Java. Free Download
Games::3D is a package containing an object system for (not only) 3D games. Free Download
Vexi is a visual, extensible, XML interfaces. Free Download
CACAO is a JIT compiler for Java. Free Download