From: Marcus Str Date: Sun, 29 Sep 2024 11:19:52 +0000 (+0200) Subject: Correction for multi-source fading and fixed bug in normal map generation. Final... X-Git-Url: https://marstr.online/code/gitweb.cgi?a=commitdiff_plain;h=5d05f376f6ba3c020e099308780e5dba56c5eba3;p=orthographic Correction for multi-source fading and fixed bug in normal map generation. Final testing to commence. --- diff --git a/textures/boundary/administrative/brd/b1.png b/textures/boundary/administrative/brd/b1.png new file mode 100644 index 0000000..921b503 Binary files /dev/null and b/textures/boundary/administrative/brd/b1.png differ diff --git a/textures/boundary/administrative/brd/b2.png b/textures/boundary/administrative/brd/b2.png new file mode 100644 index 0000000..13f583a Binary files /dev/null and b/textures/boundary/administrative/brd/b2.png differ diff --git a/textures/boundary/administrative/brd/b3.png b/textures/boundary/administrative/brd/b3.png new file mode 100644 index 0000000..099ecfd Binary files /dev/null and b/textures/boundary/administrative/brd/b3.png differ diff --git a/textures/boundary/administrative/ptc/b1_p1.png b/textures/boundary/administrative/ptc/b1_p1.png new file mode 100644 index 0000000..954bdf9 Binary files /dev/null and b/textures/boundary/administrative/ptc/b1_p1.png differ diff --git a/textures/boundary/administrative/ptc/b1_p2.png b/textures/boundary/administrative/ptc/b1_p2.png new file mode 100644 index 0000000..61e1afa Binary files /dev/null and b/textures/boundary/administrative/ptc/b1_p2.png differ diff --git a/textures/boundary/administrative/ptc/b2_p1.png b/textures/boundary/administrative/ptc/b2_p1.png new file mode 100644 index 0000000..347a7ea Binary files /dev/null and b/textures/boundary/administrative/ptc/b2_p1.png differ diff --git a/textures/boundary/administrative/ptc/b2_p2.png b/textures/boundary/administrative/ptc/b2_p2.png new file mode 100644 index 0000000..ec82ffa Binary files /dev/null and b/textures/boundary/administrative/ptc/b2_p2.png differ diff --git a/textures/boundary/administrative/ptc/b3_p1.png b/textures/boundary/administrative/ptc/b3_p1.png new file mode 100644 index 0000000..86d472c Binary files /dev/null and b/textures/boundary/administrative/ptc/b3_p1.png differ diff --git a/textures/boundary/administrative/ptc/b3_p2.png b/textures/boundary/administrative/ptc/b3_p2.png new file mode 100644 index 0000000..c513faa Binary files /dev/null and b/textures/boundary/administrative/ptc/b3_p2.png differ diff --git a/xp_normalmap.py b/xp_normalmap.py index 1394def..059aa8d 100644 --- a/xp_normalmap.py +++ b/xp_normalmap.py @@ -130,7 +130,7 @@ class mstr_xp_normalmap: nrm[1] = abs(nrm[1]) # Set pixel - nmp_pix[x,y] = (int(self.map_component(nrm[0])), int(self.map_component(nrm[1])), int(self.map_component(nrm[2])), 1) + nmp_pix[x,y] = (int(self.map_component(nrm[0])), int(self.map_component(nrm[1])), 255 - int(self.map_component(nrm[2])), 1) mstr_msg("xp_normalmap", "[X-Plane] Normal map generated") return nmp