Blender Woes - Bucket not exporting

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Blender Woes - Bucket not exporting

Post by lucasfart »

I've made myself a nice little bucket, but no matter what I do it WILL NOT export properly! I've tried just about everything I can think of, from removing the material to deleting and resetting up materials to deleting bits of the mesh but nothing works! I even exported it into XSI (It loads fine, with the full texture setup) and tried exporting with Ande's tool but the generated mesh file just crashes BFViewer with no errors or anything. Ande's tool doesn't generate any errors on exporting or anything.

It's interesting, because I tried deleting all the faces from my model except for one and it still crashed, so I'm pretty sure it's not a model problem. I tried no textures and it still crashed so it can't be a texture problem. What else could it be?

To make things even weirder and more confusing, in one of my many attempts at exporting from XSI it actually loaded into BFViewer fine and was loading ok, so I quit it. I tried to re-open it a while later and it started crashing again, even though I hadn't changed the .msh in any way!
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

A wireframe would be helpful.
Did you try the Check Sel command in the export dialog with your object/the root selected?
This should find problems like too many sides for a polygon etc.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Yeah, there were no errors when I tried the "check sel" button either.

This wireframe is from blender, but I haven't in any way changed the mesh. Their are no faces inside the mesh, unless the inside of the bucket counts as inside a mesh....

Bucket:
Hidden/Spoiler:
Image
Image
Oh. and I've added a face to the inside of the bucket at the bottom which is missing from that pic...
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

Cant see a problem with the model in the wire which would cause my exporter to fail.
Try triangulating your model before export. Polies with more than 4 sides can break the .msh file with my exporter. Dunno how the other option you use for exporting handles those.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Nope. Triangulating didn't make a difference. :(

I've done a bit of experimenting with the .wrl file, and I've figured out that the problem has to do with the values under

Code: Select all

coordIndex [
. I replaced that with the coordIndex section from another model I had successfully exported and it loaded into SWBFViewer, but all the edges were stuffed up. The vertices were all in the right place however (I think coordIndex controls the edges joining the vertices). So I'm guessing it means some of my edges are throwing a fit. :?

Any ideas for fixing that without completely redoing my model and destroying my UV's?? If worst comes to worst, I guess I could always make it again, but it would be useful to learn how to fix it and to learn from my mistakes...

Here's a pic of the working model with new edges if you don't get what I was saying:
Hidden/Spoiler:
Image
Another note: when I try check sel in your tools, Ande, it says my model has a poly count of 276 and a vertex count of 138, but when I export, the export report says that my model had 828 vertices. Is that right?
Last edited by lucasfart on Tue Jun 12, 2012 6:51 am, edited 1 time in total.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

I cant think of a fix right now, if you want I can take a look at it though.
Best format would be .obj.
Which format did you use to get it into XSI?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Yeah, I used obj to get it into xsi. I'll upload the .obj and pm you with it. Thanks heaps for your help.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

Took a quick look at it but couldn't find any problems with the model. I couldn't export it and see if it works here because I don't have a working version of my exporter right now. The next version isn't ready to export. I'll revert back to a working version and post again later.
Usually that shouldn't be a problem, but did you convert your .png to a .tga? I dont think so but maybe thats the problem.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Yeah, I did try it with a .tga a couple of times, but it made no difference..
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

Sorry it took so long. Some stuff came up and yesterday I forgot.
I had no problems exporting it.
Image
I exported with and without material/texture.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

That's really weird...I definitely was exporting it right, as it's worked fine with other models. Did you do anything special when you were exporting? Sorry for wasting your time like that. I have no idea what I was doing wrong. :?

Could you send me a copy of the working mesh please?

Also, could you just briefly outline what you did? I just tried exporting again, and it still crashed the mesh viewer. All I'm doing is importing the .obj, adding a material and exporting again. Are you supposed to import the obj with the mesh as parent, a null as parent, or with no hierarchy?
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

New Scene.
Import the obj, via File>Import>Obj
Create New Material via ZE Tools>MSH Tools>Material Manager>Create
Assign a texture(converted the .png to .tga) via the Assign Tex button in the material manager.
Assigned the material to the model by selecting both the material and the model then pressing the Assign button.
Select the model, ZE Tools>.MSH export then press the Export button.
Copy the .tga into the same directory, then view it in the MSH Viewer.

I used the 7.5 XSI Mod Tool.

Should I send you the .msh or the XSI scene?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Could you send me the scene? I'd like to see if it works fine for me....

Thanks for all your help by the way, Ande.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Blender Woes - Bucket not exporting

Post by ANDEWEGET »

User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Hmm...I think it might have actually had something to do with the texture. I exported your scene, but my model still crashed the viewer. I tried replacing the texture file (2048x2048) with the one you sent back and it worked. I then tried replacing it with a 2048x2048 one to confirm it was the texture resolution, but it still worked. :? Something must have been stuffed in my.tga file somehow....

Thanks again for your help Ande. Really appreciate it.
User avatar
minilogoguy18
Master Bounty Hunter
Master Bounty Hunter
Posts: 1512
Joined: Wed Nov 09, 2005 11:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Blender Woes - Bucket not exporting

Post by minilogoguy18 »

Why are you using such a high resolution texture anyway on something so low poly? 512x512 would be more than enough.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Blender Woes - Bucket not exporting

Post by lucasfart »

Well I've been using a high-res base, and then just scaling it down when importing into SWBF2, but I forgot to do it with that model...I wasn't actually planning on using it like that ingame.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Blender Woes - Bucket not exporting

Post by THEWULFMAN »

Starting with a high resolution texture and then scaling down is generally the logical thing to do.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Blender Woes - Bucket not exporting

Post by Marth8880 »

You know, personally, I think that bucket could and should be higher-poly.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Blender Woes - Bucket not exporting

Post by THEWULFMAN »

Maybe the handle could stand to be slightly higher poly, but beyond that it's fine.
Post Reply