Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

12046 Posts in 1593 Topics- by 595 Members - Latest Member: KeelmHaxabefe

19. May 2013, 01:46:32 am
Xith3D CommunityGeneral CategoryNews (Moderators: Marvin Fröhlich, 'n ddrylliog)ModelLoader changes
Pages: [1]
Print
Author Topic: ModelLoader changes  (Read 2254 times)
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« on: 26. August 2008, 02:25:13 am »

I have committed all of my latest changes to the ModelLoader API. All of the loaders (except for Cal3D and COLLADA, which will follow in the next days) have been ported to the new architecture, where more code resides in JAGaToo and factory interfaces are used to push the loaded data to Xith3D.

Now you don't need to use a specific loader for each model format. It is done the exact same way for all formats.

This is, how you load a model now:
Code:
Model model = ModelLoader.getInstance().loadModel( modelResource );

Simple, heh? Smiley

I have also fixed CelShading (if anyone cares).

Marvin
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #1 on: 15. March 2009, 06:29:24 pm »

I have also fixed CelShading (if anyone cares).
Yeah actually, I do care. How did you fix it, I'm curious? What was broken?
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #2 on: 15. March 2009, 08:26:54 pm »

Yeah actually, I do care. How did you fix it, I'm curious? What was broken?

I don't know. I just ported the original source again and didn't make a mistake this time Grin.

Marvin
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #3 on: 19. March 2009, 04:34:53 pm »

I don't know. I just ported the original source again and didn't make a mistake this time Grin.
Oh. I always thought I was the one who messed it up (refactorings, refactorings.. Eclipse my love).
Good news anyhow.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #4 on: 19. March 2009, 08:09:28 pm »

Oh. I always thought I was the one who messed it up (refactorings, refactorings.. Eclipse my love).

Hmm... maybe. But it doesn't matter and I am too lazy to look it up Cool.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic