Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (562)
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  
  Moving to v0.8 Texture problem  (Read 6425 times)
0 Members and 1 Guest are viewing this topic.
Offline Zer Gut Shnitzel

Senior Newbie





« Posted 2006-12-07 19:59:59 »

Hi,

We are switching to a new version of Xith...
After refactoring quite a bit of code I got it up and running, however I still have couple of problems with new TextureLoader (I assume).
It appears as I don't have any mimaps generated for the textures that are loaded using TextureLoaders.getTextures(name), they don't work even when I explicitly set the mipmapping flag.

Another thing is that when importing ASE files there are no textures on the models, just a black / white checker texture all over the place.

Both mipmaps and ASE models worked fine in the old version.

Any ideas on how to solve this problem?

Thanks

 
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #1 - Posted 2006-12-07 20:21:04 »

Hi,

We are switching to a new version of Xith...
After refactoring quite a bit of code I got it up and running, however I still have couple of problems with new TextureLoader (I assume).
It appears as I don't have any mimaps generated for the textures that are loaded using TextureLoaders.getTextures(name), they don't work even when I explicitly set the mipmapping flag.

Another thing is that when importing ASE files there are no textures on the models, just a black / white checker texture all over the place.

Both mipmaps and ASE models worked fine in the old version.

Any ideas on how to solve this problem?

Thanks

So you're moving to a newer version. Cool. But please use the current SVN branch. If you now migrate to the 0.8.0 release, you'll have to do all the work again when we release the next beta at the end of the year. I'll try to release an SVN snapshot this weekend. But so far please checkout from SVN.

The 0.8.0 release is quite old and the project has evolved a lot. Maybe your errors are already solved.

Marvin

EDIT: The TextureLoader has been worked on a lot an works just great. I suppose the error you're facing actually has been fixed in the current SVN.

And Thanks for using Xith3D Smiley. Do you know XIN? It documents, how Xith is to (or should/could) be used. But the examples only work with the current SVN code.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #2 - Posted 2006-12-07 20:30:43 »

BTW: What is your game about? Are there screenshots or something to watch?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Zer Gut Shnitzel

Senior Newbie





« Reply #3 - Posted 2006-12-07 20:41:08 »

Hi,

Would you say that the top of SVN is stable enough... How about the latest build that is available from Xith web site.

For more details about our project please refer to our new web site at www.icecad.com, you might wanna update the projects xith.org as it  points to our old web site.

Cheers

Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #4 - Posted 2006-12-07 20:53:20 »

Would you say that the top of SVN is stable enough... How about the latest build that is available from Xith web site.

Yes. I would thnik so. If you're not planning to use Cal3DLoader or TDSLoader, which are not yet ported to the new Loader base (so the API will change in this point) or OBJLoader, which has some problems loading textures (I'm currently working on this topic), then it is definitely stable enough. Well, if you have any problems with it, please ask here and someone like me will fix the issue Wink.

The not-yet-ported Loaders will be done during the next week.

It is just not a good idea to port to version 0.8.0 at this time, since you would do a lot of work, that you need to do again, when the next release comes out (soon). And there's a whole lot of more features included in the current SVN.

For more details about our project please refer to our new web site at www.icecad.com, you might wanna update the projects xith.org as it  points to our old web site.

This is a content management system Shocked. Does it use Xith Huh What for does it use xith?.

Marvin
Offline Zer Gut Shnitzel

Senior Newbie





« Reply #5 - Posted 2006-12-07 20:59:35 »

It's actually a parametric design and manufacturing CAD system, content management is just a small part of it.  Part of the system is a 3d realtime rendering module that is currently based on Xith.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #6 - Posted 2006-12-07 21:00:14 »

Oh. forgot to mention: Another project, that I saw (and worked on a little bit) uses the current ASELoader successfully with Textures.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #7 - Posted 2006-12-07 21:04:36 »

I cannot watch the promotional movie on your page. I hear the sound but don't see any visuals. Do I have to install any more plugins? I'm working on Kubuntu Linux and Firefox 1.5.

Marvin
Offline Zer Gut Shnitzel

Senior Newbie





« Reply #8 - Posted 2006-12-07 21:13:51 »

I haven't got into the details of the ASE problem but it worked pretty good in the old version. I think the problem only appears on the ASE models that use jpg image format for textures

I will try to check out the project and see if it's gonna work

btw, we decided to use Xith over Java3d coz at the time it was much more alive and promising project, the activity stoped for a a bit and now it looks like you guys are doing a very good job of improving it so I think we are gonna keep using it thanks to you and all the other active developers.

I believe video is using macromedia something, probably just flash... works fine in FireFox on windows just tested...
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #9 - Posted 2006-12-07 23:08:12 »

A further note about the TextureLoader. This grayish bumper image you see is the fallback texture the loader returns, if the actual texture resource couldn't found or decoded. Did you add a TextureStreamLocator instance to the loader prior to loading the texture? This is necessary to enable the loader to find any texture.

example:
1  
2  
3  
TextureLoader.getInstance().addTextureStreamLocator( new TextureStreamLocatorFile( new File( "path/to/your/textures/" ) ) );
Texture texture = TextureLoader.getInstance().getTexture( "myTex1.png" );
Texture texture = TextureLoader.getInstance().getTexture( "myTex2.png" );


The model loaders will handle the correct stream locators on their own.

Please refer to XIN for further information or ask here.

Marvin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Amos Wenger

Senior Member




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


« Reply #10 - Posted 2006-12-08 09:56:49 »

btw, we decided to use Xith over Java3d coz at the time it was much more alive and promising project, the activity stoped for a a bit and now it looks like you guys are doing a very good job of improving it so I think we are gonna keep using it thanks to you and all the other active developers.
great to hear that, really !

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
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.

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

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

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

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

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

BurntPizza (29 views)
2014-09-19 03:14:18

Dwinin (46 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (102 views)
2014-09-10 06:39:09

Tekkerue (50 views)
2014-09-09 02:24:56
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!