3D Randomly Generated World

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)

After googling around, it seems like everything is saying to update your drivers unfortunately :frowning:

Update 0.0.5.2! Download is in the OP.

[Latest Update]

  • Water!
  • Performance greatly improved
  • You can now launch directly from data/launch_direct (if the launcher isn’t working for you)
  • VSync option in the launcher
  • Increased available display dimensions
  • Added more debug information

[Controls Added]

  • n & m - decrease or increase the water quality (Warning: very taxing)
  • j & k - decrease or increase the water wave height

I plan on making a video soon to show off the water :slight_smile:

Warning: Using launch_direct will not perform preliminary checks on your system for Opengl version and may crash. Requires version 3.3

Video is here!

-RdZxfQ3i6s

You may notice in the video that the water is a bit different. Yeah… specular reflection is now fixed. This will be included in the next update.

I also play around with the world generation settings, to show those who don’t want to / can’t run it.

Water looks nice, but the waves seem a bit fast and the surface doesn’t really change much. It would be cool if you could get it to reflect the skybox to make it look more realistic. Also, the water’s texture doesn’t seem to move when the edges do so it just looks like a static blue blob that expands/contracts. Still, very nice work.

EDIT: I just had a thought. You could also expand the water to reflect a sun (if you add one) which would be really, really great. Another thing, what if you could apply a random generation technique to generate clouds in the sky? Then you could also have things like sunrise/sunset and clouds (and sunrise/sunset looks amazing with all the colours and streaks through the sky and clouds). I feel like this project has the potential to end up looking really beautiful.

Looking good! This has gone a long way from where you started!