Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  LWJGL is working again  (Read 2174 times)
0 Members and 1 Guest are viewing this topic.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Posted 2006-10-02 02:12:40 »

I fixed the LWJGL renderer to work again. It has nearly absolute the same code like the JOGL renderer code except the differences gl.bla() -> GL11.bla().

I tested it with the standard camera flight in the Q3 level. It is about 9% slower than JOGL (or JOGL 9% faster than LWJGL).

But one thing annoys me: Doesn't it support F1-F12 keys?

Marvin
Offline renanse

Junior Member




Intelligence is light to a dark world.


« Reply #1 - Posted 2006-10-02 05:29:55 »

Interestingly enough, when I run the bsp loader test and switch Canvas3DWrapper's default OpenGLLayer to LWJGL, I get a 33% boost to my frame rate.  I do spot some issues such as texture filtering looks wrong in the lwjgl version.

Renanse  (ruh-NON-say)
Offline renanse

Junior Member




Intelligence is light to a dark world.


« Reply #2 - Posted 2006-10-02 05:30:37 »

Also, LWJGL does indeed support the function keys...  we use them all the time in jME.

Renanse  (ruh-NON-say)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #3 - Posted 2006-10-02 05:37:37 »

Interestingly enough, when I run the bsp loader test and switch Canvas3DWrapper's default OpenGLLayer to LWJGL, I get a 33% boost to my frame rate.  I do spot some issues such as texture filtering looks wrong in the lwjgl version.

Strange Huh. You don't need to modify the code for this. Just start org.xith3d.test.Xith3DTestStarter and select your desired mode Wink.

Marvin
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #4 - Posted 2006-10-02 05:39:49 »

Also, LWJGL does indeed support the function keys...  we use them all the time in jME.

What about the field org.lwjgl.input.Keyboard.KEYBOARD_SIZE? It returns a value that doesn't seem to include the function keys.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #5 - Posted 2006-10-02 06:03:27 »

...I get a 33% boost to my frame rate.

Then please do the benchmarks with LWJGL Wink.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 605
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2006-10-02 14:35:25 »

If you get a 33% boost by switching bindings, you're probably way over 300fps, which probably means it's maybe 1ms per frame faster.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #7 - Posted 2006-10-02 14:47:44 »

Maybe LWJGL runs a lot faster on Windows Huh
Offline renanse

Junior Member




Intelligence is light to a dark world.


« Reply #8 - Posted 2006-10-02 14:54:44 »

Well, it's a difference between about 150 FPS and 200 FPS.  Getting 50 additional frames per second is nothing to sneeze at.

Renanse  (ruh-NON-say)
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #9 - Posted 2006-10-02 18:38:30 »

Well, it's a difference between about 150 FPS and 200 FPS.  Getting 50 additional frames per second is nothing to sneeze at.
If you had a Geforce MX 440 SE, then yeah, gaining 50 FPS would be a thing to sneeze at  Grin Grin

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline cylab

JGO Knight


Medals: 34



« Reply #10 - Posted 2006-10-02 23:11:37 »

Maybe LWJGL runs a lot faster on Windows Huh
I doubt that. Both frameworks are equally fast regarding OpenGL, but maybe you should start the test with -Dsun.java2d.noddraw=true, since direct draw causes problems with jogl.

Mathias - I Know What [you] Did Last Summer!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (12 views)
2014-04-15 18:08:23

BurntPizza (10 views)
2014-04-15 03:46:01

UprightPath (23 views)
2014-04-14 17:39:50

UprightPath (10 views)
2014-04-14 17:35:47

Porlus (27 views)
2014-04-14 15:48:38

tom_mai78101 (49 views)
2014-04-10 04:04:31

BurntPizza (107 views)
2014-04-08 23:06:04

tom_mai78101 (207 views)
2014-04-05 13:34:39

trollwarrior1 (176 views)
2014-04-04 12:06:45

CJLetsGame (182 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
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!