Ceating a Custom Model Loader

Avictus

20-01-2007 17:02:19

I was thinking about implementing a custom model loader into Mogre, but I'm curious about what would be the best way to go about this. I was looking at this article here: http://www.ogre3d.org/wiki/index.php/GeneratingAMesh . The article describes the process of generating a mesh in memory. So far, it looks like the best way would be to parse the custom model and use the information in it to generate a mesh as described in the article. Does that sound about right, or would there be an easier/more efficient way of doing this?

There is also a Mogre version of the above article located here: http://www.ogre3d.org/wiki/index.php/MO ... atingAMesh

I know there are ways around using a custom loader, such as a proper tool chain of importers and exporters to get the model converted into an Ogre mesh file, but I am mostly just playing around with Mogre at the moment, trying to get a grasp of its ins and outs. This seems like it could be an interesting and entertaining experiment.

Bekas

22-01-2007 00:08:35

There is also the ManualObject which is easier to handle (use 'ConvertToMesh' to get a Mesh out of it)

Avictus

22-01-2007 14:40:11

Thank you for the response. ManualObject does look much simpler to work with. I'll be giving that a try some time over the next week or so.