Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
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  
  loader package hierarchy  (Read 1591 times)
0 Members and 1 Guest are viewing this topic.
Offline croft

Junior Devvie




Java, Java, Java


« Posted 2006-05-04 22:22:56 »

I will probably put
the Whoola, Java 5, JAXB 1, COLLADA 1.4 implementation in package org.xith3d.loaders.collada.whoola1.*.

The Whoola, Java 5, JAXB 2, COLLADA 1.4 implementation will go in org.xith3d.loaders.collada.whoola2.*.

The Whoola, Java 5, JAXB 2, COLLADA 1.5 implementation will go in org.xith3d.loaders.collada.whoola3.*, etc.

OK, I changed my mind on this.  I notice the current structure is like this:

org.xith3d.loaders.ase
org.xith3d.loaders.ext
org.xith3d.loaders.loader3ds
org.xith3d.loaders.md2
org.xith3d.loaders.obj
org.xith3d.loaders.tds

There is almost a pattern of 3 letters there based on filename extension.  The filename extension for COLLADA is .dae (Digital Asset Exchange).

There are two 3DS loaders.  If we move the two 3DS loaders under one package and then distinguish them by a subpackage name based on the contributors, we could have something like this:

org.xith3d.loaders.ase
org.xith3d.loaders.dae.whoola
org.xith3d.loaders.ext
org.xith3d.loaders.md2
org.xith3d.loaders.obj
org.xith3d.loaders.tds.kinostudios
org.xith3d.loaders.tds.newdawn

I've distinguished the Whoola loader in a subpackage as I am fairly certain a new COLLADA loader for Xith from a different source will emerge within the next couple of years.

Whether we move the 3DS packages or not, are we OK with org.xith3d.loaders.dae.whoola for COLLADA?

David Wallace Croft / www.CroftSoft.com / (214) 636-3790 m / Advanced Java Game Programming
Offline Amos Wenger

Senior Devvie




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


« Reply #1 - Posted 2006-05-05 13:13:24 »

I've distinguished the Whoola loader in a subpackage as I am fairly certain a new COLLADA loader for Xith from a different source will emerge within the next couple of years.

Whether we move the 3DS packages or not, are we OK with org.xith3d.loaders.dae.whoola for COLLADA?
+1.

And I'll move the 3DS packages myself.

"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 Amos Wenger

Senior Devvie




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


« Reply #2 - Posted 2006-05-05 15:24:49 »

Committed.

And also, croft, I saw you made alternative OBJ loader.
Then we should split again the OBJ package to :

org.xith3d.loaders.obj.newdawn
org.xith3d.loaders.obj.whoola

And same thing with the md2 loaders.

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline croft

Junior Devvie




Java, Java, Java


« Reply #3 - Posted 2006-05-06 03:00:27 »

And also, croft, I saw you made alternative OBJ loader.
Then we should split again the OBJ package to :

org.xith3d.loaders.obj.newdawn
org.xith3d.loaders.obj.whoola

And same thing with the md2 loaders.

No, Whoola did not make those.  I just modified the New Dawn OBJ and MD2 loaders to implement the Loader interface.  I gave them names like OBJLoader2 where the "2" was supposed to be temporary until the changes could be reviewed by William Denniss.  The intent was that once reviewed they would replace the original classes.
http://www.java-gaming.org/forums/index.php?topic=9911.msg84348#msg84348

Let's merge the files in org.xith3d.loaders.obj.whoola into org.xith3d.loaders.obj.newdawn, possibly overwriting the old classes by the same name.  I think this is reasonable since New Dawn provided the bulk of the work and my OBJ and MD2 classes are just minor derivatives.

I am going to start migrating classes gradually to package org.xith3d.loaders.dae.whoola.

I see you already updated DefaultLoader to point to the new package names.  If you modify my code, please add your @author tag so that people know I am not solely responsible for the work.


David Wallace Croft / www.CroftSoft.com / (214) 636-3790 m / Advanced Java Game Programming
Offline Amos Wenger

Senior Devvie




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


« Reply #4 - Posted 2006-05-06 12:58:08 »

And also, croft, I saw you made alternative OBJ loader.
Then we should split again the OBJ package to :

org.xith3d.loaders.obj.newdawn
org.xith3d.loaders.obj.whoola

And same thing with the md2 loaders.

No, Whoola did not make those.  I just modified the New Dawn OBJ and MD2 loaders to implement the Loader interface.  I gave them names like OBJLoader2 where the "2" was supposed to be temporary until the changes could be reviewed by William Denniss.  The intent was that once reviewed they would replace the original classes.
http://www.java-gaming.org/forums/index.php?topic=9911.msg84348#msg84348

Let's merge the files in org.xith3d.loaders.obj.whoola into org.xith3d.loaders.obj.newdawn, possibly overwriting the old classes by the same name.  I think this is reasonable since New Dawn provided the bulk of the work and my OBJ and MD2 classes are just minor derivatives.

I am going to start migrating classes gradually to package org.xith3d.loaders.dae.whoola.

I see you already updated DefaultLoader to point to the new package names.  If you modify my code, please add your @author tag so that people know I am not solely responsible for the work.
All Done.

"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  
 
 

 
xxMrPHDxx (21 views)
2017-11-21 16:21:00

xxMrPHDxx (14 views)
2017-11-21 16:14:31

xxMrPHDxx (16 views)
2017-11-21 16:10:57

Ecumene (114 views)
2017-09-30 02:57:34

theagentd (150 views)
2017-09-26 18:23:31

cybrmynd (258 views)
2017-08-02 12:28:51

cybrmynd (249 views)
2017-08-02 12:19:43

cybrmynd (247 views)
2017-08-02 12:18:09

Sralse (260 views)
2017-07-25 17:13:48

Archive (878 views)
2017-04-27 17:45:51
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!