Collada files and lua meta file.

Collada files and lua meta file.

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Collada files and lua meta file.

Post 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.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Collada files and lua meta file.

Post by Anarchid »

demi2daetest1.lua
try demi2daetest1.dae.lua?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Collada files and lua meta file.

Post by smoth »

HA! good call.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Collada files and lua meta file.

Post by jK »

where are your textures located (filepath)?
Post Reply

Return to “Art & Modelling”