Error importing

Lee04

27-12-2006 17:36:49

Hi

It seams we get :: when we export from Ofusion and Ogre doesn't allow ::
so it says resourse material exists allready..

But the first time we exported the scene it worked know with some changes to the scene we get this problem.

Why?

cheers

Lee04

material Material::exported:exported:blinn809
{
technique
{
pass
{
ambient 0.2 0.2 0.2 1
diffuse 0.2 0.2 0.2 1
specular 0.35 0.35 0.35 1 5
}

}

}

material Material::exported:exported:blinn726
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture siena_blakus_sukas_sienai.jpg
}
}

}

}

material Material::exported:exported:blinn629_Texture::exported:exported:file701
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture asd.jpg
}
}

}

}

material p2756Mtl/Material::exported:exported:blinn630
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture DSC_2020.jpg
}
}

}

}

material p2756Mtl/Material::exported:exported:blinn631
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture DSC_2020_.jpg
}
}

}

}

material p2756Mtl/Material::exported:exported:blinn809
{
technique
{
pass
{
ambient 0.2 0.2 0.2 1
diffuse 0.2 0.2 0.2 1
specular 0.35 0.35 0.35 1 5
}

}

}

material p2756Mtl/Material::exported:exported:blinn658
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture DSC_6376.jpg
}
}

}

}

material Material::exported:exported:blinn179
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture 7q.jpg
}
}

}

}

material Material::exported:exported:blinn623
{
technique
{
pass
{
ambient 0 0 0 1
specular 0.35 0.35 0.35 1 5

texture_unit
{
texture_alias 0
texture tornis.jpg
}
}

}

Lioric

30-12-2006 17:16:22

Could you post your ogre.log file when loding the scene in your application?

If the material is reported as duplicated, probably its because you have them in several resource paths