Author Topic: I can't load my model  (Read 4191 times)

flesk

  • Apprentice
  • *
  • Posts: 6
    • View Profile
I can't load my model
« on: June 02, 2010, 01:23:16 PM »
I have made a test model to start modeling but I can't to get it work. I have uploaded the .obj file, which isn't too long because it's just a cube, to get some help. I exported it from Sketchup but it hasn't got rare tags.

What I get from console:
Unexpected data encountered while opeing file data/Flesk/modelos/Prueba-Cogs-2.o
bj
Error loading .obj file data/Flesk/modelos/Prueba-Cogs-2.obj
« Last Edit: June 02, 2010, 01:40:19 PM by flesk »

admin

  • Rob
  • Administrator
  • Widgeteer
  • *****
  • Posts: 218
    • View Profile
Re: I can't load my model
« Reply #1 on: June 02, 2010, 10:00:26 PM »
Hey, flesk -

It looks like the problem is that the texture coordinates (the lines that start with "vt") have 3 values while Cogs expects 2.  If you delete the third value on each line starting with vt, the file loads fine.

Looking forward to seeing your mods!

  - Rob

flesk

  • Apprentice
  • *
  • Posts: 6
    • View Profile
Re: I can't load my model
« Reply #2 on: June 04, 2010, 02:17:33 PM »
Hi,
that's it, thank you. I'll get busy next days trying to change the script or I'll change of editor.