From: Drake W. <dr...@er...> - 2002-06-20 16:03:44
|
> > Looks like VRML that XML parser. Would be cool to have a 3DS or Maya model > loader. W3D is interesting (if a little bug'E when it comes to bone > animation). I would have to say anything is better then nothing at the > moment :).. There is a MD3 file reader around someplace. I will look at the spec. Might be what I would want to model it after. Anyone know if it any conversion programs will convert the bigger types to VRML? > > Would be cool to have the file loader that worked around a modeler that is > already out there. So 3DS gets my vote. Maybe W3D or WildTanget, they are > all very rocking and have hopeful futures. trouble with W3D is that I can't get any info on it. I dont' have any info on wildtanget either (but haven't looked). > > If u need a hand in making a file reader I'm sure we would all be up for > helping u look into it.. One that returned u a drawable object of some type. > > Model mod = new Model("tree.xxx"); // load the file. > mod.drawGL(); // would do the gl vertex, textures, etc etc calls. I would only go a step below this. I have my own 'engine' (like I can call it that... hehe) that I want to fill in. I was thinking of making it easy to subclass and use. like the subclass would look something like this... (just whats coming to my head... I havne't really thought it out) Object createVertex(float x, float y, float z, //anything else) { return new myVertex(x,y,z); } Object createPolygon(Vector name, Vector objects) { MyPolygon poly = new MyPolgon(); for (int c = 0, c < name.length; c++) { if (name.elemantAt(c).equals("vertex")) { poly.addVertex(objects.elementAt(c)); } } this way we could all use the same file format, but use them in our own object structure. > > Would be very handy indeed :). > > Tops > > aNt > > > > ------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |