AppleSauce
|
 |
«
Reply #60 - Posted
2014-06-21 22:01:49 » |
|
This is really cool! Is there any limit in the generated world?
|
|
|
|
Longarmx
|
 |
«
Reply #61 - Posted
2014-06-21 22:06:09 » |
|
This is really cool! Is there any limit in the generated world?
Technically, yes. I think that it is about 2 billion tiles in any direction though, so for all intents and purposes, no. Edit: Well, if you're curious, here's what it does if you stand at 2 31-1... 
|
|
|
|
BurntPizza
|
 |
«
Reply #62 - Posted
2014-06-21 22:08:22 » |
|
You'll likely run out of hard drive space before that too I'd imagine.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Longarmx
|
 |
«
Reply #63 - Posted
2014-06-21 22:14:47 » |
|
You'll likely run out of hard drive space before that too I'd imagine.
Actually, I don't save the chunks, so you're always generating them as you move around  I know, one more thing on the todo list.
|
|
|
|
NegativeZero
|
 |
«
Reply #64 - Posted
2014-06-21 22:27:47 » |
|
You'll likely run out of hard drive space before that too I'd imagine.
Actually, I don't save the chunks, so you're always generating them as you move around  I know, one more thing on the todo list. If you're not going to modifying the chunks at all, it may be best to not save them at all, instead just save the seed. Procedural generation has allowed a lot of gamedevs to do some really cool stuff in this way, for example The Elder Scrolls II: Daggerfall had one seed which generated the world which was twice the size of Great Britain and a population of 750,000 spread across 15,000 towns. People often confuse procedural generation with random generation, but you've got the chance here to use procedural generation to create yourself a world.
|
|
|
|
Coldstream24
|
 |
«
Reply #65 - Posted
2014-06-22 02:43:19 » |
|
I'd love to try this out but I'm getting this exception when I launch it:
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(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) Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) 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.<clinit>(Sys.java:112) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) at com.base.engine.Window.createWindow(Window.java:17) at com.longarmx.smplx.Main.main(Main.java:322) ... 5 more
Using the start.sh file with Terminal I get this: Error: Unable to access jarfile 3DWorld.jar
|
|
|
|
Slyth2727
|
 |
«
Reply #66 - Posted
2014-06-22 03:10:21 » |
|
*snip* Using the start.sh file with Terminal I get this: Error: Unable to access jarfile 3DWorld.jar
Get the LWJGL natives for your system and run it with this argument "-Djava.library.path='yourNativesFolder'"
|
|
|
|
Longarmx
|
 |
«
Reply #67 - Posted
2014-06-22 03:13:00 » |
|
You should start it with the provided start.sh. It will link the natives for you. I don't know why it can't access the jar file though. What system are you on? Here's the startup script for those who know anything about this: java -Djava.library.path="natives/" -jar 3DWorld.jar It runs for me on windows, with the exact same code in a .bat file. I'll look around for a solution.
|
|
|
|
Coldstream24
|
 |
«
Reply #68 - Posted
2014-06-22 03:15:39 » |
|
OK, it's because I wasn't starting Terminal from the right folder. It launches but crashes straight away and prints this:
Using Java Version: 1.7.0_25 Using OpenGL Version: 2.1 INTEL-8.26.34 ERROR: 0:1: '' : version '330' is not supported ERROR: 0:3: 'layout' : syntax error syntax error
|
|
|
|
Longarmx
|
 |
«
Reply #69 - Posted
2014-06-22 03:18:41 » |
|
Sorry, you must have opengl version 3.3 or newer to run. That's weird, it should have recognized that and told you. I might be able to scrape together a 2.1 version if you really want it 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Coldstream24
|
 |
«
Reply #70 - Posted
2014-06-22 03:19:25 » |
|
Nah, don't worry about it. It does seem a bit dodgy though, but it could be my drivers.
|
|
|
|
PandaMoniumHUN
|
 |
«
Reply #71 - Posted
2014-06-22 04:07:24 » |
|
Nah, don't worry about it. It does seem a bit dodgy though, but it could be my drivers.
Mesa 10 is out for quite some time now on linux, if you care enough to update your Mesa driver you should be able to try this out. About your game/app: I didn't give this a whirl yet but it does seem really nice, I will definitely try this out when I have the chance. 
|
My Blog | Jumpbutton Studio - INOP Programmer Can't stress enough: Don't start game development until you haven't got the basics of programming down! 
|
|
|
Coldstream24
|
 |
«
Reply #72 - Posted
2014-06-22 04:15:15 » |
|
Ah, I should have mentioned that I'm on OS X.
|
|
|
|
Longarmx
|
 |
«
Reply #73 - Posted
2014-06-23 19:45:46 » |
|
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  Edit: Whoops! Forgot to mention that I might change the name to Orbis.
|
|
|
|
orange451
|
 |
«
Reply #74 - Posted
2014-06-23 20:35:54 » |
|
My computer forgot how to run java from a batch file... This is fun.
|
|
|
|
Slyth2727
|
 |
«
Reply #75 - Posted
2014-06-23 22:40:30 » |
|
Mesa 10 is out for quite some time now on linux, if you care enough to update your Mesa driver you should be able to try this out. About your game/app: I didn't give this a whirl yet but it does seem really nice, I will definitely try this out when I have the chance.  I wouldn't look into Mesa drivers... At least for me, they've not had good performance.
|
|
|
|
orange451
|
 |
«
Reply #76 - Posted
2014-06-24 04:00:13 » |
|
When I run the batch as-is, nothing happens. When I change "start javaw" to "java" this happens: C:\Users\Andrew Hamilton\Desktop\3D World>cd data
C:\Users\Andrew Hamilton\Desktop\3D World\data>java -Djava.library.path="natives /" -jar 3DOrbisLauncher.jar 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(JarRsrcLoa der.java:58) Caused by: java.lang.RuntimeException: Application launch error at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:122) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsatisfiedLinkError: com.sun.glass.ui.win.WinApplication._ invokeLater(Ljava/lang/Runnable;)V at com.sun.glass.ui.win.WinApplication._invokeLater(Native Method) at com.sun.glass.ui.Application.invokeLater(Application.java:338) at com.sun.javafx.tk.quantum.QuantumToolkit.defer(QuantumToolkit.java:62 0) at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:17 3) at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java: 212) at com.sun.javafx.application.PlatformImpl.tkExit(PlatformImpl.java:320)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm pl.java:421) at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java: 47) at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115) ... 1 more
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  I get 49 fps; which is quite odd as there really isn't anything that intensive going on.
|
|
|
|
Longarmx
|
 |
«
Reply #77 - Posted
2014-06-24 04:25:51 » |
|
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.
|
|
|
|
Coldstream24
|
 |
«
Reply #78 - Posted
2014-06-24 08:55:50 » |
|
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?
|
|
|
|
Longarmx
|
 |
«
Reply #79 - Posted
2014-06-24 14:17:59 » |
|
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.
|
|
|
|
Coldstream24
|
 |
«
Reply #80 - Posted
2014-06-25 09:55:57 » |
|
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?
|
|
|
|
_james_h
|
 |
«
Reply #81 - Posted
2014-06-25 22:01:03 » |
|
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.<clinit>(Sys.java:112) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) at com.base.engine.Window.createWindow(Window.java:20) at com.longarmx.smplx.Main.main(Main.java:295) ... 5 more
|
|
|
|
Longarmx
|
 |
«
Reply #82 - Posted
2014-06-25 22:05:45 » |
|
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: cd data start javaw -Djava.library.path="natives/" -jar 3DOrbisLauncher.jar Coldstream24: Thank you for your feedback. This bug should be fixed in the next version.
|
|
|
|
bogieman987
|
 |
«
Reply #83 - Posted
2014-06-25 22:17:17 » |
|
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 
|
|
|
|
Longarmx
|
 |
«
Reply #84 - Posted
2014-06-25 22:23:40 » |
|
Thanks for trying it! Left shift for slow walk, makes me go down slowly when in fly mode.
This is intended  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. Zooming in causes the skybox to no longer render.
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. And there's inconsistency with the generation when you change the settings and generate more mesh.
Thanks for this. It should be fixed in the next update. Once again, thank you for your feedback 
|
|
|
|
LiquidNitrogen
|
 |
«
Reply #85 - Posted
2014-06-25 22:26:42 » |
|
I couldnt get this to work on windows, it just ends up doing nothing, but still having the javaw process running in the background.
|
|
|
|
Longarmx
|
 |
«
Reply #86 - Posted
2014-06-25 22:28:35 » |
|
Could you change the .bat file to say instead of to get the error message?  What java version do you have?
|
|
|
|
|
Longarmx
|
 |
«
Reply #88 - Posted
2014-06-25 22:39:34 » |
|
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)
|
|
|
|
LiquidNitrogen
|
 |
«
Reply #89 - Posted
2014-06-25 22:44:42 » |
|
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.
|
|
|
|
|