Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (516)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (577)
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
  ignore  |  Print  
  Online Video Card Benchmark Test (WIP)  (Read 80354 times)
0 Members and 1 Guest are viewing this topic.
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #30 - Posted 2010-11-17 03:11:33 »

How did you do the unsigned applet with hardware acceleration?
Its signed with a trusted certificate. You may hava already clicked "run" once when "always trust" was ticked, on another 1 of my applets, or you have ran this one previously.


Changed the water shader demo so that the camera pans.
Added a time limit to each test.
Fixed full page demo so that it doesnt run at maximum frame rate.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #31 - Posted 2010-11-30 18:30:18 »

I added another test, just a simple Map loader that I ported from my RTS.

I find it looks alot better when running the fullpage version.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #32 - Posted 2011-01-24 09:42:49 »

Added a youtube video for this version



My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline fruitmaze
« Reply #33 - Posted 2011-01-24 12:38:23 »

Wow! Runs really nice and it looks awesome! Are you going to create a game using this graphics, or have you already done that? I love the first test with the light effects.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #34 - Posted 2011-01-24 16:48:40 »

oh, nice bump mapped floor there Smiley
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #35 - Posted 2011-02-10 22:24:36 »

Are you going to create a game using this graphics, or have you already done that?
Yeah I am working on improving some older games, as well as working on some new small projects




Added another test called "EntityTest" it is using a model that I got from Riste Sekuloski.



ALSO NEED SOME HELP!
Im currently trying to make a good way to handle shadows in a 3rd a person game, my RTS shadows are all static, which doesnt work well for this sort of thing.
If anyone has some good ideas in regards to handling this please give me some advise.
Currently this is what I will be doing. using both a projected texture and a shadow map. the projected texture will be the same as the shadow map except it will be the scene from the light source rendered in black with white Fog (Ill get the textures after a single pass). To simulate attenuation: Ill use this texture map as a texture mask, when redering the scene using only diffuse lighting.
Which means Ill use two shaders: one for ambient lighting/height map and another for normal/specular lighting.

Passes required:
for areas that have no lighting, just a single pass for ambient lighting.
for each light at least 2 passes (for spot light/sun light) plus 2 calls for each texture copy, on each tile region.
A was thinking that I will be using cascaded shadow maps.

If anyone knows a better way to handle 3D shadows in a reasonable way, feel free to share some ideas. Im not sure how many light sources my game will use, but In case there is alot, this seems like a good way to handle unlimited lights. The way I have described will look very polished, which is nice inside a web page, but I also understand that it can kill the video card, granted I will allow the disabling of shadows, but it would be nice if everyone could get into the atmosphere of the game.


My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #36 - Posted 2011-02-10 23:07:34 »

look nice but fails to work here.

Get this in the java console
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  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
Java Plug-in 1.6.0_23
Using JRE version 1.6.0_23-b05 Java HotSpot(TM) 64-Bit Server VM
User home directory = /home/user

----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

java.io.FileNotFoundException: /tmp/have2chat.net/benchmark.jar.pack.lzma (Permission denied)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
   at loader.j.c(Unknown Source)
   at loader.j.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
   at loader.i.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.NullPointerException
   at loader.d.run(Unknown Source)
java.io.FileNotFoundException: /tmp/have2chat.net/benchmark.jar.pack.lzma (Permission denied)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
   at loader.j.c(Unknown Source)
   at loader.j.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
   at loader.i.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.NullPointerException
   at loader.d.run(Unknown Source)

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #37 - Posted 2011-02-10 23:23:01 »

look nice but fails to work here.

As always, Thanks kappa for helping me debug it.

Thats a strange error, I cant replicate it, ill try it on a few other computers, see what I get.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #38 - Posted 2011-02-10 23:26:16 »

odd thing is why is it looking in "/tmp/have2chat.net/benchmark.jar.pack.lzma"
wasn't the default linux cache directory moved to "~/.java/deployment/cache/*"
or are you maybe still using an old customised verion of the appletloader?
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #39 - Posted 2011-02-10 23:32:53 »

odd thing is why is it looking in "/tmp/have2chat.net/benchmark.jar.pack.lzma"
wasn't the default linux cache directory moved to "~/.java/deployment/cache/*"
or are you maybe still using an old customised verion of the appletloader?
Iv been modifying the applet along with changes made in the LWJGL applet loader. But I havnt really changed the linux code, as I cant debug it, current no linux install on my PC.


My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 353
Projects: 3
Exp: 5 years


I'm the King!


« Reply #40 - Posted 2011-02-11 00:24:28 »

Very nice graphics and animations!
Where could I learn how to make 3D graphics and animation like that?

Also, in the Water Shader test, I can't see any water. All I see is a boat and whale hanging in mid-air.
And the Sky Box test doesn't work either.

Intel 965/963 Graphics Media Accelerator
using Windows 7 x64

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #41 - Posted 2011-02-11 00:34:53 »

Very nice graphics and animations!
Where could I learn how to make 3D graphics and animation like that?
Current this is just stuff I have programmed using LWJGL. you can start with the NEHE tutorials to get a solid understanding of how OpenGL works.
I have been considering packaging my classes into a library for people to use, as a utility library, similar to slick but for 3D apps. So each class will be self contained, and wont require other parts of the package. Something that will be more of assistance to LWJGL developers rather than people who want to use a scene graph.

Quote
Also, in the Water Shader test, I can't see any water. All I see is a boat and whale hanging in mid-air.
And the Sky Box test doesn't work either.
Is any error details printed in the Java console?
It may be due to the fact that the water shader has a few to many textures passed to it.
also, does that entityTest work fine? can you see the correct colors and shading?
Currently I havn't implemented a skybox test.

Quote
Intel 965/963 Graphics Media Accelerator
using Windows 7 x64
you may want to check if the latest drivers are installed. But Intel graphics cards are known for not being the best when it comes to openGL.



My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline indexunknown

Junior Duke





« Reply #42 - Posted 2011-02-11 07:21:45 »

I don't see water in the water test either.
I have a Radeon 3650 HD AGP card, catalyst 10.4 drivers.
Every test runs very fast, always 200+ fps, i have windows 7 now but if i remember when i tried it on XP then the particle test stuttered and other tests were also slower.
don't know if it's because code has changed or is win 7 really a better OS.
Offline gouessej
« Reply #43 - Posted 2011-02-11 12:55:13 »

Intel 965/963 Graphics Media Accelerator
Lol buy a real graphics card rather than keeping this crap  Grin

Offline ra4king

JGO Kernel


Medals: 353
Projects: 3
Exp: 5 years


I'm the King!


« Reply #44 - Posted 2011-02-12 06:57:39 »

Quote
Also, in the Water Shader test, I can't see any water. All I see is a boat and whale hanging in mid-air.
And the Sky Box test doesn't work either.
Is any error details printed in the Java console?
It may be due to the fact that the water shader has a few to many textures passed to it.
also, does that entityTest work fine? can you see the correct colors and shading?
Currently I havn't implemented a skybox test.
No error is printed in the console.
And Entity Test works fine with all colors and shading showing up exactly like your earlier image.

Quote
Intel 965/963 Graphics Media Accelerator
using Windows 7 x64
you may want to check if the latest drivers are installed. But Intel graphics cards are known for not being the best when it comes to openGL.
I'm always up to date with all my drivers.

And sorry for the crappy graphics card, I'm using a very crappy laptop and my parents can't afford a better one.

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #45 - Posted 2011-02-13 02:06:38 »

Im assuming the problem is a silent FBO error, in which case i made a sort of hack to test for it.

can someone who couldn't see the water shader please try the test again.

Also for the older intel cards, and computers. Its best to run the fullpage version. As it will give a better indicater of how game play is with a capped framerate.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline indexunknown

Junior Duke





« Reply #46 - Posted 2011-02-13 10:01:40 »

Offline ra4king

JGO Kernel


Medals: 353
Projects: 3
Exp: 5 years


I'm the King!


« Reply #47 - Posted 2011-02-13 10:03:09 »

that is exactly the screen i see (except with Aero turned on Tongue )

Offline DzzD
« Reply #48 - Posted 2011-02-13 10:11:17 »

How did you do the unsigned applet with hardware acceleration?
this is a signed Applet, you should have seen the security popup ( maybe you have a wrong policy file ? )

Offline Addictman

Senior Duke


Medals: 3
Projects: 1


Java games rock!


« Reply #49 - Posted 2011-02-13 10:20:33 »

Awesome stuff. Got excellent FPS rates on all tests on my [monster] notebook.
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #50 - Posted 2011-02-13 10:50:04 »

Awesome stuff. Got excellent FPS rates on all tests on my [monster] notebook.
SWEET! Cheesy

I really dont know what the shader problem is. Its not reporting a fault in the fragment/vertex program. So I dont think its the shaders.
I check for needed texture units.

I just added a test to check maximum texture size. hopefully that is it, Im really out of ideas. And on that note off to work.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline indexunknown

Junior Duke





« Reply #51 - Posted 2011-02-13 11:11:23 »

still doesn't work and on console has the same 2 .glm files loaded lines. The test worked fine last year when i had XP but now it doesn't  on windows 7.
Offline Addictman

Senior Duke


Medals: 3
Projects: 1


Java games rock!


« Reply #52 - Posted 2011-02-13 11:41:49 »

My notebook specs where everything worked splendidly (if it's any help):

Notebook: Lenovo Thinkpad W510 (with touchscreen, yah!)
Processor: Intel(R) Core(TM) i7 CPU   X 920 @ 2.00GHz 2.00 GHz
Installed memory (RAM): 12,0 GB
OS: Windows 7 Enterprise (64-bit)
Display adapter: NVIDIA Quadro FX 880M (Driver version: 8.17.12.6658) (1GB Dedicated video memory, Total available: 4GB) DirectX Support: 10.1
Resolution: 1920*1080
Java version: 1.6.0_23 (64-bit)

Offline ra4king

JGO Kernel


Medals: 353
Projects: 3
Exp: 5 years


I'm the King!


« Reply #53 - Posted 2011-02-13 18:38:15 »

This is the error I get in the console when I click on Water Shader:

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  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
java.lang.NullPointerException
   at org.lwjgl.openal.ALC10.alcDestroyContext(ALC10.java:361)
   at org.lwjgl.openal.AL.destroy(AL.java:210)
   at org.lwjgl.openal.AL.init(AL.java:175)
   at org.lwjgl.openal.AL.create(AL.java:138)
   at org.lwjgl.openal.AL.create(AL.java:102)
   at org.lwjgl.openal.AL.create(AL.java:201)
   at engine.shell.b.<init>(Unknown Source)
   at engine.shell.MainThread.mainLoop(Unknown Source)
   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 loader.d.run(Unknown Source)
java.lang.NullPointerException
   at org.lwjgl.openal.ALC10.alcDestroyContext(ALC10.java:361)
   at org.lwjgl.openal.AL.destroy(AL.java:210)
   at org.lwjgl.openal.AL.init(AL.java:175)
   at org.lwjgl.openal.AL.create(AL.java:138)
   at org.lwjgl.openal.AL.create(AL.java:102)
   at org.lwjgl.openal.AL.create(AL.java:201)
   at engine.shell.b.<init>(Unknown Source)
   at engine.shell.MainThread.mainLoop(Unknown Source)
   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 loader.d.run(Unknown Source)







java.lang.RuntimeException: FrameBuffer: 1, has caused a GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT exception
   at engine.shell.b.g.a.a(Unknown Source)
   at engine.shell.b.b.a(Unknown Source)
   at engine.shell.d.updateInput(Unknown Source)
   at engine.shell.MainThread.mainLoop(Unknown Source)
   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 loader.d.run(Unknown Source)
java.lang.RuntimeException: FrameBuffer: 2, has caused a GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT exception
   at engine.shell.b.g.a.b(Unknown Source)
   at engine.shell.b.g.a.a(Unknown Source)
   at benchmark.a.b.a.a(Unknown Source)
   at benchmark.BenchmarkCommon.draw3D(Unknown Source)
   at engine.shell.MainThread.mainLoop(Unknown Source)
   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 loader.d.run(Unknown Source)

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #54 - Posted 2011-02-13 20:35:23 »

Quote
My notebook specs where everything worked splendidly (if it's any help):
I would find it hard to believe that anything wouldnt work splendidly, on those specs. For some strange reason I now want a new laptop.

This is the error I get in the console when I click on Water Shader:

1  
2  
java.lang.NullPointerException
at org.lwjgl.openal.ALC10.alcDestroyContext(ALC10.java:361)

thats actually an exception in the music. Something wrong with the slick music player.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #55 - Posted 2011-02-13 20:40:01 »

still doesn't work and on console has the same 2 .glm files loaded lines. The test worked fine last year when i had XP but now it doesn't  on windows 7.
I have not really changed much of the water shader test. This is really puzzling.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline indexunknown

Junior Duke





« Reply #56 - Posted 2011-02-14 17:41:05 »

This is the error I get in the console when I click on Water Shader:

1  
2  
java.lang.NullPointerException
at org.lwjgl.openal.ALC10.alcDestroyContext(ALC10.java:361)

thats actually an exception in the music. Something wrong with the slick music player.
but what about those OpenGL errors:
36: java.lang.RuntimeException: FrameBuffer: 1, has caused a GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT exception
and
46: java.lang.RuntimeException: FrameBuffer: 2, has caused a GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT exception
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #57 - Posted 2011-02-14 21:51:07 »

but what about those OpenGL errors:
well spotted. Ok took care of those exceptions.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline indexunknown

Junior Duke





« Reply #58 - Posted 2011-02-14 22:13:13 »

still no water and i think you should also add a visible version string, because i don't know if i get the latest version.
Offline ra4king

JGO Kernel


Medals: 353
Projects: 3
Exp: 5 years


I'm the King!


« Reply #59 - Posted 2011-02-14 23:46:36 »

Ok I went and clicked on Water Shader again and this is what I got in the console:
1  
2  
FrameBuffer: 1, has caused a GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT exception
FrameBuffer: 2, has caused a GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT exception

This time it is not a stack trace.

Pages: 1 [2] 3
  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.

TehJavaDev (33 views)
2014-10-27 03:28:38

TehJavaDev (26 views)
2014-10-27 03:27:51

DarkCart (41 views)
2014-10-26 19:37:11

Luminem (22 views)
2014-10-26 10:17:50

Luminem (27 views)
2014-10-26 10:14:04

theagentd (33 views)
2014-10-25 15:46:29

Longarmx (61 views)
2014-10-17 03:59:02

Norakomi (58 views)
2014-10-16 15:22:06

Norakomi (47 views)
2014-10-16 15:20:20

lcass (43 views)
2014-10-15 16:18:58
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!