Stretched or repeating textures

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
User avatar
pango
Posts: 1314
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Stretched or repeating textures

Post by pango » Thu May 02, 2019 6:39 pm

First, Kozanset variants of the same... Do they need to be fixed separately?
Screenshot.jpg
Screenshot.jpg (214.9 KiB) Viewed 367 times
Attachments
SAVE247.zip
(436.78 KiB) Downloaded 15 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 1314
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Stretched or repeating textures

Post by pango » Thu May 02, 2019 6:39 pm

Screenshot.jpg
Screenshot.jpg (230.93 KiB) Viewed 367 times
Attachments
SAVE248.zip
(451.43 KiB) Downloaded 15 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 1314
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Stretched or repeating textures

Post by pango » Thu May 02, 2019 6:41 pm

Then I noticed issues with roof, maybe that the kind of thing you were trying to fix?
Screenshot.jpg
Screenshot.jpg (197.66 KiB) Viewed 366 times
Attachments
SAVE250.zip
(420.21 KiB) Downloaded 16 times
SAVE249.zip
(415.04 KiB) Downloaded 14 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 1314
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Stretched or repeating textures

Post by pango » Thu May 02, 2019 6:54 pm

And now for something completely different...
Daggerfall treasury room that started to melt
Screenshot.jpg
Screenshot.jpg (212.23 KiB) Viewed 364 times
Attachments
SAVE252.zip
(490.68 KiB) Downloaded 15 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Ferital
Posts: 124
Joined: Thu Apr 05, 2018 8:01 am

Re: Stretched or repeating textures

Post by Ferital » Thu May 02, 2019 7:51 pm

pango wrote:
Thu May 02, 2019 6:41 pm
Then I noticed issues with roof, maybe that the kind of thing you were trying to fix?
That was not with this model but it's probably the same issue. However I couldn't check your saves, it says "Terrain sampler changed, Repositioning the player" and I'm immediately teleported outside the town.
pango wrote:
Thu May 02, 2019 6:54 pm
And now for something completely different...
Daggerfall treasury room that started to melt
Same issue with the UVunpack method. If I comment it out, it works (but then many other planes are broken).

User avatar
King of Worms
Posts: 2035
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Stretched or repeating textures

Post by King of Worms » Thu May 02, 2019 10:42 pm

"Terrain sampler" msg is because Pango uses Distant terrain mod. So either you install it, or Pango need to deactivate is and create new save files.

Ive found that the cheaper ship model (cost 100 000) is FULL of texture issues.

Ill post some saves and screens. But its around 10 or more bugs..

User avatar
Interkarma
Posts: 4707
Joined: Sun Mar 22, 2015 1:51 am

Re: Stretched or repeating textures

Post by Interkarma » Fri May 03, 2019 1:16 am

Ferital wrote:
Thu May 02, 2019 7:51 pm
Same issue with the UVunpack method. If I comment it out, it works (but then many other planes are broken).
The trouble with the classic UV formats is they're so specific to the XnGine software renderer. They don't translate back to modern 0-1 domain without some blood in water. Fix one thing and break another - it's frustrating to be sure. I beat my head against the wall for years on this one in the early days to end up with the previous setup - and it was still far from perfect.

Your approach of patching the UV coordinates is a much better one, I think. It might be more manual but eventually all of these problems can be fixed. :)

User avatar
pango
Posts: 1314
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Stretched or repeating textures

Post by pango » Fri May 03, 2019 3:33 am

Ferital wrote:
Thu May 02, 2019 7:51 pm
However I couldn't check your saves, it says "Terrain sampler changed, Repositioning the player" and I'm immediately teleported outside the town.
Arg. As KoW said, I was using Distant terrain mod...

(by the way, relocating the player in towns for using a different terrain generator looks a bit heavy handed, can terrain generators change the height of towns?)
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Ferital
Posts: 124
Joined: Thu Apr 05, 2018 8:01 am

Re: Stretched or repeating textures

Post by Ferital » Fri May 03, 2019 8:12 am

Interkarma wrote:
Fri May 03, 2019 1:16 am
The trouble with the classic UV formats is they're so specific to the XnGine software renderer. They don't translate back to modern 0-1 domain without some blood in water. Fix one thing and break another - it's frustrating to be sure. I beat my head against the wall for years on this one in the early days to end up with the previous setup - and it was still far from perfect.

Your approach of patching the UV coordinates is a much better one, I think. It might be more manual but eventually all of these problems can be fixed. :)
I understand what you experienced, I also came to the conclusion there isn't a perfect solution for interpreting weird DF UV coords. At least as you say, all models which do not translate well in moden engines can be patched at runtime. In the end, we might be able to remove the UVunpack method entirely. :)

User avatar
Hazelnut
Posts: 1380
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Stretched or repeating textures

Post by Hazelnut » Sat May 11, 2019 6:55 pm

Just checked a couple of spots of stretched textures from my test save collection and they're sorted, great work!

Post Reply