Author Topic: How to unpack model and use with irrlicht  (Read 1376 times)

prchakal

  • Guest
How to unpack model and use with irrlicht
« on: 24 September 2009, 19:50:25 »
Hi.

I want develop a demo using the models of Glest, but Glest has a own format file, how i can get the models with texture to use with Irrlicht?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: How to unpack model and use with irrlicht
« Reply #1 on: 25 September 2009, 21:33:01 »
Ah, Irrlicht is AWESOME (best 3D engine, except maybe Ogre [but simpler]).

However, there is no easy way to do this. Two options exist:

1. Convert glest's models to another format (3DS and X work best with Irrlicht). However, there aren't any ways to convert animations. You see, the g3d importer only imports the still model. Its an open format though, and if you want to take the time, you probably COULD make a better importer or converter. All of G3D's techniques are pretty standard, and the importer and exporter may help. (They're in python, and can be downloaded via the glest.org download page).

2. Do some heavy coding to allow your program to use G3D. This probably wouldn't be easy, but not impossible, since G3D is an open format. If you'd study the source code to see how Glest renders and uses G3D, then you may be able to slowly adapt that code into your game.

Neither method is easy, but glest DOES have very nice models and so few restrictions... All up to you.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Ligerteeth

  • Guest
Re: How to unpack model and use with irrlicht
« Reply #2 on: 4 October 2009, 03:40:42 »
that is probably illegal since the glest models are probably copyrighted

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: How to unpack model and use with irrlicht
« Reply #3 on: 4 October 2009, 05:34:17 »
The Glest Team specifically made it so anyone could use the models for whatever they want as long as they give credit and as long as everything stays open, so effectively they're all CC-BY-SA.

 

anything