bobjob
|
 |
«
Reply #30 - Posted
2010-11-17 04: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.
|
|
|
|
bobjob
|
 |
«
Reply #31 - Posted
2010-11-30 19: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.
|
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
fruitmaze
|
 |
«
Reply #33 - Posted
2011-01-24 13: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.
|
|
|
|
|
kappa
|
 |
«
Reply #34 - Posted
2011-01-24 17:48:40 » |
|
oh, nice bump mapped floor there 
|
|
|
|
|
bobjob
|
 |
«
Reply #35 - Posted
2011-02-10 23: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.
|
|
|
|
kappa
|
 |
«
Reply #36 - Posted
2011-02-11 00: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) |
|
|
|
|
|
bobjob
|
 |
«
Reply #37 - Posted
2011-02-11 00: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.
|
|
|
|
kappa
|
 |
«
Reply #38 - Posted
2011-02-11 00: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?
|
|
|
|
|
bobjob
|
 |
«
Reply #39 - Posted
2011-02-11 00: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.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
ra4king
|
 |
«
Reply #40 - Posted
2011-02-11 01: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
|
|
|
|
bobjob
|
 |
«
Reply #41 - Posted
2011-02-11 01: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. 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. 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.
|
|
|
|
indexunknown
|
 |
«
Reply #42 - Posted
2011-02-11 08: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.
|
|
|
|
|
gouessej
|
 |
«
Reply #43 - Posted
2011-02-11 13:55:13 » |
|
Intel 965/963 Graphics Media Accelerator
Lol buy a real graphics card rather than keeping this crap 
|
|
|
|
ra4king
|
 |
«
Reply #44 - Posted
2011-02-12 07:57:39 » |
|
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. 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.
|
|
|
|
bobjob
|
 |
«
Reply #45 - Posted
2011-02-13 03: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.
|
|
|
|
|
|
ra4king
|
 |
«
Reply #47 - Posted
2011-02-13 11:03:09 » |
|
that is exactly the screen i see (except with Aero turned on  )
|
|
|
|
DzzD
|
 |
«
Reply #48 - Posted
2011-02-13 11: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 ? )
|
|
|
|
Addictman
|
 |
«
Reply #49 - Posted
2011-02-13 11:20:33 » |
|
Awesome stuff. Got excellent FPS rates on all tests on my [monster] notebook.
|
|
|
|
|
bobjob
|
 |
«
Reply #50 - Posted
2011-02-13 11:50:04 » |
|
Awesome stuff. Got excellent FPS rates on all tests on my [monster] notebook. SWEET!  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.
|
|
|
|
indexunknown
|
 |
«
Reply #51 - Posted
2011-02-13 12: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.
|
|
|
|
|
Addictman
|
 |
«
Reply #52 - Posted
2011-02-13 12: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)
|
|
|
|
|
ra4king
|
 |
«
Reply #53 - Posted
2011-02-13 19: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) |
|
|
|
|
bobjob
|
 |
«
Reply #54 - Posted
2011-02-13 21:35:23 » |
|
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.
|
|
|
|
bobjob
|
 |
«
Reply #55 - Posted
2011-02-13 21: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.
|
|
|
|
indexunknown
|
 |
«
Reply #56 - Posted
2011-02-14 18: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
|
|
|
|
|
bobjob
|
 |
«
Reply #57 - Posted
2011-02-14 22:51:07 » |
|
but what about those OpenGL errors:
well spotted. Ok took care of those exceptions.
|
|
|
|
indexunknown
|
 |
«
Reply #58 - Posted
2011-02-14 23: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.
|
|
|
|
|
ra4king
|
 |
«
Reply #59 - Posted
2011-02-15 00: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.
|
|
|
|
|