XSI ZETools
Moderator: Moderators
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
After I freeze all transforns for all primitives, and export them without merge, texture bug is gone. But I have no idea, how to create well look's complicated model, if I must never merge primitives... Usualy, when I create something, I have to merge, cut, blend, symmetrize polygons, and merge again, and on, and on... All my already created, complicated models done by this way, and look's like, I have to learn first, how to make something nice and beauty, by new way, without merge...
- Maveritchell
- Jedi Admin
- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: XSI ZETools
Try making the copies of your material local (as in the instructions for MshEx, which yes, is an entirely separate program) after you merge your primitives. You may also want to try freezing your textures.
- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
Maybe it happens because you have too many clusters. I exported models with 2 and 3 materials(one cluster per material) and I never had that problem. The one model you sent me had 6 or more clusters.
Usually you won't need 6 materials per model. The only occasion where you might need more than one material per model is maybe character models. Even then not necessarily. You can always split your model into parts which only have one material.
You can merge all you like, as long as the final model doesn't have too many clusters(you can find clusters here: YOUR_MODEL>PolyMsh>Clusters).
Usually you won't need 6 materials per model. The only occasion where you might need more than one material per model is maybe character models. Even then not necessarily. You can always split your model into parts which only have one material.
You can merge all you like, as long as the final model doesn't have too many clusters(you can find clusters here: YOUR_MODEL>PolyMsh>Clusters).
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
Sorry, I am not much experienced in this... So, each time, as I click on "Phong" button, to add new material, to my model parts, it creates new cluster? Well, it may explain something: most of my models usualy has 40-50 clusters. MshEx can handle with it, and I had no problem with export before. Reason, why I need so many clusters/materials is next: most of my models has shiny, transparent, scroll parts, and I need to make different materials for them, for editing them with HEX editor, after export. So, have to forget about shiny lights, in my animated door? It is realy sad...
Well, I try to do, what you say: I merge my primitives, and only after that, add single material to polymesh. Result: it has no texture bug.
Still, crash problem stay, where it was. Well, I do not know, how to correct delete all materials, from already created model, but here is my simple method: I create some small primitive, let's say a "cube", and merge it, with my model, but do not merge materials. After that, I just delete "cube" part, and as result got totaly untextured model. So, I try to do this, with my complicated models, and add single material for them. But when I try them, they crash anyway.
So, I think, the crash problem, probably isn't connected with clusters...
Well, I try to do, what you say: I merge my primitives, and only after that, add single material to polymesh. Result: it has no texture bug.
Still, crash problem stay, where it was. Well, I do not know, how to correct delete all materials, from already created model, but here is my simple method: I create some small primitive, let's say a "cube", and merge it, with my model, but do not merge materials. After that, I just delete "cube" part, and as result got totaly untextured model. So, I try to do this, with my complicated models, and add single material for them. But when I try them, they crash anyway.
So, I think, the crash problem, probably isn't connected with clusters...
- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
Did you make sure that you only have tris and quads? The problem is in the STRP chunk which contains polygons. If you select the bottle and press the 'Check Sel' button it will analyze your model for problems.ANDEWEGET wrote:Yes, the crash problem must be caused by something else. But the problem why it's crashing should be easy to find out if you send me a .msh file which crashes.
You don't have to forget about having many materials, you just have to try out how many clusters per model you can have without the texture bug. If you get the texture bug just extract some of the clusters into their own models(Select the polygons and Create>Poly. Msh>Extract Polygons(delete)).
You can see all the materials in the current scene by pressing CTRL + 7 or going to View>Rendering/Texturing>Material Manager, or ZE Tools>.MSH Tools>Manage Materials...(that's my own material manager, it has fewer features but supports SWBF flags and rendertypes).
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
Ok, chek it:
Warnings for polymsh:
Bad Faces
Warnings for texture support:
Bad model type:Texture Support(might cause problems, freeze to remove it.)
"tris and quads"? Hmm... Not sure, what you mean, but here what I do: I create primitive cylinder, deform & move & scale polygons; duplicate it; cut & create some new poligons; merge two cylinders, add material with cylindrical projection and freeze all transforms... That's it...
Warnings for polymsh:
Bad Faces
Hidden/Spoiler:
Bad model type:Texture Support(might cause problems, freeze to remove it.)
"tris and quads"? Hmm... Not sure, what you mean, but here what I do: I create primitive cylinder, deform & move & scale polygons; duplicate it; cut & create some new poligons; merge two cylinders, add material with cylindrical projection and freeze all transforms... That's it...
- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
Well, we've found the problem... 
To quickly fix this, select the model and press Modify>Poly. Msh>Triangulate(on the left panel).
My exporter only exports faces with 3 or 4 sides/vertices.
The second one isn't really a problem now. It goes away if you select your models and press the Freeze button in the bottom right corner. Don't freeze enveloped meshes though!
Quad(four-sided polygon/4 vertices/points per polygon):
Tri(three-sided polygon/3 vertices/points per polygon):
O's are points, lines/dots are edges between points.

To quickly fix this, select the model and press Modify>Poly. Msh>Triangulate(on the left panel).
My exporter only exports faces with 3 or 4 sides/vertices.
The second one isn't really a problem now. It goes away if you select your models and press the Freeze button in the bottom right corner. Don't freeze enveloped meshes though!
Quad(four-sided polygon/4 vertices/points per polygon):
Code: Select all
O----O
| |
| |
O----O
Code: Select all
O----O
| .
| .
O
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
Yes! It realy work's now!
Unfortunately I didn't found Freeze button in the bottom right corner. I may click only Transform>Freeze All Transform.
Hope someday, you can "teach" your tool, recognize more then 1 cluster/material...
If I ever figure out, how to export door animations, I will continue my testings...
Unfortunately I didn't found Freeze button in the bottom right corner. I may click only Transform>Freeze All Transform.
Hope someday, you can "teach" your tool, recognize more then 1 cluster/material...
If I ever figure out, how to export door animations, I will continue my testings...

- minilogoguy18
- Master Bounty Hunter
- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: XSI ZETools
Perhaps you can add a script or something so that it triangulates the model on export but the model in the scene stays as is. The dotXSI exporter can do this and us JA modders have to have that setting checked too since JA doesn't like anything with more than 3 sides.
You can freeze enveloped meshes, you just have to use the "Freeze M" button rather than the regular "Freeze". That way you can freeze the modeling construction history without affecting the others like animation which will hold the envelope weights operator.
sereja:
To find the buttons on the bottom right tool pane you either need to increase your screen resolution so they show or right click on one of the things like Select or Transform to collapse those menus.
You can freeze enveloped meshes, you just have to use the "Freeze M" button rather than the regular "Freeze". That way you can freeze the modeling construction history without affecting the others like animation which will hold the envelope weights operator.
sereja:
To find the buttons on the bottom right tool pane you either need to increase your screen resolution so they show or right click on one of the things like Select or Transform to collapse those menus.
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
Ok, here some quick question: what exactly selected parameters, of export aplication, should I use for animated door exporting (under "Misc")? I mean, for door.msh, basepose.msh, and open.msh?
- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
Added a small tutorial on how to export a door animation to the guidelines/tutorials:ANDEWEGET wrote:@Sereja: I'll see if I can piece together a small tutorial on how to export animations with my exporter later or tomorrow.
Actually it recognizes more clusters/materials per model. I exported some models with 2 or 3 clusters/materials and they all worked fine.
@mini: Hmm, worth a try. Might be that this isn't possible without rewriting a lot of code. Have to try it tomorrow or so.
https://sites.google.com/site/andescp/zet_m
This does not explain how to munge it, we already have a tutorial for that.
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
I just test it with SWBF2 munge folders, and the animation is realy works!
I create totaly new simple door, totaly similar, as it look's in tutorial.
Unfortunately it has no collision, and may not crash for SWBF2 only. But the same happens, when Lephenix, try to help me export my door with real XSI and Pandemic addon, so, I may say, your tool is functional, similar to Pandemic! I just can making only incorrect doors.
But about texture, I was not so lucky, and just can't add more then 1 material, and here the one of my old sample, with 2 materials:
Sorry, but I am sure, you still need to fix this bug...
I create totaly new simple door, totaly similar, as it look's in tutorial.
Unfortunately it has no collision, and may not crash for SWBF2 only. But the same happens, when Lephenix, try to help me export my door with real XSI and Pandemic addon, so, I may say, your tool is functional, similar to Pandemic! I just can making only incorrect doors.

But about texture, I was not so lucky, and just can't add more then 1 material, and here the one of my old sample, with 2 materials:
Hidden/Spoiler:
- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
So, I found the problem. Let's assume we have a model with 2 clusters. The 2 clusters make up the complete geometry. Cluster 1 has Material1, Cluster 2 has Material2. The model itself is merged from 2 others. So the model itself doesn't have a material manually applied, that means it gets the Scene_Material automatically.ANDEWEGET wrote:Separate models.
Cube primitive(with Cubic UV projection), Sphere primitive(with Spherical Projection).Merged models.Hidden/Spoiler:
I selected the 2 primitives, used Merge, merged materials, then dragged the polymsh under the root null I have.And the hierarchy:Hidden/Spoiler:I didn't freeze anything. I seriously have no idea how you do that...Hidden/Spoiler:
Maybe send me that scene with the 2 materials. Then I'll take another look.
Now, the problem was that sometimes one of XSI's internal functions returned 2 materials (Material1 and Material2) and sometimes returned 3 materials (Scene_Material, Material1 and Material2). This still wouldn't cause a problem if Scene_Material was returned as second or more. It only would produce a problem if it was returned as first material. Then my geometry split algorithm peppered it up and assigned some faces to the wrong material.
This should be history now though.

I'll see if I can find some more stuff to do then I'll release the revised version.
And Sereja, if you want collision primitives exported with the ZETools you should follow the Collision guidelines on this page:
https://sites.google.com/site/andescp/zet_m
Otherwise the hierarchy of you door looks fine.
Added the new version to the first post.
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
Yes, it's realy can export many materials now! I just export my door with 25 materials!
Unfortunately now, it can't export anims at all
, and say this:
Unfortunately now, it can't export anims at all

Hidden/Spoiler:
- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
Seems there was a problem with my sync tool. It messed something up so the 2 .exe files you need for animation export were somehow gone...
Added r4 to the first page. Should work now.
Added r4 to the first page. Should work now.
-
- Command Sergeant Major
- Posts: 253
- Joined: Wed Aug 31, 2011 4:22 am
- Projects :: Naboo Otoh Gunga
- xbox live or psn: No gamertag set
- Location: Ukraine
Re: XSI ZETools
Yes, it's realy work's now!
Great job! This day, should be stay in htstory, of 3D modeling!
Still, I think, it's cud be nice, if you release another "template", with realy working door...


Still, I think, it's cud be nice, if you release another "template", with realy working door...
-
- Master Bounty Hunter
- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: XSI ZETools
Just used the ZETools to export my first working weaponmodel. Everything went flawlessly. Great work and thanks a lot, ANDE! 

- ANDEWEGET
- Ancient Force
- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: XSI ZETools
Good to hear that everything seems to work nicely!
Templates can only be in .xsi format and AFAIK you can't preserve primitive data with that. So in the end the template would just be 2 resized cubes and some nulls... Dunno if that's worth it.
Templates can only be in .xsi format and AFAIK you can't preserve primitive data with that. So in the end the template would just be 2 resized cubes and some nulls... Dunno if that's worth it.
- Tears2Roses
- Chief Warrant Officer
- Posts: 336
- Joined: Thu Jul 07, 2011 9:20 am
- Projects :: Oh some random stuff who knows
- xbox live or psn: PC beats xbox.
Re: XSI ZETools
I am getting this error as soon as I start softimage:
as soon as I click no the error goes away.
Hidden/Spoiler:
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: XSI ZETools
Try updating Softimage like it's telling you. 
