Model doesnt load... again
Posted: 2006-04-23, 20:25
Hi everyone!
Now the devils plant is a model called "cabels01.ase". It contains 2 textures (i hope it so...). A fence texture and a metal texture. Additionally, the fence texture has a normal map.
Odd is the fact, that the model can be loaded into the model viewer (but without alpha channel ), but it cant be loaded into my lvl.
Maybe its because i tried to stick 2 materials into the .ase *MATERIAL_LIST .
And the two materials in Static.cmat:
Thx!
Wfr, Sindwiller
Now the devils plant is a model called "cabels01.ase". It contains 2 textures (i hope it so...). A fence texture and a metal texture. Additionally, the fence texture has a normal map.
Odd is the fact, that the model can be loaded into the model viewer (but without alpha channel ), but it cant be loaded into my lvl.
Maybe its because i tried to stick 2 materials into the .ase *MATERIAL_LIST .
Code: Select all
*MATERIAL_LIST {
*MATERIAL_COUNT 1
*MATERIAL 0 {
*MATERIAL_NAME "Models/Static/cabels01/fence_metal"
*MATERIAL_CLASS "Standard"
*MATERIAL_AMBIENT 0.5000 0.5000 0.5000
*MATERIAL_DIFFUSE 1.0000 1.0000 1.0000
*MATERIAL_SPECULAR 0.0000 0.0000 0.0000
*MATERIAL_SHINE 0.7813
*MATERIAL 1 {
*MATERIAL_NAME "Models/Static/cabels01/de-r_mtl2b"
*MATERIAL_CLASS "Standard"
*MATERIAL_AMBIENT 0.5000 0.5000 0.5000
*MATERIAL_DIFFUSE 1.0000 1.0000 1.0000
*MATERIAL_SPECULAR 0.0000 0.0000 0.0000
*MATERIAL_SHINE 0.7813
}
}
}
Code: Select all
Models/Static/cabels01/fence_metal
{
diffusemap Models/Static/fence_metal.png
normalmap Models/Static/fence_metal_nm.png
}
Models/Static/cabels01/de-r_mtl2b
{
diffusemap Models/Static/de-r_mtl2b.png
}
Wfr, Sindwiller