0

I use Balder engine to work with 3D objects. I have *.ase file which contain

*MAP_DIFFUSE {
        *MAP_NAME "carrier_body"
        *MAP_CLASS "Bitmap"
        *MAP_SUBNO 1
        *MAP_AMOUNT 1.0000
        *BITMAP "//carrier_body.tga"
                    ........

I've added my ase file and carrier_body.tga to resource of the project but when I load mesh from ase

var tank=ContentManager.Load<Mesh>("tanks_carrier.ase");

I've caught the exception:

There is no loader for the specified file type 'tga'

How right way to loading textures for ase file in Balder?

4

1 回答 1

0

我通过了这个问题。Balder 不支持纹理的tga格式,我使用了png纹理并且一切都很好。

于 2013-07-24T14:04:13.540 回答