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 ?
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
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
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
Please send me again.
Marvin
Marvin, when you run it please see if you got this error
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
I’ll recheck the SVN
I forgot to tell you. I think i left the line commented
803 SkyBox skybox = new SkyBox(front, left, back, right, top, bottom);
Rafael
The SkyBox problem, which actually was a problem for all Background Nodes is now fixed.
Marvin
Thanks.
Thanks,
Marvin