blender_niftools_addon icon indicating copy to clipboard operation
blender_niftools_addon copied to clipboard

Some parts of the imported model have wrong UV map

Open aymen157 opened this issue 5 years ago • 10 comments

@niftools/blender-nif-plugin-reviewer -

Before creating a new issue, ensure that

  • [x] Read the user documentation.
  • [x] Check that the issue hasn't already been reported.
  • [x] Read through the list of Helpful resources links on the right-hand side.

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

aymen157 avatar May 27 '20 10:05 aymen157

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.

HENDRIX-ZT2 avatar May 27 '20 10:05 HENDRIX-ZT2

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

aymen157 avatar May 27 '20 10:05 aymen157

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?

HENDRIX-ZT2 avatar May 27 '20 11:05 HENDRIX-ZT2

Yep

aymen157 avatar May 27 '20 11:05 aymen157

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

HENDRIX-ZT2 avatar May 27 '20 11:05 HENDRIX-ZT2

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

aymen157 avatar May 27 '20 12:05 aymen157

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

HENDRIX-ZT2 avatar May 27 '20 13:05 HENDRIX-ZT2

Also which game is this from?

neomonkeus avatar May 27 '20 14:05 neomonkeus

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

HENDRIX-ZT2 avatar May 27 '20 15:05 HENDRIX-ZT2

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/

aymen157 avatar May 28 '20 16:05 aymen157