Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (546)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3] 4 5 ... 15
  ignore  |  Print  
  Wurm Online  (Read 95500 times)
0 Members and 1 Guest are viewing this topic.
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #60 - Posted 2003-07-22 12:14:17 »

Quote
I'd need to z-sort everything each frame, and there can be up to a thousand trees and a thousand "grasspatches" in view at the same time..

That's 4000 multiplications and 2000 sqrts.  :-/


I'm not sure exactly what is happening in this case.. but wonder if for sorting purposes you can compare distance squared instead of distance.. thus avoiding a square root calculation.

Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #61 - Posted 2003-07-22 12:17:42 »

Ah, yes, of course. Doh.


My fps drops from ~45 to ~30 when I'm sorting the grass and rendering it blended. And it doesn't really look that good.

Play Minecraft!
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #62 - Posted 2003-07-22 12:19:23 »

Quote
/me is jealous of all others being able to see this beautiful world

Maybe I should pray to "Nick" so that he fixes the linux bug by some of his "godly powers" Grin


The other linux user who used to get the same error as you claims it works for him.. I'm not sure if he's just bluffing to get away from bugtesting for me, or if he's telling the truth. Wink

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline AndersDahlberg

Junior Member





« Reply #63 - Posted 2003-07-22 12:24:38 »

Hehe  Grin

Well, it's exactly the same bug as the first time - just that it worked in version ?0.13?. Very strange -
if you could ask him what version of java he's using and what driver (ati card maybe?)

I've got 1.4.2 and nvidia's latest (geforce2 mx) - could that be something?

i.e.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
Java Web Start 1.4.2 Konsol, startades Tue Jul 22 15:54:03 CEST 2003
Java 2 Runtime Environment: Version 1.4.2 av Sun Microsystems Inc.
Loggar till filen: /home/anders/log.txt
Startup
Startupped
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.wurmonline.client.WurmClient.clientTick(WurmClient.java:243)
        at com.wurmonline.client.WurmClient.run(WurmClient.java:191)
        at com.wurmonline.client.WurmClient$4.run(WurmClient.java:299)
Caused by: net.java.games.jogl.GLException: Error making context current
        at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:138)
        at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:108)
        at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:156)
        at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:179)
        at net.java.games.jogl.GLCanvas.display(GLCanvas.java:84)
        at com.wurmonline.client.WurmClient$3.run(WurmClient.java:247)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Linux
java.lang.NullPointerException
        at com.wurmonline.client.gui.WorldView.gameTick(WorldView.java:557)
        at com.wurmonline.client.WurmClient.gameTick(WurmClient.java:234)
        at com.wurmonline.client.WurmClient.run(WurmClient.java:215)
        at com.wurmonline.client.WurmClient$4.run(WurmClient.java:299)
[anders@mlundburken anders]$


Could it be that it's using an old, cached, version of jogl?

I'll try removing all javaws cache I can find and try again Sad

EDIT: no success Sad
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #64 - Posted 2003-07-22 12:31:14 »

The "solution" to the problem last time was to force the awt dispatch thread to do all opengl rendering.
Doing that also fixed an occational crash that happened when I was moving a JWindow while the opengl window was repainting.

I'll add some random sanity checking. =/

Play Minecraft!
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #65 - Posted 2003-07-22 12:43:19 »

ok, it System.out what thread is going in there in the first place now, and I pushed some random code around.

Play Minecraft!
Offline AndersDahlberg

Junior Member





« Reply #66 - Posted 2003-07-22 13:06:13 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
Java Web Start 1.4.2 Konsol, startades Tue Jul 22 17:02:01 CEST 2003
Java 2 Runtime Environment: Version 1.4.2 av Sun Microsystems Inc.
Loggar till filen: /home/anders/log.txt
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.wurmonline.client.WurmClient.clientTick(WurmClient.java:258)
        at com.wurmonline.client.WurmClient.run(WurmClient.java:206)
        at com.wurmonline.client.WurmClient$5.run(WurmClient.java:314)
Caused by: net.java.games.jogl.GLException: Error making context current
        at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:138)
        at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:108)
        at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:156)
        at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:179)
        at net.java.games.jogl.GLCanvas.display(GLCanvas.java:84)
        at com.wurmonline.client.WurmClient$4.run(WurmClient.java:262)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Linux
java.lang.NullPointerException
        at com.wurmonline.client.gui.WorldView.gameTick(WorldView.java:557)
        at com.wurmonline.client.WurmClient.gameTick(WurmClient.java:249)
        at com.wurmonline.client.WurmClient.run(WurmClient.java:230)
        at com.wurmonline.client.WurmClient$5.run(WurmClient.java:314)
[anders@mlundburken anders]$


Strangely familiar! (and, yes, I downloaded and played, ehrm, tried to play, the new version) Grin

EDIT: I'm starting to believe my machine is in the twilight zone or something Smiley
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #67 - Posted 2003-07-22 14:23:47 »

Quote
For me it connects to the server, the screen goes blood red, and the error messages state "GL: Invalid Enumerant (1280)".


This same thing happens on my ATI mobility. The only difference is that the screen actually shows normally instead of blood red. I get 1 fps and the "GL: Invalid Enumerant (1280)" error over and over.

Are you using a pixel shader or some other later GL/NVidia feature?

Java Game Console Project
Last Journal Entry: 12/17/04
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #68 - Posted 2003-07-22 14:28:06 »

Another person who got that "GL: Invalid Enumerant (1280)" (he was running an  ATi card) thing fixed it by updrading his drivers.

Wurm needs OpenGL 1.4.

I think I'll add a check on startup. Wink

Play Minecraft!
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #69 - Posted 2003-07-22 14:51:25 »

There, it won't start without OpenGL 1.4 now.

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #70 - Posted 2003-07-22 22:58:40 »

AndersDahlberg: Mind trying again? I just made some heavy rewrites.

I'm now using the Animator, like you're supposed to, and I upgraded to the latest version of Jogl.

Play Minecraft!
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #71 - Posted 2003-07-23 01:35:00 »

Quote
There, it won't start without OpenGL 1.4 now.


What did you do? It works now. Although the grass can slow it down quite a bit at times. The highest FPS I got was 51, and the lowest was 14. This was in a 800x600 window on my NVidia.

Java Game Console Project
Last Journal Entry: 12/17/04
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #72 - Posted 2003-07-23 08:22:26 »

Nothing specific, really.. A minor code overhaul, where I fixed most of the things I was telling myself I'd fix "sometime later, it's not important".

Play Minecraft!
mbw
Guest
« Reply #73 - Posted 2003-07-23 08:38:28 »

That rocks !!!!

mouselook would be great, to watch the nightly sky  Wink

Greets !


Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #74 - Posted 2003-07-23 08:43:59 »

Yeah, as soon as the entire team gets back from vacations and so next week, we're going to sit down and discuss the client ui.

The way it works now, with having to focus the canvas to move, and the "messages"-frame to chat and so is just not working.


Btw, you can look up and down with home and end on the numpap. Wink

Play Minecraft!
Offline AndersDahlberg

Junior Member





« Reply #75 - Posted 2003-07-23 12:56:12 »

hehe:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
Java Web Start 1.4.2 Konsol, startades Wed Jul 23 16:52:16 CEST 2003
Java 2 Runtime Environment: Version 1.4.2 av Sun Microsystems Inc.
Loggar till filen: /home/anders/log.txt
net.java.games.jogl.GLException: Error making context current
      at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:141)
      at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
      at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
      at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:196)
      at net.java.games.jogl.GLCanvas.display(GLCanvas.java:91)
      at net.java.games.jogl.Animator$1.run(Animator.java:104)
      at java.lang.Thread.run(Unknown Source)


Now I don't get a NPE, just the above stack-trace and a black window.

Looks more and more like a jogl bug?
EDIT: a black window with a message box Smiley
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #76 - Posted 2003-07-23 16:01:38 »

Yeah, I cleaned up most errors caused by other errors and so..

And, yeah, it does seem more and more like a jogl "bug". =/

Play Minecraft!
Offline EgonOlsen
« Reply #77 - Posted 2003-07-24 20:31:43 »

Quote
There, it won't start without OpenGL 1.4 now.
Great! It doesn't work anymore on my system. I've the latest drivers for my ATI Radeon9700pro installed (Catalyst 3.6) but it keeps telling me that i have OpenGL1.3.3842 and that i need 1.4. Anything else i can do?

Offline Philly

Senior Newbie




Java3D is cool!!!


« Reply #78 - Posted 2003-07-24 20:39:02 »

One of the last times I tired it, it downloaded OpenGL 1.4 for me
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #79 - Posted 2003-07-24 20:44:25 »

Yeah, wait for ATI to get their act together. Wink


Seriously, I added a "skip OpenGL version check" option, to let people who "almost" have opengl 1.4 to still play. Smiley

That option will most likely be removed towards release.

Play Minecraft!
Offline EgonOlsen
« Reply #80 - Posted 2003-07-24 20:58:09 »

Quote
Yeah, wait for ATI to get their act together. Wink

Seriously, I added a "skip OpenGL version check" option, to let people who "almost" have opengl 1.4 to still play. Smiley

That option will most likely be removed towards release.
Thanx, it works fine now (after disabling the check) and runs @ 30-40fps with everything maxed. Just make the version check a choice-dialog, where it's telling me that i should not continue, but i may do so anyway. I hate it, when applications are telling me what i should have and do and not giving me the option to say: "I really don't care...continue!"

Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #81 - Posted 2003-07-24 21:03:01 »

Good suggestion!
When I remove the checkbox in the options, that's what I'll do.

Play Minecraft!
Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #82 - Posted 2003-07-29 00:13:55 »

Get the OSX version working. That is all Smiley

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #83 - Posted 2003-07-29 06:37:57 »

sure, if I find someone insane enough to run osx. Wink

Play Minecraft!
Offline kevglass

JGO Kernel


Medals: 152
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #84 - Posted 2003-07-29 06:40:09 »

And that has the developer preview of 10.3 Smiley

What are the chances of people paying for upgrades to the later version anyway?

Kev

Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #85 - Posted 2003-07-29 07:54:36 »

I just realized the .jnlp for Wurm doesn't even support osx yet. I'll have to look around for some examples.

Play Minecraft!
Offline Mojomonkey

Senior Member




ooh ooh eee eeee


« Reply #86 - Posted 2003-07-29 10:17:12 »

Quote
And that has the developer preview of 10.3 Smiley

What are the chances of people paying for upgrades to the later version anyway?

Kev


Chances are pretty good. Same as who upgrades from win98 to win2k to winXP etc. This are not just minor os patches, these are major upgrades. Apple just chose to keep the 10 as the release number.

Secondly, Jaguar (10.2) was the same (reported) price as panther (10.3) and now it's required for a lot of programs. I'd say a majority of users have upgraded now.

Don't send a man to do a monkey's work.
Offline kevglass

JGO Kernel


Medals: 152
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #87 - Posted 2003-07-29 10:30:38 »

Is this really true? If so, you've put a bunch of my fears to rest.

Thanks Monkey,

Kev

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #88 - Posted 2003-07-29 13:25:28 »

I keep reading in Mac World from whiners that write in saying they like the Classic OS 9 environment.. clueless dolts!
I know that 10.2 is required for a lot of things and was apparently quite a significant upgrade.  I think the cost is $99 US to upgrade.. not too much considering what you get.  But the Apple users seem to be very finicky if you ask me.  They are split over the whole OS X/Classic thing.. I suspect most of them see the huge leaps forward that is OS X.. it is just a vocal minority that get upset over such silly things as the trash can icon moving to the dock.

Unfortunately the Mac market is still small enough that it hardly matter if they upgraded to 10.3 or not.. they will still represent a tiny percentage of your users Sad..   I think a lot more people would be running OS X if Macs were a bit cheaper.  But after 'switching' I can definitely say "you get what you pay for".. even though the graphics performance in Java 1.4 on Mac needs  a good dose of optimizations.

Anyway I know that I will be upgrading to Panther when it becomes available, sometime this fall - September is what I've heard.

Offline AndersDahlberg

Junior Member





« Reply #89 - Posted 2003-07-29 20:12:21 »

Yay, your game runs ok on my home computer (I've been on a long vacation Smiley!

Almost spooky walking around the forrest - the trees look angry (noticed the "evil" faces they have if you view them from a certain angle? Grin

10+ fps when all maxed out and walking in heavy forrest - otherwise ~20-30 fps (even higher when swimming Smiley

running at 1024x768 because it looks like when it tries to change display mode it selects a very high refresh rate (150hz) which my monitor can't handle.

900mhz athlon
geforce 2mx
win2k + java 1.4.2
Pages: 1 2 [3] 4 5 ... 15
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

atombrot (20 views)
2014-08-19 09:29:53

Tekkerue (21 views)
2014-08-16 06:45:27

Tekkerue (21 views)
2014-08-16 06:22:17

Tekkerue (12 views)
2014-08-16 06:20:21

Tekkerue (19 views)
2014-08-16 06:12:11

Rayexar (55 views)
2014-08-11 02:49:23

BurntPizza (37 views)
2014-08-09 21:09:32

BurntPizza (28 views)
2014-08-08 02:01:56

Norakomi (35 views)
2014-08-06 19:49:38

BurntPizza (65 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!