Help importing models

WilsonWilson Join Date: 2010-07-26 Member: 72867Members
Hey, I'm trying to import some models into spark but I'm having problems. I did it before many months ago but I can't remember how or perhaps something has changed since then. Anyway, when I export my .dae file in 3dsmax then build it, the model file wont open in viewer.

It says

Error: Couldn't open file 'models/.material'
Error: No shader specified for material 'models/.material'


But I can't direct it towards the material file since it's looking for one with no name (not the name of the model file). How do I set the name of .material file?

Comments

  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    This is a bug in the model file, I had this myself. I can't remember for definite what causes it, but you are doing something slightly wrong to generate the error. The path to the material file is actually in the model itself. I believe the cause maybe that the name of texture file doesn't match the model name. (The PSD file), or that it's not sourced in the same folder as the model.

    It is an error though, and it is easily solvable if you follow Brians Videos thoroughly. :)

    <a href="http://www.unknownworlds.com/ns2/news/2011/7/ns2_custom_model_importing_guide" target="_blank">http://www.unknownworlds.com/ns2/news/2011...importing_guide</a> - The only thing done differently now is the structure of the materials file. Look in any current material file to see how it needs to be done...
  • PogoPPogoP Environment Artist Join Date: 2004-01-31 Member: 25827Members, NS2 Developer, Constellation
    Make sure you apply the correct material (with material name defined in the .material file) to your model in 3ds max before exporting to DAE.
Sign In or Register to comment.