Author Topic: Export error -- Found x indices, expected y!  (Read 1578 times)

Bruce

  • Guest
Export error -- Found x indices, expected y!
« on: 9 November 2010, 01:27:14 »
So we've been having problems trying to get the model for a Ritual Circle by one of the students working in Glest using the g3d exporter from Blender. The model is here:

http://stromlohs.act.edu.au/home/fudabr/ritualcircle.blend

If someone could have a look and work out why the model won't export to g3d I'd really appreciate it (as would the student trying to get this to work!! :o

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Model Issues
« Reply #1 on: 9 November 2010, 01:43:33 »
Could you describe in more detail what happens when you export?  Is there an error message?  Is a g3d file not created, or is it created but contains no actual model when you view it?

Bruce

  • Guest
Re: Model Issues
« Reply #2 on: 9 November 2010, 02:47:02 »
Sorry about that - this is what happens when u post for a student :p

It creates a g3d but it's tiny and appears empty. It throws an error about indices not meeting the DTD - I believe it's usually what happens when there are double vertices, but she checked that already

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Model Issues
« Reply #3 on: 9 November 2010, 03:39:17 »
I figured out the problem.  All the objects have textures assigned to them, but the associated images don't know where to go because the objects aren't UV mapped to them.  If you unwrap everything, it should work fine, but an interrim solution is to either unlink the image files from the texture (in which case everything should be white), or to do a quick-and-dirty UV mapping (even as simple as U > Reset) just so it has somewhere to put the image around your model (in which case it should look jumbled and weird).

(On a tangentially-related note, make sure "map input" is set to UV instead of Orco.)

 

anything