WIP: CroAsteroids – Contest Entry

@Normen: I’m not 100% sure if I got you right. Let me explain my workflow:

  1. I create a model in the assets-model-folder
  2. I create a texture(mytex.png) and save it in a sub-directory of the model-folder “textures”
  3. I attach the texture to the material and keep the path relative
  4. Save the model
  5. convert in jmp



    So, does this mean. The importer finds the texture and creates a material and when I convert it, the converter looks in the assets-folder for “textures/mytex.png” but can’t find the path because it should be Models/textures/mytex.png?

No, it should find the full path as it tries to combine the model folder and the path first, if thats not found it expects the path to be absolute and tries to reduce it from the base to get a valid asset locator. But as said, I can only say this for blender 2.49, is the prefix for the texture path still “//” in blender 2.5/6 when you set the path to be relative?

Yes, it is! I will start testing this again as soon as I’m at my desktop!

Ok,…it seems to be a blender 2.5+ problem! Importing with 2.49 worked perfectly. With 2.5 I tested really lots of combination all

resulting it the ‘big’ files! Just for info

2 Likes