Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
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  
  Skybox problem  (Read 2442 times)
0 Members and 1 Guest are viewing this topic.
Offline Amos Wenger

Senior Member




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


« 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"
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« 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
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« 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!
Try the Free Demo of Revenge of the Titans
Offline rafa_es

Junior Member





« 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
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« 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
Offline rafa_es

Junior Member





« Reply #5 - Posted 2006-11-03 15:12:01 »

Here it is

http://tryor.com/files/11618/The_Elements_Game.rar.html

Rafael
Offline rafa_es

Junior Member





« 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
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« 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
Offline rafa_es

Junior Member





« 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
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #9 - Posted 2006-11-04 00:09:22 »

@rafa_es: please check your PMs.
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 #10 - Posted 2006-11-04 04:45:22 »

The SkyBox problem, which actually was a problem for all Background Nodes is now fixed.

Marvin
Offline Amos Wenger

Senior Member




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


« 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"
Offline rafa_es

Junior Member





« Reply #12 - Posted 2006-11-04 16:03:17 »

Thanks,

Marvin
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (100 views)
2013-05-17 21:29:12

alaslipknot (108 views)
2013-05-16 21:24:48

gouessej (138 views)
2013-05-16 00:53:38

gouessej (133 views)
2013-05-16 00:17:58

theagentd (145 views)
2013-05-15 15:01:13

theagentd (131 views)
2013-05-15 15:00:54

StreetDoggy (174 views)
2013-05-14 15:56:26

kutucuk (196 views)
2013-05-12 17:10:36

kutucuk (198 views)
2013-05-12 15:36:09

UnluckyDevil (204 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.085 seconds with 22 queries.