niftools / blender_niftools_addon

The Blender Niftools Addon is a Blender add-on to enable import and export of NetImmese File Formats including .nif, .kf, .egm.
http://www.niftools.org
Other
379 stars 103 forks source link

Some parts of the imported model have wrong UV map #364

Open aymen157 opened 4 years ago

aymen157 commented 4 years ago

@niftools/blender-nif-plugin-reviewer -

Before creating a new issue, ensure that

Version Information

2.8.2 & 2.8.0

Blender Nif Plugin Version Info

ALL (even NifSkope)

INFO

some parts of the imported model gets wrong uv, while some others work fine

Example

qds

Textures & Model

GXA00.zip - Model Example of textures that its UV is wrong

How to assign textures for this model

Go for Model(GXA00)>LODGroup01>Root>"object name that the texture's name starts with" and disable all other objects if you want

Example : texture G5A02S06.png is assigned to model LODGroup01>Root>#G5A

HENDRIX-ZT2 commented 4 years ago

If it's wrong in nifskope already there's not much we can do IMO. If you want us to investigate the issue, we need the model with the issue and all of its textures.

aymen157 commented 4 years ago

Thats the model, all of its textures are 5gb, thats because its an RPG human character with all sets/skins as textures that assign to the mesh parts when the equipped item is changed, i included textures of an example set (boots) that has its part that it gets assigned to (the mesh) with wrong UV

HENDRIX-ZT2 commented 4 years ago

The way I see it, this is a decal texture but the nif has no uv set that maps the texture to the specific uv layer. Correct?

aymen157 commented 4 years ago

Yep

HENDRIX-ZT2 commented 4 years ago

As there's no way to determine when which UV set should be used, there is no solution unless a specific algorithm is proposed. Like this: if no uv info in tex property: if base texture, use uv 0 if decal0 texture, use uv 1

aymen157 commented 4 years ago

something strange in nifskope is that it links to this texture : G5A01S51.dds G5A01S51 but the uv that nifskope shows doesn't match it, unlike all other parts of the model, their uv is totally fine

for example G5F's UV matches this texture : G5F02S19

HENDRIX-ZT2 commented 4 years ago

Then I don't think we can address this with the plugin.

neomonkeus commented 4 years ago

Also which game is this from?

HENDRIX-ZT2 commented 4 years ago

Maybe rename to: "Guess UV layer if tex desc does not specify one"

aymen157 commented 4 years ago

Also which game is this from? All AeriaGames are built like that (aura kingdom, edent eternal, grand fantasia, twin saga etc ..) this is Grand Fantasia : https://grandfantasia.aeriagames.com/