Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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 2980 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 17: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 18: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 01: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!
Legends of Yore - The Casual Retro Roguelike
Offline rafa_es

Junior Member





« Reply #3 - Posted 2006-11-03 13: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 14: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 14: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 14: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 18: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 18: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-03 23: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 03: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 14: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 15:03:17 »

Thanks,

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

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (44 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (62 views)
2014-09-21 02:42:18

BurntPizza (32 views)
2014-09-21 01:30:30

moogie (39 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!