Texture issue?

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Texture issue?

Postby --- » 09 May 2019, 07:52

Any idea why this happens sometimes?
---
Priest
 
Posts: 464
Joined: 26 Sep 2013, 10:24
Has liked: 5 times
Been liked: 192 times

Re: Texture issue?

Postby tatsu » 10 May 2019, 10:24

something along the lines of the following :

texture for ground including mass and hydro icon are contained in a single picture.

game is told to look from x1 y1 to x2 y2 for the required texture and x3 y3, x4 y4 for where to map them onto the terrain.

errors in the calculation will lead to offsets in these mapping x and y values for "chunks" of in-memory gamestate.

it's a bug. although I doubt the bug is on the lua side of the code. it would unfortunately be binary-side.

I've seen these as far back as GPGnet.
Last edited by tatsu on 14 May 2019, 16:54, edited 2 times in total.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Texture issue?

Postby --- » 10 May 2019, 16:54

Thank you for the explanation :)
---
Priest
 
Posts: 464
Joined: 26 Sep 2013, 10:24
Has liked: 5 times
Been liked: 192 times


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest