Page 1 of 1

Collada files and lua meta file.

Posted: 13 Mar 2013, 07:26
by smoth
I am trying my hand at the collada files with spring. However, outside of the unwieldy blender issues I am running into, I have another issue.

it seems my model isn't picking up the lua metafile.

demi2daetest1.dae

demi2daetest1.lua

Code: Select all

model = {
      radius = 25.0,
      height = 40,
      tex1 = "demi2_1.dds",
      tex2 = "demi2_2.dds",
      midpos = {0,0,0},
}
return model
spring shits out:
[f=0000317] [Texture] Warning: [LoadS3OTextureNow] could not load texture "default.png" from model "objects3d/units/demi2daetest1.dae"
I am not setting the materials in the model because the lua file allows greater flexibility and freedom.

Re: Collada files and lua meta file.

Posted: 13 Mar 2013, 09:02
by Anarchid
demi2daetest1.lua
try demi2daetest1.dae.lua?

Re: Collada files and lua meta file.

Posted: 13 Mar 2013, 09:07
by smoth
HA! good call.

Re: Collada files and lua meta file.

Posted: 13 Mar 2013, 10:42
by jK
where are your textures located (filepath)?