Skip to content

Commit

Permalink
Corrected 78 normals (+ raw gold normals) + adjusted raw gold block
Browse files Browse the repository at this point in the history
  • Loading branch information
Poudingue committed Nov 15, 2021
1 parent b56a7fa commit c7d6f5d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
Binary file modified assets/minecraft/textures/block/raw_gold_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/minecraft/textures/block/raw_gold_block_n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/minecraft/textures/entity/boat/boat_oak_n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/minecraft/textures/entity/squid_n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def normalize(path, depth):
# Keep original array for comparison
original_arr = arr

arr = arr.astype(dtype=np.float) / 255
arr = arr.astype(float) / 255

arr *= 2
arr -= 1
Expand Down Expand Up @@ -83,5 +83,7 @@ def normalize(path, depth):

t0 = time()
curr_path = os.path.abspath(".")
total_nb = normalize(curr_path, depth=0)
for ii in range(256):
print(f"Iteration {ii}")
total_nb = normalize(curr_path, depth=0)
print("Finished, total of %s files repainted in %s seconds" % (total_nb, int(time() - t0)))
2 changes: 1 addition & 1 deletion patch_notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Added :
- Raw gold block

Fixed :
- Some impossible normals slightly corrected
- 78 normal files with some impossible values finally 100% corrected
- Incorrectly named "exidized_cut_copper.png"
- Dolphin now in the correct folder
- Removed unused "dropper_front_horizontal" normal texture
Expand Down

0 comments on commit c7d6f5d

Please sign in to comment.