Hologram calls, HaulOS phone, Enhanced lighting, smoother camera; Blender remaster review files
Game: - Assistant and Director portraits: GPT backgrounds and a holographic appear/disappear shader (Talk/TalkHolo) instead of on/off - Phone redesigned (HaulOS home, address bar, dock, error/loading states) and the browser link made sturdier - Settings > Graphics > Lighting: Classic / Enhanced (runtime volume, no project assets changed); Enhanced SSAO uses the smooth interleaved-gradient method at high samples so flat panels don't speckle - Painted board textures (T_HullPanel, T_BarnRed) keep only edge wear: the big bare-wood patches read as dirty smudges - The head leans into a sidestep smoothly instead of snapping with A / D - New keys in all 11 languages Review only (nothing swapped into the game yet): ArtSource/Blender/remaster (v1 paint pass of our own models, Synty-built ones left out), remaster/crew (crew repaint with arm, colour-edge and face fixes), remaster_v2 (smooth-geometry pilot). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
48
ArtSource/Blender/remaster/scripts/verify_remaster.py
Normal file
48
ArtSource/Blender/remaster/scripts/verify_remaster.py
Normal file
@ -0,0 +1,48 @@
|
||||
"""Checks every remastered FBX against the game FBX: same object names, parents, origins (world, 1 mm) and rotations,
|
||||
and that slots the game finds by name (M_PhoneGlow, glow/glass slots) are still there.
|
||||
Run: blender -b --factory-startup --python verify_remaster.py --python-exit-code 1
|
||||
"""
|
||||
import bpy, os, sys
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import remaster as R
|
||||
|
||||
|
||||
def load(path):
|
||||
bpy.ops.wm.read_factory_settings(use_empty=True)
|
||||
bpy.ops.import_scene.fbx(filepath=path)
|
||||
out = {}
|
||||
for o in bpy.context.scene.objects:
|
||||
mats = set()
|
||||
if o.type == "MESH":
|
||||
mats = {R.base_name(m.name) for m in o.data.materials if m}
|
||||
out[o.name] = (o.parent.name if o.parent else None, o.matrix_world.translation.copy(),
|
||||
o.matrix_world.to_euler(), o.type, mats)
|
||||
return out
|
||||
|
||||
|
||||
bad = 0
|
||||
for n in R.ALL:
|
||||
rp = os.path.join(R.FBXOUT, n + ".fbx")
|
||||
if not os.path.exists(rp):
|
||||
print("[verify] %-24s no remaster FBX" % n)
|
||||
continue
|
||||
a = load(os.path.join(R.MODELS_DIR, n + ".fbx"))
|
||||
b = load(rp)
|
||||
probs = []
|
||||
if set(a) != set(b):
|
||||
probs.append("names differ: missing %s extra %s" % (sorted(set(a) - set(b)), sorted(set(b) - set(a))))
|
||||
for k in set(a) & set(b):
|
||||
pa, ta, ra, ty, ma = a[k]
|
||||
pb, tb, rb, _, mb = b[k]
|
||||
if pa != pb:
|
||||
probs.append("%s parent %s -> %s" % (k, pa, pb))
|
||||
if (ta - tb).length > 0.001:
|
||||
probs.append("%s origin moved %.4f" % (k, (ta - tb).length))
|
||||
if max(abs(x - y) for x, y in zip(ra, rb)) > 0.001:
|
||||
probs.append("%s rotation changed" % k)
|
||||
lost = {m for m in ma if R.is_special(m)} - mb
|
||||
if lost:
|
||||
probs.append("%s lost special slots %s" % (k, sorted(lost)))
|
||||
bad += bool(probs)
|
||||
print("[verify] %-24s %s" % (n, "OK" if not probs else "; ".join(probs)))
|
||||
print("[verify] models with problems:", bad)
|
||||
Reference in New Issue
Block a user