Menu

#62 CalLoader::loadCoreMaterial( void* inputBuffer ); error

open
nobody
None
5
2005-09-28
2005-09-28
No

Hi!

I test the cal3D features and i found one bug.
I using cal3d 0.10.0 + MingW + GCC 3.4.2. on WinXP.

I must using one great resource file in our project.
I have implement our .cfg file parser.
I test with the model paladin.

All is ok, but the material files can't be load.
I using the following code:

CoreMaterial =
CalLoader::loadCoreMaterial(TmpEntryFile);
materialId =
calCoreModel->addCoreMaterial(CoreMaterial);

The loadCoreMaterial function abort with errorcode 5.
(INVALID_FILE_FORMAT)

I see, the materials is in XML format... CalLoader not
have public functions for load xml data from memory or
not handle the fileformat.

Thanks
Orfanik

Discussion


Log in to post a comment.