Game Development Community

Missing vertex weight... or not

by Haris Rizopoulos · in Artist Corner · 07/22/2005 (3:18 pm) · 8 replies

Hello

I used Physique to link a biped to a mesh and adjusted the envelopes. I then used the Physique to Skin converter utility and the conversion was (apparently) successful. The problem is, I get an error message about vertex 521 missing a weight. I checked that vertex in the weight table and it has a weight of 1.000! There are other vertices before no. 521 that have only one weight (they are controlled by only one node), but it looks like they do not present any problem. What can I do about this troublesome vertex?

#1
07/22/2005 (3:50 pm)
Have you tried the 'Magnus' method of moving your model to see which vertex is left behind?

Here is a link to a video showing how Magnus does it.

torque.smdlabs.com/media/freeTutorials/quickClips/findVert.htm

B--
#2
07/22/2005 (4:03 pm)
Yes, I have tried that, nothing is left behind...
#3
07/22/2005 (4:25 pm)
One thing to keep in mind; The vertex id reported by the exporter is NOT the same as the id in the weight table.
#4
07/22/2005 (4:51 pm)
Exactly Magnus, check the .dmp file located in the target directory to get an idea where the location is.. here is a quickClip that talks about this very problem.

torque.smdlabs.com/media/freeTutorials/quickClips/paintWeights.htm

B--
#5
07/23/2005 (5:10 am)
I checked the dump file and it says that the vertex no. 521 is different that the vertex no. 521 shown in the weight table. According to the dump file, that particular vertex is controlled by the left arm and DOES have a weight of 1.000. I tried to paint weights as shown in the video, and it did not work. As I said, nohing gets left behind when I move the biped.
At the end of the dump file it says "optimising meshes...", and nothing more. That's where it gets stuck. Any suggestions?
#6
07/23/2005 (6:04 am)
I checked the dump file and it says that the vertex no. 521 is different that the vertex no. 521 shown in the weight table. According to the dump file, that particular vertex is controlled by the left arm and DOES have a weight of 1.000. I tried to paint weights as shown in the video, and it did not work. As I said, nohing gets left behind when I move the biped.
At the end of the dump file it says "optimising meshes...", and nothing more. That's where it gets stuck. Any suggestions?
#7
07/23/2005 (6:17 am)
Haris, on an error free export, here is the last part of the '.dmp' file after optimizing meshes..

Optimizing meshes...

Optimizing skin mesh "objdefault1" detail level 1.
4296 verts before joining verts
1356 verts after joining verts
1432 faces before stripping
Using quick and dirty stripping method.
266 strips with average length 9.15 (range 3 to 105) and 469 reversals
Results in 1556 cache misses

Shape Hierarchy:

Details:
detail1, Subtree 0, objectDetail 0, size 1

Subtrees:
Subtree 0
Bip01 Pelvis
Bip01 Spine
Bip01 Spine1
Bip01 Neck
Bip01 Head
Eye
Bip01 R Clavicle
Bip01 R UpperArm
Bip01 R Forearm
Bip01 R Hand
Bip01 R Finger0
Bip01 R Finger1
Bip01 R Finger2
Mount0
Bip01 L Clavicle
Bip01 L UpperArm
Bip01 L Forearm
Bip01 L Hand
Bip01 L Finger0
Bip01 L Finger1
Bip01 L Finger2
Bip01 L Thigh
Bip01 L Calf
Bip01 L Foot
Bip01 L Toe0
Bip01 R Thigh
Bip01 R Calf
Bip01 R Foot
Bip01 R Toe0

Skins:
Skin objdefault with following details: 1


Sequences:

Material list:
material #0: "objdefault1CompleteMap".

Checking for duplicate nodes...

Checking for duplicate objects...


This might help you to see what the exporter is working on next.. If you still can't figure it out I can take a look at it for you.

support@smdlabs.com

B--
#8
07/25/2005 (5:30 pm)
After Brandon indicated to me that the problem lay in the hands, i tried using only one finger per hand and scaling it up so that it covered all the fingers. That gave it a pincer-like look. Surprisingly, the model exported successfully! I guess some vertices were left uncontrolled and did not show when I used the "Magnus method". Thanks for all your help! I'm pretty sure I'm gonna face countless other problems with DTS/DSQ export though!!!