the above code returned me the list of texture files. i gave the same names while loading texture files but few of the textures only applied to the model object, rest of the textures were not. would you please tell me the reason why? Below is the my code.

Thanks for the reply. I removed cube.calcTextureWrapSpherical(); But it's not working for me. would you please provide me any sample source code which contains .3ds file displaying with multiple textures?

If there would be some textures that the loader can't find in the TextureManager, a message like 'Texture named...added to TextureManager!' would appear. This isn't the case, so that's not the issue. Your textures seems to be fine by itself. So either your file just doesn't contain texture names for the missing parts (might be an exporter issue) or the texture are applied but the uv-mapping isn't right. I loaded the model in DeepExploration and while it shows textures on all parts, uv-mapping of the roof and some other parts of the house is wrong there as well.Do you have a screen shot? Maybe we are talking about different things here when we say that "textures aren't applied".

thanks alot for your patience and quick response. I didn't increase any ambient colors in my code. i am just fallowing the same code which i attached to our previous conversation (i.e March 18, 2015, 08:13:19 pm). If you don't mine would you please share me the source code what you have tried?