News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 266
Total: 266

Author Topic: Ugh, Mesh tearing!  (Read 3948 times)

0 Members and 117 Guests are viewing this topic.

Ugh, Mesh tearing!
« on: »
I'll update this post with screen grabs and detailed information later today, but a brief description is as follows:

I'm making custom armor, using custom models.

Individually, all of the pieces of armor work, this is what I have.

Helmet - Using Helmet, Helmet.dds
Chest - Using ExChest, ExChest.dds
Hands - Using ExForearm and ExHand, ExHand.dds x2
Pants - Using ExMidLeg, ExMidLeg.dds
Feet - Using ExFoot and ExCalf, ExFoot.dds x2

All variations of the armor can be equipped at the same time, EXCEPT the body and legs! For some reason, when this combination is equipped, the user model is torn and the only thing that remains is ExChest, not even a player model.

This is fixed if I unequip and re-equip, however it will tear again once the character is re-loaded, such as Save & Exit and Resume.

In blender, everything is named correctly, as well as the skeleton. The item files themselves are simple and bare bones, they are clones and simple contain the MESH: line, no texture line. the material file is filled out and has been looked over a million times to verify there are no spelling errors, texture errors or model/mesh errors.

Has anyone experienced this? Is there something I'm overlooking? I'll add screen grabs for an example and will upload files if requested.

Any help would be appreciated, thanks ^^

EDIT: Screen Grabs added with variations of pieces equipped and when the tear occurs
« Last Edit: April 06, 2016, 06:30:12 pm by Haxley »

Share on Bluesky Share on Facebook


Re: Ugh, Mesh tearing!
« Reply #1 on: »
Hey Hax! I cant offer a straightup solution, but i could take look at the .MESH.XML file for any problems there. Id just need the .MESH file, the one thats giving u problems i guess...


Re: Ugh, Mesh tearing!
« Reply #2 on: »
I'll add screen grabs for an example and will upload files if requested.
This.  :)

Re: Ugh, Mesh tearing!
« Reply #3 on: »
updated

Re: Ugh, Mesh tearing!
« Reply #4 on: »
updated again

Re: Ugh, Mesh tearing!
« Reply #5 on: »
Am at work but will download ur RAR now and get to it tonight ;)

EDIT:
WHOAH! It's Kakashi!!!
« Last Edit: April 06, 2016, 10:33:47 pm by Phanjam »


Re: Ugh, Mesh tearing!
« Reply #6 on: »
You have a lot of textures, perhaps it causes conflict. May be one unit must have a certain amount?

Re: Ugh, Mesh tearing!
« Reply #7 on: »
A few bits of information that might be helpful:

The wardrobe/mesh only uses TWO textures, The headband texture, and then one for the remaining pieces [4 of 5 pieces share 1 texture, 1 has it's own]

It seems that the tearing is not strictly due to 'number of textures', I say this because I can equip 4 of 5 pieces [all but body] and have everything work correctly, alternatively, I can equip most pieces with regular armor [which would put it at +1 texture] and they work fine. It seems that theres a skeleton or mesh issue somewhere, which i previously thought to be a spelling error. After having lost half of my head of hair, I've found that this may not be the case, as I've re-made the entire mesh several times, with different names, etc.

Thanks for your time you guys, and let me know if anything pops up that looks weird~

I'm gonna keep banging my head on this until it works! Woo!

Ninjanuity!

Re: Ugh, Mesh tearing!
« Reply #8 on: »
The things I usually have to check for are:

  • Are all my faces triangulated?
  • do I have any verticies with no bone weights assigned?
  • did I forget a piece of armor

I assume there is nothing in the ogre log file?

I don't see anything immediately wrong with this mesh, I'm not real familiar with tl2 yet. Loads fine in the viewer. I did some checking in blender and didn't see anything weird.  A lot of duplicate vertices.  That may be part of the import script though.

Maybe make a dummy armor mesh to test with where you just have a single triangle for each piece, weighted, even if it is just everything weighted 1 to bip01. See if that has the same issue.  Then one by one, swap out a piece for your desired mesh until something stops working.

Is there a vertex count limit in tl2?  Maybe make a dummy armor



Re: Ugh, Mesh tearing!
« Reply #9 on: »
Heyya Hax! I have your files but the .MESH does not want to open up in the OGRE XML Converter tool. The command line window will flash for a split second (way too fast to read any error message) and then disappear :(

I can open up the .SKELETON tho. It has an identical bone hierarchy with the vanilla HUM_F.SKELETON, but you probably already knew that.

Since I can't see inside the .MESH for the moment (and maybe that's a sign right there) my layman's guess is a bone mismatch of some kind.


Re: Ugh, Mesh tearing!
« Reply #10 on: »
I opened it with ogre tools no problem.  You are using version 1.7.2 right?

Re: Ugh, Mesh tearing!
« Reply #11 on: »
I can't seem to find a version number, but the "modified date" on the .exe is July 27, 2009.


Re: Ugh, Mesh tearing!
« Reply #12 on: »
I can't seem to find a version number, but the "modified date" on the .exe is July 27, 2009.
you need November 5, 2010  :)
Download OGRE (O-O Graphics Rendering Engine) OgreCommandLineTools_1.7.2.zip.
sourceforge.net
« Last Edit: April 11, 2016, 11:54:17 pm by Kva3imoda »

Re: Ugh, Mesh tearing!
« Reply #13 on: »
Thanks Kva!

Hey Hax. I just compared your .MESH with the submesh structure of HUM_F.MESH. Don't know if they're critical but there are differences...

Spoiler (hover to show)

« Last Edit: April 12, 2016, 02:15:20 am by Phanjam »


Re: Ugh, Mesh tearing!
« Reply #14 on: »
I re-made the entire mesh SANS body pieces, I.E., The only pieces in my wardrobe are EX pieces, and the Helmet. I've found that it's the Helmet that is causing the issue, as when I REMOVE the helmet from the mesh [and leave the remaining EX parts] they all equip correctly~ When I re-made the exact same mesh that INCLUDED the headband, it was torn apart.

Given this information, is there anything you guys see that could cause tearing, and is related to the helmet/head?

Note that I am using a CUSTOM WARDROBE SET that only uses 'ADD:Helmet', and by doing this it does not remove scalp/etc/etc

Could this be an area of issue? Please let me know if you guys can think of anything~

Thanks!

 

Recent Topics+-