trouble using the mesher

A forum for the discussion and development of programs to assist working on or playing with the Vegastrike engine and data sets.
Post Reply
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

trouble using the mesher

Post by Beowulf »

Hi,

I just tried to use the mesher for the first time but I'm getting a strange error that I cannot make any sense of. I used the blender python script to convert the model to xmesh and then tried

Code: Select all

florian@beren:victory1 [0]> mesher HULL_LOD0_None_HULL_LOD0_None.xmesh vsd-1.bfxm xbc
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::erase
Any ideas what I'm doing wrong?
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

can you provide the .xmesh file on some website so we can see it...maybe it's got a mesh with 0 triangles or something odd
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

Post by Beowulf »

"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

one problem could be the texture=""

why not fill in a correct texture---in fact why not add bumpmapping specmapping glowmapping and damage mapping while you're at it (texture4 texture1 texture2 and texture3 respectively)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

Post by Beowulf »

I get the same error even after inserting a texture and a specmap (the only two that I have at the moment for this model). Also shouldn't the blender export script fill in these values? I think I set everything up correctly texturewise in blender...
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

I'll take a look at it more when I'm home and have access to the mesher
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

Post by Beowulf »

This issue has been resolved, my mesher was broken. I recompiled it and now it works fine.
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

Post by Beowulf »

http://vegastrike.sourceforge.net/wiki/ ... MESH_files
in respect to which texture is which the wiki page is incorrect, isn't it?
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
Post Reply