HOME | DD

waitht — Scorpion blender test

#spiderman #monster #scorpion
Published: 2022-09-18 12:51:33 +0000 UTC; Views: 2215; Favourites: 28; Downloads: 37
Redirect to original
Description Static model export from spiderman remastered.  Animation export method unknown.
Some textures may be used incorrectly.

About textures export: using github.com/leonyarov/SpiderMan… . Some textures may export properly with bc7, while others may export with bc1.
dds to png: Intel® Texture Works Plugin for Photoshop* by GameTechDev  a PS plugin to load .dds to photoshop. 
Yellowish 2-channel  normal map: blue_channel = sqrt(1 - red_channel * red_channel - green_channel * green_channel); 

I worte a python script to concatenate left 32 pixels to right. 
from PIL import Image
import numpy as np
import os
tempdir=r"C:\BC7_temp"
# (H, W, 3)
for _,_,files in os.walk(tempdir):
   for f in files:
       img = Image.open(os.path.join(tempdir, f))
       img_array = np.array(img)
       left = img_array[:, 0:32, :]
       left_up = left[0:4, :, :]
       left_down = left[4:, :, :]
       left_new = np.concatenate((left_down, left_up), axis=0)
       right = img_array[:, 32:, :]
       res = np.concatenate((right, left_new), axis = 1)
       Image.fromarray(res).save(os.path.join(tempdir, f))

If you know a better way to export models, please leave in comment.
Related content
Comments: 2

Bradyradtke [2022-09-18 20:00:48 +0000 UTC]

👍: 0 ⏩: 1

waitht In reply to Bradyradtke [2022-09-19 00:39:56 +0000 UTC]

👍: 0 ⏩: 0