ID:81063
 
Keywords: 3d, java, nonbyond
Chatters has been on a Minecraft kick recently, and from that I discovered LWJGL, the Lightweight Java Game Library. This provides a Java program easy access to a bunch of useful stuff for games programming, including OpenGL.

Now I've tried using OpenGL in Java before, and found it a right pain. LWJGL however is pretty transparent, and about as easy as you could make an OpenGL interface while retaining full functionality.

Playing around with it produced this, which should look at least slightly familiar to some people:



Probably nothing will come of it, but it's a fun project to try while (re-)learning OpenGL. One thing I've found is that I desperately need a more modern book on the subject, since the reference I have are massively outdated.

One interesting thing is that this is a "real" 3D display, rather than the fixed-viewpoint of a traditional sprite-based isometric display. This means it can be spun and viewed from any direction, rather like the game Dungeon Keeper. Actually something like this would probably be necessary if it were ever a real game, since otherwise things get hidden by walls too easily.

Also the networking aspect might be fun to try, since LWJGL lets you run the client as a browser applet, connected to a server on the backend. That is a seriously neat and useful way of doing things, since everything necessary is downloaded by the player automatically.

Don't you wish BYOND could do this stuff easily? Maybe one day.

Is that SS13 mimicry I see? Why yes, it is!
Lightweight Java

Now there's an oxymoron if I've ever seen one.
Hobnob you crafty bastard.

Jp wrote:
Now there's an oxymoron if I've ever seen one.

Spoken like someone who isn't up to date with Java development, not that I endorse Java development.
Slurm wrote:
Jp wrote:
Now there's an oxymoron if I've ever seen one.

Spoken like someone who isn't up to date with Java development, not that I endorse Java development.

Oh, I'm aware it's more light-weight and faster than it used to be, especially since JIT came along, but it's still slow, memory-hungry, and ugly, compared to a real language. Part of the problem is the Java standard library, which appears to have been designed by someone who was so in love with design patterns that they thought factories needed factories - a problem that's compounded by the inability to make the garbage collector understand that something is no longer necessary (I believe you can give it hints, but it's under no obligation to listen to you).

You can't be lightweight and run in a VM. It just can't happen.