[GEM-dev] model-loader anyone ?
james tittle
tigital at mac.com
Wed Jan 12 16:13:47 CET 2005
On Jan 10, 2005, at 11:59 AM, IOhannes m zmoelnig wrote:
>
> as i have started a tiny bit to implement different model-loaders
> yesterday evening (it was late, so i didn't stopped anywhere usefule,
> but at least i started), and i do not want to double efforts i just
> want to ask, whether anyone has really implemented a loader for other
> models than .obj ? (jamie ??)
...well, I do have some code for 3ds loading, but I haven't really
incorporated it into the model_loader yet...it took a little while to
get it correct on ppc, because there are several byteswapping's that ya
need to do: if interested, i can forward that to you...after figuring
it out, I got distracted :=)
> i am at the stage defining an abstract ModelLoader-class,
> child-classes would then implement various file-formats (OBJ & 3DS of
> course; and most likely MD2 and MD3, as there are plenty of examples
> for quake-file-loaders out there) -- so not much work has been done on
> my side yet (this is: i could stop, if a lot of work had been done
> already on someone else's side)
...seems like a good idea: are you gonna try and tackle materials and
stuff? They're just another object in 3ds, but I'm not sure how they
would work in the gem scheme: maybe they should just somehow be
created as a pix_image-based structure internal to the modelloader,
then we could manipulate them?
ok,
jamie
More information about the GEM-dev
mailing list