3D Randomly Generated World

Ah, I should have mentioned that I’m on OS X.

Update 0.0.5.1 is here!

[Latest Update]

  • Game Launcher!!!
  • Separate logs for each run
  • Debug is hidden by default. Toggle with F1
  • Bug Fix: Grass no longer clumps on chunk borders
  • Bug Fix: Now properly checks opengl version and doesn’t run if lower than 3.3
  • Bug Fix: Console now closes after game is started

Let the crashes commence…

Download is in the op :slight_smile:

Edit: Whoops! Forgot to mention that I might change the name to Orbis.

My computer forgot how to run java from a batch file…
This is fun.

I wouldn’t look into Mesa drivers… At least for me, they’ve not had good performance.

When I run the batch as-is, nothing happens.
When I change “start javaw” to “java” this happens:

my previous comment about java not working has been fixed. Java seems to be working for all other applications at the moment.

[edit]
After changing the batch file to run 3Dworld.jar as opposed to your launcher, it opens up just fine :slight_smile:

I get 49 fps; which is quite odd as there really isn’t anything that intensive going on.

Thank you for your feedback.

Could I get your Java version?

About the performance…apparently Display.sync() doesn’t like being called in more than one thread. I fixed the issue and now get a solid 60 fps. This will be included in the next update.

That would make sense, I guess… if Display.sync() makes the render loop wait then lots of calls to this happening concurrently would add up. I was able to launch it under Windows (which makes my issue seemingly OS X-specific) and only get 14FPS. As well as this, the skybox image did not load.

Are you planning on looking into more visual enhancements like anisotropic filtering and anti-aliasing at all in the future?

Thank you for your thoughts.

Could you send me your log? I’m pretty sure I know what happened but I just need to make sure.

I really want to implement antialiasing soon, especially for the grass.

Here’s the log…

Using Java Version: 1.8.0_05
Using OpenGL Version: 4.2.0 - Build 10.18.10.3496
Loading Texture: spritesheet.png
Loading Texture: arista.png
Loading Texture: Above_the_Sea.png

On antialiasing though: I’d suggest having a toggle, because (at least for me) FPS take a huge hit when antialiasing is enabled. I know these are early days yet, but what do you plan for this? Some kind of survival game, maybe?

Trying to start via the .bat on Win7 64bit, keep getting this error:

Using Java Version: 1.7.0_55
Exception in thread “main” java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.(Sys.java:112)
at org.lwjgl.opengl.Display.(Display.java:135)
at com.base.engine.Window.createWindow(Window.java:20)
at com.longarmx.smplx.Main.main(Main.java:295)
… 5 more

Have you downloaded the newest version? You must have the wrong .bat if it is trying to start the actual application. The .bat should instead launch the 3DOrbisLauncher.jar. If you have the launcher in the data folder, then change your .bat file to this, otherwise, redownload:

[quote]cd data
start javaw -Djava.library.path=“natives/” -jar 3DOrbisLauncher.jar
[/quote]
Coldstream24: Thank you for your feedback.

This bug should be fixed in the next version.

Wow this is cool.

Came across a few bugs though.

Left shift for slow walk, makes me go down slowly when in fly mode.
Zooming in causes the skybox to no longer render.
And there’s inconsistency with the generation when you change the settings and generate more mesh.
(For the last one, perhaps having some kind of gradient system, so it changes slowly until it reaches the new values.)

But other than than, awesome work :smiley:

Thanks for trying it!

This is intended :slight_smile: L_SHIFT makes you do down when flying. Thanks for pointing this out though, because I should change the slow key to something else, or disable it while flying. I should also add this feature to the list of controls.

Thanks for this. This issue is fixed now and will be in the next update. The reason I was changing the far plane when rendering, so it was getting culled.

Thanks for this. It should be fixed in the next update.

Once again, thank you for your feedback :smiley:

I couldnt get this to work on windows, it just ends up doing nothing, but still having the javaw process running in the background.

Could you change the .bat file to say [icode]java[/icode] instead of [icode]start javaw[/icode] to get the error message? :slight_smile:

What java version do you have?

sorry about this but i couldnt find the copy and paste thing in command today lol:

ill see if i can update my drivers i guess, but thats still not a very good way for the program to react to the problem.

This is something that JavaFX output. If you don’t want to go through the hassle of updating, you can just run the 3DWorld.jar directly by changing the .bat file. (Just switch 3DOrbisLauncher.jar with 3DWorld.jar)

ok tried that but dont get any errors or anything, just an empty black window pops up and dissappears again, no process hanging around in the background. let me know if you want me to try something else or need more info.

If you tried to run the 3DWorld.jar, then it should have created a log, found in the “logs” folder

Using Java Version: 1.7.0_45
org.lwjgl.LWJGLException: Could not create context (WGL_ARB_create_context)
at org.lwjgl.opengl.WindowsContextImplementation.nCreate(Native Method)
at org.lwjgl.opengl.WindowsContextImplementation.create(WindowsContextImplementation.java:50)
at org.lwjgl.opengl.ContextGL.(ContextGL.java:132)
at org.lwjgl.opengl.Display.create(Display.java:850)
at org.lwjgl.opengl.Display.create(Display.java:797)
at com.base.engine.Window.createWindow(Window.java:25)
at com.longarmx.smplx.Main.main(Main.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)