Loading a .b3d

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
CiRiuS2
Posts: 14
Joined: Mon Oct 26, 2009 12:14 am
Location: Spain

Loading a .b3d

Post by CiRiuS2 »

Hi, i have a .b3d model with 4765 frames, when i try get the mesh with

Code: Select all

smgr->getMesh("model.b3d");
takes about 6 seconds loading and i need load a lot of models more...

¿it's correct 6 seconds?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Sounds like a lot of frames. Which version of Irrlicht do you use, and did you compile in release mode when checking times? Can you provide the model for testing?
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Re: Loading a .b3d

Post by Virion »

CiRiuS2 wrote:4765 frames
wow. the other models also have so many frames?
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
CiRiuS2
Posts: 14
Joined: Mon Oct 26, 2009 12:14 am
Location: Spain

Post by CiRiuS2 »

Version of irrlicht: oficial 1.6.

Yes i compile in release mode allways. (MCVS 2008)

And i can't share the model, was extracted from lineage 2. But i think any model with 5k of frames will load in 6 seconds.

I tested the same model in format .ms3d, same result.

About the frames, there are models with more than 7k frames....

Edit: 28 seconds loading a model with 7609 frames. :?
Last edited by CiRiuS2 on Sat Dec 12, 2009 2:02 pm, edited 1 time in total.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

how fast does lineage 2 load those models? i think they load it almost the same speed?
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
CiRiuS2
Posts: 14
Joined: Mon Oct 26, 2009 12:14 am
Location: Spain

Post by CiRiuS2 »

The models of lineage 2 are packaged and have a diferent format. You can't compare the speed.
Post Reply