Eye looking downwards - I finally know how it could be fixed

Skoczek

Starting XI
As in the title
If you don't know what I am talking about, it's the weird, small bug, that causes eye iris move downwards in-game compared to raw model in Blender or rendered in Creation Master.

This Cardozo should look straight, but looks at us.
It happens when we convert head models from FIFA 15 to 14 or sculp them in Face Master.
I was asking about why is this happening, but nobody cared. Most of the people just moved whole eyes upwards and call it a day. But, I finally found what is the cause and what could be a cure.
It's vertex groups and colors.
1645222393293.png

Here are three models of Iniesta. Only the center one has proper vertex painted eyes. Both col0 and col1. Only this one has 2 vertex groups, both being the same, but with different bone.
So, I appeal for two people.
@tokke001, your converter attaches FIFA 15 eyes to one bone 164 (face), but in FIFA 14 it has number 0 (reference) and probably more important 147 (head). Shouldn't they be that way as original model? It could be just cloned and renamed to 0 and 147.
@Death GOD 7 about your updated Blender plugin, the Auto Painter function seem to paint vertexes according to FIFA 15 skeleton, but painting it in FIFA 14 head model causes that as well. I don't know if it's possible, but there can be a selector between these two types (FIFA 14 and 15). In FIFA 15 it looks probably as intended.

I don't know how if it's applicable in code, I'm not a programmist, but I think, I can point out what can be done to improve stuff. Most faces from Classic Patch probably have the same issue, as GIGGIRIVA uses Face Master.

As a proof of concept, I manually repainted the eye vertex, and the effect is clearly visible.
1645224054951.png
 
Last edited:

Death GOD 7

Club Supporter
As in the title
If you don't know what I am talking about, it's the weird, small bug, that causes eye iris move downwards in-game compared to raw model in Blender or rendered in Creation Master.

This Cardozo should look straight, but looks at us.
It happens when we convert head models from FIFA 15 to 14 or sculp them in Face Master.
I was asking about why is this happening, but nobody cared. Most of the people just moved whole eyes upwards and call it a day. But, I finally found what is the cause and what could be a cure.
It's vertex groups and colors.
View attachment 87747
Here are three models of Iniesta. Only the center one has proper vertex painted eyes. Both col0 and col1. Only this one has 2 vertex groups, both being the same, but with different bone.
So, I appeal for two people.
@tokke001, your converter attaches FIFA 15 eyes to one bone 164 (face), but in FIFA 14 it has number 0 (reference) and probably more important 147 (head). Shouldn't they be that way as original model? It could be just cloned and renamed to 0 and 147.
@Death GOD 7 about your updated Blender plugin, the Auto Painter function seem to paint vertexes according to FIFA 15 skeleton, but painting it in FIFA 14 head model causes that as well. I don't know if it's possible, but there can be a selector between these two types (FIFA 14 and 15). In FIFA 15 it looks probably as intended.

I don't know how if it's applicable in code, I'm not a programmist, but I think, I can point out what can be done to improve stuff. Most faces from Classic Patch probably have the same issue, as GIGGIRIVA uses Face Master.

As a proof of concept, I manually repainted the eye vertex, and the effect is clearly visible.
View attachment 87748
About tokke001s' converter, FIFA 15 and FIFA 14 bones are different as bone sizes/count are different.

Afaik, the Auto Painter just does "normalize" of values (or I think it does). And since the script was originally coded for FIFA 15, I think all the adjustments are done based on FIFA 15 values.

But in overview, most meshes had one vertex color: col0 (I think some didn't have others). And in most vertex color , all normals, binormals, and tangents are usually stored in the same one (as per debugging, might be wrong as I haven't tested all meshes).
Eyes cols test :
* normals
1645588447264.png


* tangents
1645588480608.png


(Upper one is from dll and bottom one is from previous addon)

Also, there are 3 modes for Auto Paint and I haven't explored far in that section. Maybe try others as I haven't messed around auto paint.

1645588377590.png
 

tokke001

Senior Squad
As in the title
If you don't know what I am talking about, it's the weird, small bug, that causes eye iris move downwards in-game compared to raw model in Blender or rendered in Creation Master.

This Cardozo should look straight, but looks at us.
It happens when we convert head models from FIFA 15 to 14 or sculp them in Face Master.
I was asking about why is this happening, but nobody cared. Most of the people just moved whole eyes upwards and call it a day. But, I finally found what is the cause and what could be a cure.
It's vertex groups and colors.
View attachment 87747
Here are three models of Iniesta. Only the center one has proper vertex painted eyes. Both col0 and col1. Only this one has 2 vertex groups, both being the same, but with different bone.
So, I appeal for two people.
@tokke001, your converter attaches FIFA 15 eyes to one bone 164 (face), but in FIFA 14 it has number 0 (reference) and probably more important 147 (head). Shouldn't they be that way as original model? It could be just cloned and renamed to 0 and 147.
U say editing col0 (normals?) and col1 (tangents?) fixed the problem ?
U had do both, or only one ?

you tested that using bone 147 (head) for the eyes may fix the problem?

If it is 0 and 147 , or just 147 may be same : because probably the bone-weight of bone0 is 0

but using a different bone (147 or 164) may make a difference...
 
Last edited:


Top