How Irrlicht read 3D meshes

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Auradrummer
Posts: 260
Joined: Thu Apr 17, 2008 1:38 pm
Location: Brasopolis - Brazil

How Irrlicht read 3D meshes

Post by Auradrummer »

Hello, I again.

I'm studying file conversions. I'm at very beginning, but I understood a great part of LWO format. I want to help to develop the Irrlicht importer for LWO, but I didn't found the routine that reads the file mesh. Where is it?

Thanks in advance, the studies are hard, but I'll keep trying!
Professional Software Developer and Amateur Game Designer ;-)
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Irrlicht doesn't load LWO models currently. Though i do seem to recall someone saying there was a patch that added the support or something.

These are the currently supported formats (taken from the features section of the website):

* 3D Studio meshes (.3ds)
* B3D files (.b3d)
* Alias Wavefront Maya (.obj)
* Cartography shop 4 (.csm)
* COLLADA (.xml, .dae)
* DeleD (.dmf)
* FSRad oct (.oct)
* Irrlicht scenes (.irr)
* Irrlicht static meshes (.irrmesh)
* Microsoft DirectX (.x) (binary & text)
* Milkshape (.ms3d)
* My3DTools 3 (.my3D)
* OGRE meshes (.mesh)
* Pulsar LMTools (.lmts)
* Quake 3 levels (.bsp)
* Quake 2 models (.md2)
* STL 3D files (.stl)

You can find the model loader classes in the source directory and study how they work.
Image Image Image
Auradrummer
Posts: 260
Joined: Thu Apr 17, 2008 1:38 pm
Location: Brasopolis - Brazil

Post by Auradrummer »

Thanks again JP!

Really, there are a patch. I read LWO, but isn't reading all the features I need. Now, start studying!
Professional Software Developer and Amateur Game Designer ;-)
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Hybrid added the LWO mesh loader to SVN trunk, so it will be part of Irrlicht 1.5.
If you want to add features to it, please develop against this version and submit any enhancements as patches to the patch tracker (link in my signature). If you can also provide test meshes and a description of the method you used to create them, this would be very helpful too :)
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The code's here: http://irrlicht.svn.sourceforge.net/vie ... iew=markup
and in the respective directory of the trunk repository.
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

I've tested the loader and it's implemented. Please remember that it doesnt support animation (as it would need to load .LWS scenes files). Also do not use layered textures & procedural textures on the model. I'd recommend using a basic color/texture per surface.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yeah, I'm sorry that I couldn't find enough time to finish the layered stuff, yet. But I'll try to finish it before the 1.5 release (which is also quite a while from now, so chances are high :) )
Auradrummer
Posts: 260
Joined: Thu Apr 17, 2008 1:38 pm
Location: Brasopolis - Brazil

Post by Auradrummer »

Oh, I didn't seen the answers. The reply notification isn't working for me.

The problem I face wasn't related to this two features. Is about VMAD (discontinuous UV map coordinates) and morphs. I'm trying to work on it, and I'm making some progress. But I'm still two newbie to make something. Only studying now.
Professional Software Developer and Amateur Game Designer ;-)
Post Reply