Amos Wenger
|
 |
«
Posted
2006-11-01 18:29:32 » |
|
When I render the skybox in my game, it hides everything else (except the HUD which is in a separate pass).
I think the render order is wrong.. Marvin could you fix that ?
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
Marvin Fröhlich
|
 |
«
Reply #1 - Posted
2006-11-01 19:16:49 » |
|
When I render the skybox in my game, it hides everything else (except the HUD which is in a separate pass).
I think the render order is wrong.. Marvin could you fix that ?
I'll have a look. But what about the MD2Test. There is a Skybox used. And it doesn't hide the MD2Model, does it? Marvin
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #2 - Posted
2006-11-03 02:39:15 » |
|
I checked the MD2Test. It doesn't hide the model nor the floor. Could you please provide me an example where the skybox hides something.
Marvin
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
rafa_es
|
 |
«
Reply #3 - Posted
2006-11-03 14:58:42 » |
|
Hi Marvin,
If you still have my code, this problem occurs there.
If you don't have it anymore, i can send you again.
Rafael
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #4 - Posted
2006-11-03 15:07:10 » |
|
If you still have my code, this problem occurs there.
If you don't have it anymore, i can send you again.
Please send me again. Marvin
|
|
|
|
|
rafa_es
|
 |
«
Reply #5 - Posted
2006-11-03 15:12:01 » |
|
|
|
|
|
|
rafa_es
|
 |
«
Reply #6 - Posted
2006-11-03 15:28:55 » |
|
Marvin, when you run it please see if you got this error 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| java.io.IOException: mark/reset not supported at java.util.zip.InflaterInputStream.reset(InflaterInputStream.java:262) at java.io.FilterInputStream.reset(FilterInputStream.java:204) at org.xith3d.loaders.texture.TextureStreamLocatorZip.cacheNames(TextureStreamLocatorZip.java:106) at org.xith3d.loaders.texture.TextureStreamLocatorZip.<init>(TextureStreamLocatorZip.java:134) at org.xith3d.ui.hud.utils.WidgetTheme.<init>(WidgetTheme.java:485) at org.xith3d.ui.hud.utils.WidgetTheme.<init>(WidgetTheme.java:500) at org.xith3d.ui.hud.HUD.getTheme(HUD.java:172) at org.xith3d.ui.hud.widgets.Label.<init>(Label.java:714) at org.xith3d.ui.hud.widgets.Label.<init>(Label.java:732) at org.xith3d.ui.hud.widgets.assemblies.FPSCounter.<init>(FPSCounter.java:162) at org.xith3d.ui.hud.widgets.assemblies.FPSCounter.<init>(FPSCounter.java:223) at org.xith3d.ui.hud.widgets.assemblies.FPSCounter.<init>(FPSCounter.java:283) at game.Game.createHUD(Game.java:722) at game.Game.<init>(Game.java:1448) at game.Game.main(Game.java:1486) |
Cuz i got it after updating my SVN Rafael
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #7 - Posted
2006-11-03 19:05:24 » |
|
Marvin, when you run it please see if you got this error 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| java.io.IOException: mark/reset not supported at java.util.zip.InflaterInputStream.reset(InflaterInputStream.java:262) at java.io.FilterInputStream.reset(FilterInputStream.java:204) at org.xith3d.loaders.texture.TextureStreamLocatorZip.cacheNames(TextureStreamLocatorZip.java:106) at org.xith3d.loaders.texture.TextureStreamLocatorZip.<init>(TextureStreamLocatorZip.java:134) at org.xith3d.ui.hud.utils.WidgetTheme.<init>(WidgetTheme.java:485) at org.xith3d.ui.hud.utils.WidgetTheme.<init>(WidgetTheme.java:500) at org.xith3d.ui.hud.HUD.getTheme(HUD.java:172) at org.xith3d.ui.hud.widgets.Label.<init>(Label.java:714) at org.xith3d.ui.hud.widgets.Label.<init>(Label.java:732) at org.xith3d.ui.hud.widgets.assemblies.FPSCounter.<init>(FPSCounter.java:162) at org.xith3d.ui.hud.widgets.assemblies.FPSCounter.<init>(FPSCounter.java:223) at org.xith3d.ui.hud.widgets.assemblies.FPSCounter.<init>(FPSCounter.java:283) at game.Game.createHUD(Game.java:722) at game.Game.<init>(Game.java:1448) at game.Game.main(Game.java:1486) |
Cuz i got it after updating my SVN Rafael Hmm... I don't get this error and I don't even see a skybox. I don't have too much time at the moment, but I'll have a closer look at it later. Marvin
|
|
|
|
|
rafa_es
|
 |
«
Reply #8 - Posted
2006-11-03 19:23:46 » |
|
Hmm... I don't get this error and I don't even see a skybox. I don't have too much time at the moment, but I'll have a closer look at it later.
I'll recheck the SVN I forgot to tell you. I think i left the line commented 1
| 803 SkyBox skybox = new SkyBox(front, left, back, right, top, bottom); |
Rafael
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #9 - Posted
2006-11-04 00:09:22 » |
|
@rafa_es: please check your PMs.
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Marvin Fröhlich
|
 |
«
Reply #10 - Posted
2006-11-04 04:45:22 » |
|
The SkyBox problem, which actually was a problem for all Background Nodes is now fixed.
Marvin
|
|
|
|
|
Amos Wenger
|
 |
«
Reply #11 - Posted
2006-11-04 15:40:30 » |
|
Thanks.
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
rafa_es
|
 |
«
Reply #12 - Posted
2006-11-04 16:03:17 » |
|
Thanks,
Marvin
|
|
|
|
|
|