diff --git a/ArtSource/Blender/scripts/gc_style_kit.py b/ArtSource/Blender/scripts/gc_style_kit.py new file mode 100644 index 0000000..a34e980 --- /dev/null +++ b/ArtSource/Blender/scripts/gc_style_kit.py @@ -0,0 +1,1191 @@ +"""GRASS CUTTER - the stylized, hand-painted tool kit: hand-painted albedo over real PBR metal ("mix PBR and hand paint"). +Shapes follow the chunky, soft-bevelled forms of ArtSource/Blender/stylized/ref/style_telescope.png; the palette is grounded (steel, dark +iron, brass, ash wood, linen) with no purple anywhere. + +Shared by gc_style_scythe.py and gc_style_tools.py. A tool builder makes its parts with the builders here (lofts, lathes, rounded boxes, +hex bolts, octagonal poles along a path, bands, nibs, clamps, blades); the parts go to the object named by group() ("Body", "BladeA", ...). +run() then, per tool: + joins each group into its object and puts the object's origin on its pivot (the game frame), + packs every part's own island (tubes and lathes unwrap to one rectangle each) into one UV map across the tool's objects, + bakes with Cycles, from one "painter" shader per surface type (palette PAINT, shared by the whole set): + T__Painted.png the albedo: a gradient between a dark and a light paint along the soft top light and the part's own up (on + blades: spine light, edge darker), painted light edges where the Bevel node's normal leaves the facet normal + (baked from a flat-shaded twin so every facet counts), dark creases from AO, streaks and brush strokes from + noise stretched along each part, a bright ground edge on blades. Metals carry less painted light, so the real + reflections do the work there. + T__Mask.png URP's metallic map: metallic in RGB, smoothness in A (per surface type; worn edges and a blade's ground edge + polished higher), + gives every object one material M__Painted (Principled: albedo, metallic = mask R, roughness = 1 - mask A, a little of the paint + as emission), exports fbx/.fbx with common.export's settings, renders previews/_*.png (EEVEE, a studio HDRI for the + reflections, a soft key, a warm rim, a neutral grey backdrop, and the ViewModel hold), saves .blend (opens in Material Preview), + and writes the material into ArtSource/materials_style.json (with "mask" and "paintGlow"). +Writes only into ArtSource/Blender/stylized/ (and the json). Never into Assets/. + +Blender space: metres, Z up, Blender -Y = Unity forward, Unity +X = Blender -X. +""" +import bpy, bmesh, math, os, sys, random, json, time +from mathutils import Vector, Matrix + +HERE = os.path.dirname(os.path.abspath(__file__)) +ROOT = os.path.normpath(os.path.join(HERE, "..", "..", "..")) +OUT = os.path.join(ROOT, "ArtSource", "Blender", "stylized") +GAME = os.path.join(ROOT, "Assets", "Art", "Models") +MATJSON = os.path.join(ROOT, "ArtSource", "materials_style.json") +DEG = math.radians +TAU = 2 * math.pi +Z = Vector((0, 0, 1)) + + +def lin(h): + h = h.lstrip("#") + c = [int(h[i:i + 2], 16) / 255.0 for i in (0, 2, 4)] + return tuple(((x + 0.055) / 1.055) ** 2.4 if x > 0.04045 else x / 12.92 for x in c) + + +# ======================================================================= the shared palette (sRGB hex) +# light/dark: the ends of the painted gradient (shadows are darker values of the same hue); edge: painted edge light; occ: crease colour; +# st1/st2: light and dark streaks (colour, amount, (scale round the part, scale along it) in 1/m); mot: brush mottling; wn/wg: weight of +# the soft top light and of the part's own gradient; e0/e1: edge mask range; er: bevel radius (m, times the tool's paint scale); ek: edge +# strength; metal/smooth: the PBR mask (worn edges + edge_s smoother, a blade's ground edge strip_s). +PAINT = { + "wood": dict(light="#a87447", dark="#4b301d", edge="#d6a873", occ="#1f150e", + st1=("#c08a58", 0.55, (70, 4)), st2=("#3a2414", 0.5, (140, 3)), mot=0.09, wn=0.58, wg=0.34, + e0=0.018, e1=0.045, er=0.016, ek=0.85, metal=0.0, smooth=0.3, edge_s=0.05), + "knob": dict(light="#8c5a36", dark="#36210f", edge="#c8966a", occ="#1a1009", + st1=("#a26c43", 0.45, (90, 9)), st2=("#2c1a0c", 0.4, (160, 6)), mot=0.09, wn=0.7, wg=0.2, + e0=0.04, e1=0.10, er=0.007, ek=0.85, metal=0.0, smooth=0.35, edge_s=0.05), + "wrap": dict(light="#d8c8a4", dark="#7a6a50", edge="#f2e8d0", occ="#2e2518", + st1=("#e6d8b6", 0.3, (60, 6)), st2=("#9c8a6a", 0.3, (110, 5)), mot=0.08, wn=0.72, wg=0.18, + e0=0.04, e1=0.10, er=0.007, ek=0.6, metal=0.0, smooth=0.12, edge_s=0.0), + "steel": dict(light="#c3c7cc", dark="#4b5058", edge="#eef0f3", occ="#1a1c20", gamma=1.6, + st1=("#d6dade", 0.28, (60, 3.0)), st2=("#5e646c", 0.25, (80, 2.5)), mot=0.05, wn=0.1, wg=0.5, + e0=0.035, e1=0.10, er=0.006, ek=0.55, strip="#eef1f4", line="#3c4048", metal=0.8, smooth=0.74, edge_s=0.06, strip_s=0.92), + "iron": dict(light="#7c8086", dark="#2a2c30", edge="#b2b6bc", occ="#101113", + st1=("#8c9096", 0.15, (40, 6)), st2=("#222428", 0.15, (50, 6)), mot=0.08, wn=0.3, wg=0.1, + e0=0.035, e1=0.10, er=0.008, ek=0.6, metal=0.75, smooth=0.5, edge_s=0.12, gamma=1.4), + "brass": dict(light="#b48f52", dark="#4c3820", edge="#e4c88c", occ="#1e160b", + st1=("#c8a466", 0.15, (40, 6)), st2=("#3e2c16", 0.12, (50, 6)), mot=0.08, wn=0.4, wg=0.12, + e0=0.035, e1=0.10, er=0.008, ek=0.6, metal=0.8, smooth=0.6, edge_s=0.12), +} +KEYS = list(PAINT) + + +# ======================================================================= tool state + +class Tool: + name = "" + group = "Body" + parts = [] + rng = random.Random(7) + + +T = Tool() + + +def new_tool(name): + bpy.ops.wm.read_factory_settings(use_empty=True) + for c in (bpy.data.meshes, bpy.data.materials, bpy.data.objects, bpy.data.images, bpy.data.lights, bpy.data.cameras): + for d in list(c): + c.remove(d) + T.name = name + T.group = "Body" + T.parts = [] + T.rng = random.Random(sum(map(ord, name))) + + +def group(name): + """Parts made from now on go to the object `name`.""" + T.group = name + + +# ======================================================================= geometry kit + +def mesh_obj(name, bm): + me = bpy.data.meshes.new(name) + bm.to_mesh(me) + bm.free() + o = bpy.data.objects.new(name, me) + bpy.context.scene.collection.objects.link(o) + return o + + +def new_bm(): + bm = bmesh.new() + bm.loops.layers.uv.new("UVMap") + bm.loops.layers.uv.new("G") + return bm + + +def set_uv(bm, l, uv): + for k in ("UVMap", "G"): + l[bm.loops.layers.uv[k]].uv = uv + + +def finish_part(name, bm, key, up=Z, edgedist=None, grads=None): + """bm has UV layers UVMap and G. Adds the attributes grad (0 underneath .. 1 on top along `up`, or `grads` per vertex) and edgedist + (metres to a blade's edge; 1 elsewhere), the paint slot, and files the part under the current group.""" + bmesh.ops.recalc_face_normals(bm, faces=bm.faces) + up = Vector(up).normalized() + hs = [v.co.dot(up) for v in bm.verts] + lo, hi = min(hs), max(hs) + g = bm.loops.layers.uv["G"] + du, dv = T.rng.uniform(0, 20), T.rng.uniform(0, 20) # no two parts carry the same strokes + for f in bm.faces: + f.smooth = True + f.material_index = 0 + for l in f.loops: + l[g].uv = (l[g].uv.x + du, l[g].uv.y + dv) + o = mesh_obj(name, bm) + me = o.data + ga = me.attributes.new("grad", "FLOAT", "POINT") + ea = me.attributes.new("edgedist", "FLOAT", "POINT") + for i, v in enumerate(me.vertices): + ga.data[i].value = grads[i] if grads is not None else (v.co.dot(up) - lo) / max(1e-6, hi - lo) + ea.data[i].value = edgedist[i] if edgedist is not None else 1.0 + me.materials.append(paint_slot(key)) + o["grp"] = T.group + T.parts.append(o) + return o + + +def cap_face(bm, verts): + """An n-gon cap with a planar unwrap of its own.""" + f = bm.faces.new(verts) + c = sum((v.co for v in verts), Vector()) / len(verts) + n = Vector() + for a, b in zip(verts, verts[1:] + verts[:1]): + n += a.co.cross(b.co) + n = n.normalized() if n.length > 1e-12 else Z + u = (verts[0].co - c) + u = (u - n * u.dot(n)).normalized() + v = n.cross(u) + for l in f.loops: + d = l.vert.co - c + set_uv(bm, l, (d.dot(u), d.dot(v))) + return f + + +def loft(name, rings, key, closed=True, cap0=False, cap1=False, up=Z, edgedist=None, cuts=(), grads=None): + """A skin through rings of points (lists of equal length, or a single point = a pole). UVs: around = arc length round the ring, + centred; along = mean distance between rings: one tidy island per loft, or one per piece when `cuts` (ring indices) split it.""" + bm = new_bm() + V = [[bm.verts.new(tuple(p)) for p in r] for r in rings] + + def around(r): + if len(r) == 1: + return [0.0] + m = len(r) + cum = [0.0] + for j in (range(m) if closed else range(m - 1)): + cum.append(cum[-1] + (Vector(r[(j + 1) % m]) - Vector(r[j])).length) + P = cum[-1] + return [c - P / 2 for c in cum] + AR = [around(r) for r in rings] + along = [0.0] + for a, b in zip(rings, rings[1:]): + if len(a) == 1 or len(b) == 1: + p, q = (a, b) if len(a) == 1 else (b, a) + d = sum((Vector(x) - Vector(p[0])).length for x in q) / len(q) + else: + d = sum((Vector(x) - Vector(y)).length for x, y in zip(a, b)) / len(a) + along.append(along[-1] + max(d, 1e-5)) + n = max(len(r) for r in rings) + jn = n if closed else n - 1 + starts = [0] + sorted(cuts) + uvm, gl = bm.loops.layers.uv["UVMap"], bm.loops.layers.uv["G"] + for i in range(len(rings) - 1): + a, b = V[i], V[i + 1] + k0 = max(c for c in starts if c <= i) + a0 = along[k0] + for j in range(jn): + k = (j + 1) % n + try: + if len(a) == 1: + f = bm.faces.new((a[0], b[k], b[j])) + uvs = [(0.0, along[i]), (AR[i + 1][j + 1], along[i + 1]), (AR[i + 1][j], along[i + 1])] + elif len(b) == 1: + f = bm.faces.new((a[j], a[k], b[0])) + uvs = [(AR[i][j], along[i]), (AR[i][j + 1], along[i]), (0.0, along[i + 1])] + else: + f = bm.faces.new((a[j], a[k], b[k], b[j])) + uvs = [(AR[i][j], along[i]), (AR[i][j + 1], along[i]), (AR[i + 1][j + 1], along[i + 1]), (AR[i + 1][j], along[i + 1])] + except ValueError: + continue + for l, (u_, v_) in zip(f.loops, uvs): + l[gl].uv = (u_, v_) # grain space runs on unbroken + l[uvm].uv = (u_ + 10.0 * starts.index(k0), v_ - a0) # the packed map restarts at each cut + if cap0 and len(V[0]) > 2: + cap_face(bm, list(reversed(V[0]))) + if cap1 and len(V[-1]) > 2: + cap_face(bm, list(V[-1])) + caps = [f for f in bm.faces if len(f.verts) > 4] + if caps: + bmesh.ops.triangulate(bm, faces=caps, quad_method="BEAUTY", ngon_method="BEAUTY") + ed = [e for r in edgedist for e in r] if edgedist is not None else None + gr = [g_ for r in grads for g_ in r] if grads is not None else None + return finish_part(name, bm, key, up=up, edgedist=ed, grads=gr) + + +def frame_z(c, d): + """Matrix taking local Z to direction d, origin at c.""" + q = Z.rotation_difference(Vector(d).normalized()) + return Matrix.Translation(Vector(c)) @ q.to_matrix().to_4x4() + + +def lathe(name, prof, key, segs=12, frame=Matrix.Identity(4), cap0=False, cap1=False, phase=0.0, up=Z): + """prof: (r, z) bottom to top; r == 0 makes a pole.""" + rings = [] + for r, z in prof: + if r <= 1e-6: + rings.append([frame @ Vector((0, 0, z))]) + else: + rings.append([frame @ Vector((r * math.cos(TAU * j / segs + phase), r * math.sin(TAU * j / segs + phase), z)) for j in range(segs)]) + return loft(name, rings, key, cap0=cap0, cap1=cap1, up=up) + + +def rbox(name, c, size, key, bev=0.006, segs=2, rot=Matrix.Identity(4), up=Z): + """A box with every edge rounded, box-projected UVs.""" + bm = new_bm() + bmesh.ops.create_cube(bm, size=1.0) + for v in bm.verts: + v.co = Vector((v.co.x * size[0], v.co.y * size[1], v.co.z * size[2])) + bmesh.ops.bevel(bm, geom=list(bm.edges) + list(bm.verts), offset=bev, segments=segs, affect="EDGES", profile=0.5) + M = Matrix.Translation(Vector(c)) @ rot + for v in bm.verts: + v.co = M @ v.co + bmesh.ops.recalc_face_normals(bm, faces=bm.faces) + for f in bm.faces: + n = f.normal + ax = max(range(3), key=lambda i: abs(n[i])) + for l in f.loops: + p = l.vert.co + set_uv(bm, l, [(p.y, p.z), (p.x, p.z), (p.x, p.y)][ax]) + return finish_part(name, bm, key, up=up) + + +def hexbolt(name, c, d, r=0.016, h=0.012, washer=0.021, key="iron", wkey=None): + """A chunky hex head with a chamfered crown on a round washer, standing on c along d.""" + F = frame_z(c, d) + k = r / 0.016 + lathe(name + "_washer", [(washer * 0.92, -0.003 * k), (washer, 0.0), (washer, 0.0035 * k), (washer * 0.9, 0.005 * k)], wkey or key, segs=12, frame=F, cap1=True) + z0 = 0.004 * k + lathe(name, [(r, z0), (r, z0 + h * 0.62), (r * 0.82, z0 + h), (r * 0.42, z0 + h * 1.08), (0.0, z0 + h * 1.1)], key, segs=6, frame=F, phase=math.pi / 6) + + +def dome(name, c, d, r, h, key="iron", segs=10): + """A round domed rivet head.""" + lathe(name, [(r, -h * 0.3), (r, h * 0.2), (r * 0.8, h * 0.75), (r * 0.42, h), (0.0, h * 1.04)], key, segs=segs, frame=frame_z(c, d)) + + +# ======================================================================= paths, octagonal poles, bands + +def catmull(pts, per=12): + P = [Vector(p) for p in pts] + P = [P[0] * 2 - P[1]] + P + [P[-1] * 2 - P[-2]] + out = [] + for i in range(1, len(P) - 2): + p0, p1, p2, p3 = P[i - 1], P[i], P[i + 1], P[i + 2] + for k in range(per): + t = k / per + out.append(0.5 * ((2 * p1) + (-p0 + p2) * t + (2 * p0 - 5 * p1 + 4 * p2 - p3) * t * t + (-p0 + 3 * p1 - 3 * p2 + p3) * t ** 3)) + out.append(P[-2]) + return out + + +class Path: + """A Catmull-Rom path, addressed by arc length s (m). frame(s): tangent T, side X, up U (`up` is the hint, world Z by default).""" + + def __init__(self, pts, up=Z): + self.P = catmull(pts, 24) if len(pts) > 2 else [Vector(pts[0]).lerp(Vector(pts[1]), k / 24) for k in range(25)] + self.L = [0.0] + for a, b in zip(self.P, self.P[1:]): + self.L.append(self.L[-1] + (b - a).length) + self.len = self.L[-1] + self.up = Vector(up) + # frames: from the up hint where it is well defined all along (so poles keep a flat face on top), else parallel transported (a path + # that turns through the hint, like a stirrup running down and round, would otherwise flip its section) + TT = [(self.P[min(k + 1, len(self.P) - 1)] - self.P[max(k - 1, 0)]).normalized() for k in range(len(self.P))] + self.hint_ok = min(t.cross(self.up).length for t in TT) > 0.3 + self.X = [] + if not self.hint_ok: + X = TT[0].cross(self.up) + if X.length < 1e-4: + X = TT[0].cross(Vector((0, -1, 0))) + X.normalize() + for k, t in enumerate(TT): + if k: + X = TT[k - 1].rotation_difference(t) @ X + self.X.append(X.copy()) + + def at(self, s): + s = max(0.0, min(self.len, s)) + for k in range(len(self.L) - 1): + if self.L[k + 1] >= s: + f = (s - self.L[k]) / max(1e-9, self.L[k + 1] - self.L[k]) + return self.P[k].lerp(self.P[k + 1], f) + return self.P[-1].copy() + + def tan(self, s): + e = min(0.01, self.len * 0.01) + return (self.at(s + e) - self.at(s - e)).normalized() + + def frame(self, s): + T_ = self.tan(s) + if self.hint_ok: + X = T_.cross(self.up) + else: + k = min(range(len(self.L)), key=lambda i: abs(self.L[i] - s)) + X = self.X[k] - T_ * self.X[k].dot(T_) + if X.length < 1e-4: + X = T_.cross(Vector((0, -1, 0))) + X.normalize() + U = X.cross(T_).normalized() + return T_, X, U + + def nearest_y(self, y): + k = min(range(len(self.P)), key=lambda i: abs(self.P[i].y - y)) + return self.L[k] + + def nearest_z(self, z): + k = min(range(len(self.P)), key=lambda i: abs(self.P[i].z - z)) + return self.L[k] + + +def oct_section(r, ch=0.1, sides=8, sq=1.0): + """A chamfered polygon (2*sides points, counter-clockwise, a flat face on top) of apothem r; sq stretches it sideways.""" + a0 = math.pi / sides + Rc = r / math.cos(a0) + C = [Vector((Rc * math.cos(a0 + math.pi / 2 + k * TAU / sides) * sq, Rc * math.sin(a0 + math.pi / 2 + k * TAU / sides))) for k in range(sides)] + out = [] + for k in range(sides): + a, c, b = C[k - 1], C[k], C[(k + 1) % sides] + out.append(c + (a - c) * ch) + out.append(c + (b - c) * ch) + return out + + +def sweep_rings(pth, stations, ch=0.1, sides=8, sq=1.0): + """[(s, radius)] -> rings of a chamfered polygon round the path.""" + rings = [] + for s, r in stations: + c = pth.at(s) + T_, X, U = pth.frame(s) + rings.append([c + X * p.x + U * p.y for p in oct_section(r, ch, sides, sq)]) + return rings + + +def pole(name, pth, rf, key, n=24, cap0=False, cap1=True, cuts=None, ch=0.1, sides=8, sq=1.0, s0=0.0, s1=None): + """A chunky chamfered-octagon pole along pth from s0 to s1, radius rf(t) with t 0..1 over the pole.""" + s1 = pth.len if s1 is None else s1 + st = [(s0 + (s1 - s0) * i / n, rf(i / n)) for i in range(n + 1)] + if cuts is None: + k = max(1, int((s1 - s0) / 0.5 + 0.5)) + cuts = tuple(int(n * q / k) for q in range(1, k)) + return loft(name, sweep_rings(pth, st, ch, sides, sq), key, cap0=cap0, cap1=cap1, cuts=cuts) + + +def band(name, pth, s0, w, r, e, key, ch=0.004, sides=8, sq=1.0): + """A chunky band round a pole at s0, w long, standing e proud of radius r, chamfered ends.""" + rr = [(s0 - w / 2, r - 0.002), (s0 - w / 2, r + e * 0.55), (s0 - w / 2 + ch, r + e), (s0 + w / 2 - ch, r + e), (s0 + w / 2, r + e * 0.55), + (s0 + w / 2, r - 0.002)] + return loft(name, sweep_rings(pth, rr, 0.12, sides, sq), key) + + +def tube(name, pts, rf, key, segs=10, n=None, cap0=True, cap1=True, ch=None): + """A round (segs-sided) tube along points, radius rf(t).""" + pth = Path(pts) + n = n or max(4, int(pth.len / 0.035)) + rings = [] + for i in range(n + 1): + s = pth.len * i / n + c = pth.at(s) + T_, X, U = pth.frame(s) + r = rf(i / n) + rx, ry = r if isinstance(r, tuple) else (r, r) + rings.append([c + X * (rx * math.cos(TAU * j / segs + math.pi / segs)) + U * (ry * math.sin(TAU * j / segs + math.pi / segs)) for j in range(segs)]) + return loft(name, rings, key, cap0=cap0, cap1=cap1) + + +# ======================================================================= tool pieces + +def nib(tag, x, y, z_top, r=0.036, z_low=-0.105, wrap="wrap", knob="knob", ferrule="brass", stem_to=None): + """A grip hanging along Z at (x, y): a chunky wooden mushroom knob, a padded wrap in three pillows, a brass ferrule, a stem up to z + stem_to (into the clamp above). Centred on (x, y), so the fist closes where the game expects it.""" + fr = Matrix.Translation((x, y, 0)) + k = r / 0.036 + zl = z_low + lathe(f"knob{tag}", [(0.0, zl - 0.032 * k), (0.02 * k, zl - 0.032 * k), (0.036 * k, zl - 0.027 * k), (0.0455 * k, zl - 0.016 * k), (0.047 * k, zl - 0.003 * k), + (0.042 * k, zl + 0.008 * k), (0.033 * k, zl + 0.014 * k)], knob, segs=12, frame=fr) + z0, z1 = zl + 0.006, z_top - 0.07 + h = z1 - z0 + q = lambda f: z0 + h * f + prof = [(0.033 * k, q(0.0)), (0.0385 * k, q(0.035)), (0.041 * k, q(0.1)), (0.0415 * k, q(0.27)), (0.0395 * k, q(0.31)), (0.0365 * k, q(0.335)), + (0.0395 * k, q(0.36)), (0.042 * k, q(0.4)), (0.042 * k, q(0.6)), (0.0395 * k, q(0.64)), (0.0365 * k, q(0.665)), (0.0395 * k, q(0.69)), + (0.0415 * k, q(0.73)), (0.041 * k, q(0.9)), (0.0385 * k, q(0.965)), (0.034 * k, q(1.0))] + lathe(f"wrap{tag}", prof, wrap, segs=12, frame=fr) + lathe(f"ferrule{tag}", [(0.034 * k, z1 - 0.006), (0.0395 * k, z1 - 0.002), (0.0425 * k, z1 + 0.004), (0.0425 * k, z1 + 0.021), (0.0395 * k, z1 + 0.027), + (0.031 * k, z1 + 0.031), (0.029 * k, z1 + 0.031)], ferrule, segs=12, frame=fr) + if stem_to is not None: + lathe(f"stem{tag}", [(0.026 * k, z1 + 0.028), (0.024 * k, z1 + 0.04), (0.0235 * k, stem_to)], "iron", segs=12, frame=fr) + + +def clamp(tag, pth, s, r, side, w=0.056, e=0.0085, key="iron", saddle_xy=None, sides=8, sq=1.0, lug=True): + """A band round the pole at s, a rounded lug on the +X (side 1) or -X side with a big hex bolt, a saddle block under the pole.""" + band(f"clamp{tag}", pth, s, w, r, e, key, ch=0.006, sides=sides, sq=sq) + ctr = pth.at(s) + X = Vector((side, 0, 0)) + if lug: + lug_c = ctr + X * (r * sq + 0.012) + rbox(f"lug{tag}", lug_c, (0.026, 0.044, 0.042), key, bev=0.007, segs=2) + hexbolt(f"bolt{tag}", lug_c + X * 0.013, X, r=0.0155, h=0.012, washer=0.02) + if saddle_xy is not None: + rbox(f"saddle{tag}", (saddle_xy[0], saddle_xy[1], ctr.z - r - 0.006), (0.054, 0.05, 0.016), key, bev=0.006, segs=2) + + +def blade(name, S, E, F, z0=0.0, rw=lambda u: 0.032, rh=lambda u: 0.02, hb=lambda u: 0.005, bev=lambda w, u: min(0.035, 0.34 * w), + tip=None, cuts=(), key="steel", under=0.6, cap0=True): + """A blade through stations: S[i] the spine and E[i] the edge (2D, in the plane z = z0 that F maps to the world). Section across from + the spine: a thick rounded rib rw wide and rh tall (under * rh below), the body hb thick each side, a ground bevel `bev` wide down to the + edge. tip: a 2D point the blade closes to (a pole). Writes edgedist (m to the edge) and grad (1 along the spine, 0 at the edge).""" + n = len(S) + rings, ED, GR = [], [], [] + for i in range(n): + u = i / max(1, n - 1) + s, e = Vector(S[i]), Vector(E[i]) + acr = e - s + w = max(1e-4, acr.length) + acr.normalize() + rw_ = min(rw(u), 0.42 * w) + rh_, hb_, bv = rh(u), hb(u), bev(w, u) + bv = min(bv, w - rw_ * 1.05) + prof = [(-0.2 * rw_, 0.05 * rh_), (-0.1 * rw_, 0.6 * rh_), (0.15 * rw_, 0.94 * rh_), (0.42 * rw_, 1.0 * rh_), (0.74 * rw_, 0.74 * rh_), + (1.0 * rw_, hb_ * 1.25), (w - bv, hb_), (w - bv * 0.45, hb_ * 0.5), (w, 0.0), (w - bv * 0.45, -hb_ * 0.45), (w - bv, -hb_), + (1.0 * rw_, -hb_ * 1.15), (0.62 * rw_, -under * 0.75 * rh_), (0.18 * rw_, -under * rh_), (-0.12 * rw_, -under * 0.72 * rh_)] + rings.append([F @ Vector((*(s + acr * a), z0 + z)) for a, z in prof]) + ED.append([max(0.0, w - a) for a, z in prof]) + GR.append([max(0.0, 1.0 - max(0.0, a) / w) ** 0.8 for a, z in prof]) + if tip is not None: + rings.append([F @ Vector((tip[0], tip[1], z0))]) + ED.append([0.0]) + GR.append([0.35]) + return loft(name, rings, key, cap0=cap0, edgedist=ED, cuts=cuts, grads=GR) + + +def shear_blade(name, sx, sz, S, E, z_in, t, key="steel", tip=None, cuts=()): + """A scissor or shear blade lying on one side of z = 0 (sz = +1 above): a flat inner face at z_in, a chunky rounded spine at S, the + outer face, a broad ground bevel down to the edge at E. t(u): thickness.""" + n = len(S) + rings, ED, GR = [], [], [] + for i in range(n): + u = i / max(1, n - 1) + s, e = Vector(S[i]), Vector(E[i]) + acr = e - s + w = max(1e-4, acr.length) + acr.normalize() + th = t(u) + bv = 0.5 * w + sp = min(0.35 * w, 0.006) + prof = [(0.0, 0.0), (0.0, 0.55 * th), (sp * 0.35, 0.9 * th), (sp, th), (w - bv, th * 0.92), (w - bv * 0.4, th * 0.45), (w, th * 0.12), + (w, 0.0)] + rings.append([Vector((*(s + acr * a), sz * (z_in + z))) for a, z in prof]) + ED.append([max(0.0, w - a) for a, z in prof]) + GR.append([max(0.0, 1.0 - a / w) ** 0.8 for a, z in prof]) + if tip is not None: + rings.append([Vector((tip[0], tip[1], sz * (z_in + t(1.0) * 0.4)))]) + ED.append([0.0]) + GR.append([0.4]) + return loft(name, rings, key, cap0=True, edgedist=ED, cuts=cuts, grads=GR) + + +def oval_ring(name, c, rx, ry, r_in, r_z, key, seg=18, rseg=8, z=0.0): + """A ring round an oval centre line in the XY plane at height z: r_in across in the plane, r_z up; an octagonal section.""" + rings = [] + for i in range(seg + 1): + a = TAU * i / seg + p = Vector((c[0] + rx * math.cos(a), c[1] + ry * math.sin(a), z)) + nrm = Vector((math.cos(a) / rx, math.sin(a) / ry, 0)).normalized() + rings.append([p + nrm * (r_in * math.cos(TAU * j / rseg + math.pi / rseg)) + Z * (r_z * math.sin(TAU * j / rseg + math.pi / rseg)) for j in range(rseg)]) + return loft(name, rings, key, cuts=(seg // 2,)) + + +# ======================================================================= painter (bake) and final material + +class NB: + def __init__(self, nt): + self.nt = nt + + def n(self, typ, **kw): + nd = self.nt.nodes.new(typ) + for k, v in kw.items(): + setattr(nd, k, v) + return nd + + def L(self, a, b): + self.nt.links.new(a, b) + + def _in(self, sock, v): + if isinstance(v, bpy.types.NodeSocket): + self.L(v, sock) + else: + sock.default_value = v + + def m(self, op, a, b=0.0, c=0.0, clamp=False): + nd = self.n("ShaderNodeMath", operation=op, use_clamp=clamp) + self._in(nd.inputs[0], a) + self._in(nd.inputs[1], b) + if len(nd.inputs) > 2: + self._in(nd.inputs[2], c) + return nd.outputs[0] + + def sstep(self, v, lo, hi): + nd = self.n("ShaderNodeMapRange", interpolation_type="SMOOTHSTEP", clamp=True) + self._in(nd.inputs[0], v) + nd.inputs[1].default_value = lo + nd.inputs[2].default_value = hi + nd.inputs[3].default_value = 0.0 + nd.inputs[4].default_value = 1.0 + return nd.outputs[0] + + def vm(self, op, a, b=None, scale=None): + nd = self.n("ShaderNodeVectorMath", operation=op) + self._in(nd.inputs[0], a) + if b is not None: + self._in(nd.inputs[1], b) + if scale is not None: + self._in(nd.inputs["Scale"], scale) + return nd.outputs["Value"] if op in ("DOT_PRODUCT", "LENGTH", "DISTANCE") else nd.outputs["Vector"] + + def lerp(self, a, b, f): + d = self.vm("SUBTRACT", b, a) + return self.vm("ADD", a, self.vm("SCALE", d, scale=f)) + + def noise(self, vec, scale, detail=2.0, rough=0.5, distort=0.0): + nd = self.n("ShaderNodeTexNoise", noise_dimensions="3D") + self._in(nd.inputs["Vector"], vec) + nd.inputs["Scale"].default_value = scale + nd.inputs["Detail"].default_value = detail + nd.inputs["Roughness"].default_value = rough + nd.inputs["Distortion"].default_value = distort + return nd.outputs["Fac"] + + +def paint_slot(key): + m = bpy.data.materials.get("bake_" + key) + if m is None: + m = bpy.data.materials.new("bake_" + key) + return m + + +def build_painter(m, key, img, ps=1.0, mode="albedo"): + """mode "albedo": the painted colour; "mask": (metallic, smoothness, 0) for T__Mask. ps: the tool's paint scale (1 for a scythe); bevel radius, AO reach and the blade's edge strip scale with it, stroke sizes too.""" + P = PAINT[key] + try: + m.use_nodes = True + except Exception: + pass + nt = m.node_tree + nt.nodes.clear() + B = NB(nt) + geo = B.n("ShaderNodeNewGeometry") + bev = B.n("ShaderNodeBevel", samples=8) + bev.inputs["Radius"].default_value = P["er"] * ps + ao = B.n("ShaderNodeAmbientOcclusion", samples=16, only_local=False) + ao.inputs["Distance"].default_value = 0.045 * ps + att_g = B.n("ShaderNodeAttribute", attribute_name="grad").outputs["Fac"] + uvg = B.n("ShaderNodeUVMap", uv_map="G").outputs["UV"] + pos = geo.outputs["Position"] + + # painted edges: where the rounded normal leaves the facet normal, kept off concave creases by the AO + ndot = B.vm("DOT_PRODUCT", bev.outputs["Normal"], geo.outputs["True Normal"]) + edge = B.sstep(B.m("SUBTRACT", 1.0, ndot), P["e0"], P["e1"]) + aoF = ao.outputs["AO"] + edge = B.m("MULTIPLY", edge, B.sstep(aoF, 0.6, 0.92)) + + # the value of the paint: the soft top light (smooth normal kept in 'nz'), the part's own gradient, brush mottling + nz = B.n("ShaderNodeAttribute", attribute_name="nz").outputs["Fac"] + top = B.m("MULTIPLY_ADD", nz, 0.5, 0.5) + t = B.m("MULTIPLY", top, P["wn"]) + t = B.m("MULTIPLY_ADD", att_g, P["wg"], t) + t = B.m("ADD", t, (1 - P["wn"] - P["wg"]) * 0.5) + mapb = B.n("ShaderNodeMapping") + B.L(uvg, mapb.inputs["Vector"]) + mapb.inputs["Scale"].default_value = (9.0 / ps, 3.5 / ps, 1.0) + br = B.noise(mapb.outputs["Vector"], 1.0, detail=1.0, rough=0.4, distort=0.3) + t = B.m("ADD", t, B.m("MULTIPLY", B.m("SUBTRACT", br, 0.5), P["mot"] * 2.2)) + br2 = B.noise(pos, 22.0 / ps, detail=0.5, rough=0.3) + t = B.m("ADD", t, B.m("MULTIPLY", B.m("SUBTRACT", br2, 0.5), P["mot"])) + t = B.sstep(t, 0.04, 1.02) + if P.get("gamma", 1.0) != 1.0: # mix in a perceptual space, so the middle of a long gradient reads as a mid tone + t = B.m("POWER", t, P["gamma"]) + col = B.lerp(lin(P["dark"]), lin(P["light"]), t) + + # grain / streaks along the part (G: x round the part, y along it, in metres) + for (hexc, amt, (sa, sl)), lo, hi, seed in ((P["st1"], 0.56, 0.68, 0.0), (P["st2"], 0.6, 0.72, 7.3)): + mp = B.n("ShaderNodeMapping") + B.L(uvg, mp.inputs["Vector"]) + mp.inputs["Scale"].default_value = (sa / ps ** 0.5, sl / ps, 1.0) + mp.inputs["Location"].default_value = (0, 0, seed) + sn = B.noise(mp.outputs["Vector"], 1.0, detail=2.0, rough=0.45, distort=0.4) + col = B.lerp(col, lin(hexc), B.m("MULTIPLY", B.sstep(sn, lo, hi), amt)) + + # blades: a dark painted line where the bevel starts, the bright ground edge below it + if "strip" in P: + ed = B.n("ShaderNodeAttribute", attribute_name="edgedist").outputs["Fac"] + strip = B.m("SUBTRACT", 1.0, B.sstep(ed, 0.006 * ps, 0.02 * ps)) + line = B.m("SUBTRACT", 1.0, B.sstep(B.m("ABSOLUTE", B.m("SUBTRACT", ed, 0.028 * ps)), 0.002 * ps, 0.008 * ps)) + col = B.lerp(col, lin(P["line"]), B.m("MULTIPLY", line, 0.7)) + col = B.lerp(col, lin(P["strip"]), B.m("MULTIPLY", strip, 0.95)) + + ek = B.m("MULTIPLY", edge, B.m("MULTIPLY_ADD", top, P["ek"] * 0.5, P["ek"] * 0.5)) + col = B.lerp(col, lin(P["edge"]), ek) + occ = B.m("SUBTRACT", 1.0, B.sstep(aoF, 0.25, 0.95)) + col = B.lerp(col, lin(P["occ"]), B.m("MULTIPLY", occ, 0.85)) + + dbg = os.environ.get("STY_DEBUG") + if dbg: # STY_DEBUG=edge|occ|top: bake one mask in grey, to tune the painter + col = {"edge": edge, "occ": occ, "top": top}[dbg] + if mode == "mask": + # smoothness: the surface's own, worn edges a little higher, soft painted variation, crevices duller; a blade's ground edge polished + sm = B.m("ADD", P["smooth"], B.m("MULTIPLY", edge, P["edge_s"])) + sm = B.m("ADD", sm, B.m("MULTIPLY", B.m("SUBTRACT", br, 0.5), 0.08 if P["metal"] > 0 else 0.04)) + sm = B.m("SUBTRACT", sm, B.m("MULTIPLY", occ, 0.12)) + if "strip_s" in P: + sm = B.m("ADD", sm, B.m("MULTIPLY", strip, P["strip_s"] - P["smooth"])) + sm = B.m("MINIMUM", B.m("MAXIMUM", sm, 0.0), 1.0) + cm = B.n("ShaderNodeCombineXYZ") + cm.inputs[0].default_value = P["metal"] + B.L(sm, cm.inputs[1]) + col = cm.outputs[0] + em = B.n("ShaderNodeEmission") + B.L(col, em.inputs["Color"]) + out = B.n("ShaderNodeOutputMaterial") + B.L(em.outputs[0], out.inputs["Surface"]) + tex = B.n("ShaderNodeTexImage", image=img) + nt.nodes.active = tex + + +PAINT_GLOW = 0.12 # a little of the paint as emission (materials_style.json "paintGlow") + + +def final_material(name, img, mask): + """Principled: the painted albedo, metallic from the mask's R, roughness = 1 - its A, the paint glowing a little.""" + m = bpy.data.materials.get(name) or bpy.data.materials.new(name) + try: + m.use_nodes = True + except Exception: + pass + nt = m.node_tree + nt.nodes.clear() + tex = nt.nodes.new("ShaderNodeTexImage") + tex.image = img + tex.location = (-700, 200) + mask.colorspace_settings.name = "Non-Color" + mask.alpha_mode = "CHANNEL_PACKED" + mk = nt.nodes.new("ShaderNodeTexImage") + mk.image = mask + mk.location = (-700, -150) + sep = nt.nodes.new("ShaderNodeSeparateColor") + sep.location = (-400, -100) + nt.links.new(mk.outputs["Color"], sep.inputs[0]) + inv = nt.nodes.new("ShaderNodeMath") + inv.operation = "SUBTRACT" + inv.inputs[0].default_value = 1.0 + inv.location = (-400, -300) + nt.links.new(mk.outputs["Alpha"], inv.inputs[1]) + bs = nt.nodes.new("ShaderNodeBsdfPrincipled") + out = nt.nodes.new("ShaderNodeOutputMaterial") + out.location = (350, 0) + nt.links.new(tex.outputs["Color"], bs.inputs["Base Color"]) + nt.links.new(sep.outputs[0], bs.inputs["Metallic"]) + nt.links.new(inv.outputs[0], bs.inputs["Roughness"]) + nt.links.new(tex.outputs["Color"], bs.inputs["Emission Color"]) + bs.inputs["Emission Strength"].default_value = PAINT_GLOW + nt.links.new(bs.outputs[0], out.inputs["Surface"]) + return m + + +# ======================================================================= assemble, unwrap, bake + +def join_groups(origins): + """One object per group, its origin on origins[group] (default the world origin).""" + objs = [] + groups = {} + for o in T.parts: + groups.setdefault(o["grp"], []).append(o) + for g, ps in groups.items(): + for o in bpy.context.scene.objects: + o.select_set(False) + for o in ps: + o.select_set(True) + bpy.context.view_layer.objects.active = ps[0] + if len(ps) > 1: + bpy.ops.object.join() + ob = bpy.context.view_layer.objects.active + ob.name = g + ob.data.name = g + p = Vector(origins.get(g, (0, 0, 0))) + ob.data.transform(Matrix.Translation(-p)) + ob.matrix_world = Matrix.Translation(p) + objs.append(ob) + return objs + + +def pack_uvs(objs, margin=0.006): + for o in bpy.context.scene.objects: + o.select_set(False) + for o in objs: + me = o.data + me.uv_layers.active = me.uv_layers["UVMap"] + me.uv_layers["UVMap"].active_render = True + o.select_set(True) + bpy.context.view_layer.objects.active = objs[0] + bpy.ops.object.mode_set(mode="EDIT") + bpy.ops.mesh.select_all(action="SELECT") + bpy.context.scene.tool_settings.use_uv_select_sync = True + try: + bpy.ops.uv.pack_islands(rotate=True, rotate_method="CARDINAL", margin=margin) + except TypeError: + bpy.ops.uv.pack_islands(rotate=True, margin=margin) + bpy.ops.object.mode_set(mode="OBJECT") + + +def finish_normals(o): + me = o.data + try: + me.set_sharp_from_angle(angle=DEG(50)) + except Exception: + pass + md = o.modifiers.new("wn", "WEIGHTED_NORMAL") + md.keep_sharp = True + md.weight = 50 + bpy.context.view_layer.objects.active = o + bpy.ops.object.modifier_apply(modifier=md.name) + a = me.attributes.new("nz", "FLOAT", "CORNER") + cn = me.corner_normals + rot = o.matrix_world.to_3x3() + a.data.foreach_set("value", [(rot @ cn[i].vector).z for i in range(len(me.loops))]) + + +def gpu_on(sc): + try: + prefs = bpy.context.preferences.addons["cycles"].preferences + for t in ("OPTIX", "CUDA", "HIP", "ONEAPI", "METAL"): + try: + prefs.compute_device_type = t + except Exception: + continue + prefs.get_devices() + devs = [d for d in prefs.devices if d.type == t] + if devs: + for d in prefs.devices: + d.use = d.type == t + sc.cycles.device = "GPU" + return + except Exception as e: + print("STY|no GPU:", e) + sc.cycles.device = "CPU" + + +def bake(objs, twins, tex, mask, res, samples, ps): + """Bake the painters from flat-shaded twins (same UVs) of objs: the albedo into tex, then (metallic, smoothness) into the RGBA mask.""" + sc = bpy.context.scene + sc.render.engine = "CYCLES" + gpu_on(sc) + sc.cycles.samples = samples + sc.cycles.use_denoising = False + sc.render.bake.margin = max(8, res // 128) + sc.render.bake.use_clear = True + tws = [] + for o, me in zip(objs, twins): + tw = bpy.data.objects.new("BakeTwin_" + o.name, me) + sc.collection.objects.link(tw) + tw.matrix_world = o.matrix_world.copy() + for p in me.polygons: + p.use_smooth = False + o.hide_render = True + tws.append(tw) + for o in sc.objects: + o.select_set(o in tws) + bpy.context.view_layer.objects.active = tws[0] + out = {} + for which, name in (("albedo", tex), ("mask", mask + "_bake")): + img = bpy.data.images.new(name, res, res, alpha=False) + if which == "mask": + img.colorspace_settings.name = "Non-Color" + img.generated_color = (0.0, 0.3, 0.0, 1) + else: + img.generated_color = (0.2, 0.17, 0.14, 1) + for k in KEYS: + m = bpy.data.materials.get("bake_" + k) + if m: + build_painter(m, k, img, ps, which) + t0 = time.time() + bpy.ops.object.bake(type="EMIT", margin=sc.render.bake.margin, use_clear=True) + print(f"STY|{T.name}: baked {which} {res}px x {samples} samples in {time.time() - t0:.0f}s") + out[which] = img + for tw in tws: + me = tw.data + bpy.data.objects.remove(tw) + bpy.data.meshes.remove(me) + for o in objs: + o.hide_render = False + os.makedirs(os.path.join(OUT, "textures"), exist_ok=True) + a = out["albedo"] + a.filepath_raw = os.path.join(OUT, "textures", tex + ".png") + a.file_format = "PNG" + a.save() + # the URP metallic map: metallic in RGB, smoothness in A + import numpy as np + b = out["mask"] + px = np.array(b.pixels[:], dtype=np.float32).reshape(-1, 4) + rgba = np.stack([px[:, 0], px[:, 0], px[:, 0], px[:, 1]], axis=1) + mk = bpy.data.images.new(mask, res, res, alpha=True) + mk.colorspace_settings.name = "Non-Color" + mk.alpha_mode = "CHANNEL_PACKED" + mk.pixels[:] = rgba.ravel() + mk.filepath_raw = os.path.join(OUT, "textures", mask + ".png") + mk.file_format = "PNG" + mk.save() + bpy.data.images.remove(b) + return a, mk + + +def collapse(objs, mat): + for o in objs: + me = o.data + me.materials.clear() + me.materials.append(mat) + for p in me.polygons: + p.material_index = 0 + if "G" in me.uv_layers: + me.uv_layers.remove(me.uv_layers["G"]) + for a in ("grad", "edgedist", "nz"): + if a in me.attributes: + me.attributes.remove(me.attributes[a]) + for k in KEYS: + b = bpy.data.materials.get("bake_" + k) + if b: + bpy.data.materials.remove(b) + + +def export_fbx(objs, name): + path = os.path.join(OUT, "fbx", name + ".fbx") + os.makedirs(os.path.dirname(path), exist_ok=True) + for o in bpy.context.scene.objects: + o.select_set(o in objs) + # the settings of common.export + bpy.ops.export_scene.fbx(filepath=path, use_selection=True, axis_forward="-Z", axis_up="Y", + apply_scale_options="FBX_SCALE_ALL", bake_space_transform=False, + use_mesh_modifiers=True, mesh_smooth_type="FACE", add_leaf_bones=False, + object_types={"MESH", "EMPTY"}, path_mode="STRIP", use_custom_props=False) + return path + + +def write_material_json(mat, tex, mask): + """Upsert the material in ArtSource/materials_style.json, in the format of M_Scythe_Painted plus "mask" (URP metallic map: metallic RGB, + smoothness A) and "paintGlow". With a metallic map URP ignores _Metallic and scales the map's smoothness by _Smoothness, hence 1.0.""" + try: + with open(MATJSON, "r", encoding="utf-8") as f: + data = json.load(f) + except Exception: + data = [] + entry = {"name": mat, "color": "#FFFFFF", "texture": tex + ".png", "metallic": 1.0, "smoothness": 1.0, "emission": None, + "transparent": False, "tiling": [1, 1], "mask": mask + ".png", "paintGlow": PAINT_GLOW} + data = [d for d in data if d.get("name") != mat] + [entry] + with open(MATJSON, "w", encoding="utf-8") as f: + json.dump(data, f, indent=2) + f.write("\n") + + +# ======================================================================= presentation + +BG_TOP, BG_BOT = lin("#76716b"), lin("#34312e") # a neutral, slightly warm studio grey +RIM = "#fff1e0" + + +def stage(): + sc = bpy.context.scene + col = bpy.data.collections.get("Presentation") or bpy.data.collections.new("Presentation") + if col.name not in sc.collection.children: + sc.collection.children.link(col) + + def light(name, energy, color, size): + ld = bpy.data.lights.new(name, "AREA") + ld.energy = energy + ld.color = color + ld.shape = "DISK" + ld.size = size + o = bpy.data.objects.new(name, ld) + col.objects.link(o) + return o + key = light("Key", 70.0, (1.0, 0.97, 0.93), 2.5) + rim = light("Rim", 300.0, lin(RIM), 1.2) + # a studio HDRI from Blender's own studio lights, for the metal to reflect + w = bpy.data.worlds.new("Stage") + sc.world = w + try: + w.use_nodes = True + except Exception: + pass + nt = w.node_tree + bgn = nt.nodes.get("Background") + hdr = os.path.join(bpy.utils.system_resource("DATAFILES"), "studiolights", "world", "studio.exr") + if os.path.exists(hdr): + env = nt.nodes.new("ShaderNodeTexEnvironment") + env.image = bpy.data.images.load(hdr, check_existing=True) + nt.links.new(env.outputs["Color"], bgn.inputs[0]) + bgn.inputs[1].default_value = 0.8 + else: + bgn.inputs[0].default_value = (*lin("#8a8580"), 1) + bgn.inputs[1].default_value = 0.6 + for eng in ("BLENDER_EEVEE", "BLENDER_EEVEE_NEXT"): + try: + sc.render.engine = eng + break + except Exception: + continue + try: + sc.eevee.taa_render_samples = 64 + except Exception: + pass + sc.view_settings.view_transform = "Standard" + sc.view_settings.exposure = -0.2 + sc.render.film_transparent = True + return key, rim + + +def backdrop(path): + """The (transparent) render over a neutral warm grey radial gradient (a studio backdrop).""" + import numpy as np + im = bpy.data.images.load(path, check_existing=False) + w, h = im.size + a = np.array(im.pixels[:], dtype=np.float32).reshape(h, w, 4) + yy, xx = np.mgrid[0:h, 0:w].astype(np.float32) + d = np.sqrt(((xx - w * 0.45) / w) ** 2 + ((yy - h * 0.6) / h) ** 2) + f = np.clip(d / 0.75, 0, 1)[..., None] + to_srgb = lambda c: np.where(c <= 0.0031308, c * 12.92, 1.055 * np.power(c, 1 / 2.4) - 0.055) + bg = to_srgb(np.array(BG_TOP)) * (1 - f) + to_srgb(np.array(BG_BOT)) * f + al = a[..., 3:4] + rgb = a[..., :3] * al + bg * (1 - al) + im.pixels[:] = np.concatenate([rgb, np.ones_like(al)], axis=2).ravel() + im.filepath_raw = path + im.file_format = "PNG" + im.save() + bpy.data.images.remove(im) + + +def place_lights(key, rim, tgt, dirv, d, rim_k=1.0): + """The key from above, 50 degrees round to the camera's left; the rim behind the subject, low, so it lines silhouettes and does not + wash over the tops.""" + hv = Vector((dirv.x, dirv.y, 0)) + hv = hv.normalized() if hv.length > 1e-4 else Vector((0, -1, 0)) + kl = (Matrix.Rotation(DEG(-50), 3, "Z") @ hv) * 1.8 + Vector((0, 0, 2.0)) + key.location = tgt + kl + key.rotation_euler = (-kl).to_track_quat("-Z", "Y").to_euler() + rd = max(0.6, d * 0.7) + rim.location = tgt - hv * rd + Vector((0, 0, rd * 0.18)) + rim.rotation_euler = (tgt - rim.location).to_track_quat("-Z", "Y").to_euler() + rim.data.energy = 300.0 * rim_k * (rd / 1.8) ** 2 + + +def cam_dir(elev, azim): + el, az = DEG(elev), DEG(azim) + return Vector((math.sin(az) * math.cos(el), -math.cos(az) * math.cos(el), math.sin(el))) + + +def fit(verts, dirv, lens=50, margin=0.86): + """Target and distance that frame verts (world points) from direction dirv on a square frame.""" + f = -dirv + r = f.cross(Z) + r = r.normalized() if r.length > 1e-4 else Vector((1, 0, 0)) + u = r.cross(f).normalized() + c = sum(verts, Vector()) / len(verts) + xs = [(p - c).dot(r) for p in verts] + ys = [(p - c).dot(u) for p in verts] + tgt = c + r * (max(xs) + min(xs)) / 2 + u * (max(ys) + min(ys)) / 2 + tn = 18.0 / lens * margin + d = max(max(abs((p - tgt).dot(r)), abs((p - tgt).dot(u))) / tn + (p - tgt).dot(dirv) for p in verts) + return tgt, d + + +def shoot(path, key, rim, tgt, d, dirv, res=(1200, 1200), lens=50, rim_k=1.0): + sc = bpy.context.scene + cam_d = bpy.data.cameras.new("cam") + cam_d.lens = lens + cam = bpy.data.objects.new("cam", cam_d) + sc.collection.objects.link(cam) + cam.location = tgt + dirv * d + cam.rotation_euler = (tgt - cam.location).to_track_quat("-Z", "Y").to_euler() + cam_d.clip_start = d * 0.01 + cam_d.clip_end = d * 10 + 10 + place_lights(key, rim, tgt, dirv, d, rim_k) + sc.camera = cam + sc.render.resolution_x, sc.render.resolution_y = res + sc.render.filepath = path + bpy.ops.render.render(write_still=True) + backdrop(path) + bpy.data.objects.remove(cam) + print("STY|shot", path) + + +def holds(): + sys.path.insert(0, HERE) + import gc_up5_check as K5 + return K5.HOLDS + + +def fpv_shot(path, objs, hold, key, rim, open_deg=0.35 * 18.0): + """ViewModel.Holds (rest pose), the 62 degree overlay camera at the origin looking down Blender -Y; scissor blades opened like fpv().""" + pos, eu, _, _, s = hold + M = Matrix(((-1, 0, 0, 0), (0, 0, -1, 0), (0, 1, 0, 0), (0, 0, 0, 1))) + E = Matrix.Rotation(DEG(eu[1]), 4, "Y") @ Matrix.Rotation(DEG(eu[0]), 4, "X") @ Matrix.Rotation(DEG(eu[2]), 4, "Z") + W = M @ (Matrix.Translation(Vector(pos)) @ E @ Matrix.Scale(s, 4)) @ M.inverted() + keep = {o: o.matrix_world.copy() for o in objs} + for o in objs: + b = o.matrix_world.copy() + if o.name == "BladeA": + b = b @ Matrix.Rotation(DEG(-open_deg), 4, "Z") + elif o.name == "BladeB": + b = b @ Matrix.Rotation(DEG(open_deg), 4, "Z") + o.matrix_world = W @ b + sc = bpy.context.scene + cam_d = bpy.data.cameras.new("cam_fpv") + cam_d.sensor_fit = "VERTICAL" + cam_d.angle = DEG(62) + cam_d.clip_start = 0.01 + cam = bpy.data.objects.new("cam_fpv", cam_d) + sc.collection.objects.link(cam) + cam.rotation_euler = (DEG(90), 0, math.pi) + sc.camera = cam + ctr = sum((o.matrix_world.translation for o in objs), Vector()) / len(objs) + place_lights(key, rim, ctr, Vector((0, 1, 0.3)).normalized(), 0.8, 0.35) + sc.render.resolution_x, sc.render.resolution_y = 1280, 720 + sc.render.filepath = path + bpy.ops.render.render(write_still=True) + backdrop(path) + bpy.data.objects.remove(cam) + for o, m in keep.items(): + o.matrix_world = m + print("STY|shot", path) + + +def presentation(name, objs, full, views, hold, only=None): + key, rim = stage() + pv = os.path.join(OUT, "previews") + os.makedirs(pv, exist_ok=True) + verts = [o.matrix_world @ v.co for o in objs for v in o.data.vertices] + for tag, (el, az) in full.items(): + if only and tag not in only: + continue + dv = cam_dir(el, az) + tgt, d = fit(verts, dv) + shoot(os.path.join(pv, f"{name}_{tag}.png"), key, rim, tgt, d, dv, rim_k=0.5) + for tag, tgt, rad, el, az in views: + if only and tag not in only: + continue + dv = cam_dir(el, az) + d = rad / math.tan(math.atan(18 / 50)) * 1.05 + shoot(os.path.join(pv, f"{name}_{tag}.png"), key, rim, Vector(tgt), d, dv, rim_k=0.5) + if hold and (not only or "fpv" in only): + fpv_shot(os.path.join(pv, f"{name}_fpv.png"), objs, hold, key, rim) + + +def viewport_material_preview(objs): + verts = [o.matrix_world @ v.co for o in objs for v in o.data.vertices] + c = sum(verts, Vector()) / len(verts) + dv = cam_dir(30, -35) + tgt, d = fit(verts, dv) + for scr in bpy.data.screens: + for area in scr.areas: + for sp in area.spaces: + if sp.type == "VIEW_3D": + sp.shading.type = "MATERIAL" + sp.clip_start = 0.005 + r3 = sp.region_3d + r3.view_location = tgt + r3.view_distance = d + r3.view_rotation = (-dv).to_track_quat("-Z", "Y") + + +# ======================================================================= driver + +def argv(): + a = sys.argv[sys.argv.index("--") + 1:] if "--" in sys.argv else [] + o = dict(names=[], res=None, samples=128, bake=True, render=True, shots=None) + i = 0 + while i < len(a): + if a[i] == "--res": + o["res"] = int(a[i + 1]); i += 1 + elif a[i] == "--samples": + o["samples"] = int(a[i + 1]); i += 1 + elif a[i] == "--no-bake": + o["bake"] = False + elif a[i] == "--no-render": + o["render"] = False + elif a[i] == "--shots": + o["shots"] = a[i + 1].split(","); i += 1 + elif not a[i].startswith("--"): + o["names"].append(a[i]) + i += 1 + return o + + +def short(name): + return name.replace("SM_Tool_", "") + + +def build_tool(name, builder, o): + """builder() makes the parts and returns dict(origins={group: pivot}, res=2048, ps=1.0, full={tag: (elev, azim)}, + views=[(tag, target, radius, elev, azim)], also=[other names to export the same result under]).""" + new_tool(name) + spec = builder() or {} + sh = short(name) + tex, mskn, matn = f"T_{sh}_Painted", f"T_{sh}_Mask", f"M_{sh}_Painted" + objs = join_groups(spec.get("origins", {})) + pack_uvs(objs) + twins = [o_.data.copy() for o_ in objs] + for ob, tw in zip(objs, twins): + finish_normals(ob) + a = tw.attributes.new("nz", "FLOAT", "CORNER") + a.data.foreach_set("value", [d.value for d in ob.data.attributes["nz"].data]) + tris = {ob.name: sum(len(p.vertices) - 2 for p in ob.data.polygons) for ob in objs} + print(f"STY|{name}: tris {sum(tris.values())} {tris}") + tex_path = os.path.join(OUT, "textures", tex + ".png") + msk_path = os.path.join(OUT, "textures", mskn + ".png") + res = o["res"] or spec.get("res", 2048) + if o["bake"] or not (os.path.exists(tex_path) and os.path.exists(msk_path)): + img, msk = bake(objs, twins, tex, mskn, res, o["samples"], spec.get("ps", 1.0)) + for im, pth in ((img, tex_path), (msk, msk_path)): + im.source = "FILE" + im.filepath = pth + im.reload() + else: + for tw in twins: + bpy.data.meshes.remove(tw) + img = bpy.data.images.load(tex_path) + img.name = tex + msk = bpy.data.images.load(msk_path) + msk.name = mskn + mat = final_material(matn, img, msk) + collapse(objs, mat) + write_material_json(matn, tex, mskn) + for nm in [name] + spec.get("also", []): + export_fbx(objs, nm) + if o["render"]: + hold = holds().get(name) + presentation(name, objs, spec.get("full", {"full": (34, -35)}), spec.get("views", []), hold, o["shots"]) + viewport_material_preview(objs) + bpy.context.preferences.filepaths.save_version = 0 # no .blend1 next to it + img.filepath = bpy.path.relpath(tex_path, start=OUT) + msk.filepath = bpy.path.relpath(msk_path, start=OUT) + for nm in [name] + spec.get("also", []): + bpy.ops.wm.save_as_mainfile(filepath=os.path.join(OUT, nm + ".blend"), check_existing=False, relative_remap=True) + print(f"STY|{name}: done") + return tris + + +def run(builders, order=None): + o = argv() + names = o["names"] or list(order or builders) + for n in names: + build_tool(n, builders[n], o) diff --git a/ArtSource/Blender/scripts/gc_style_review.py b/ArtSource/Blender/scripts/gc_style_review.py new file mode 100644 index 0000000..fd67c44 --- /dev/null +++ b/ArtSource/Blender/scripts/gc_style_review.py @@ -0,0 +1,52 @@ +"""Every painted tool in ArtSource/Blender/stylized side by side, for review in Blender. + + blender -b --factory-startup --python ArtSource/Blender/scripts/gc_style_review.py +Writes ArtSource/Blender/stylized/Style_Tools_Review.blend (opens in Material Preview). +""" +import os +import bpy +from mathutils import Vector + +HERE = os.path.dirname(os.path.abspath(__file__)) +DIR = os.path.normpath(os.path.join(HERE, "..", "stylized")) +NAMES = ["SM_Tool_NailScissors", "SM_Tool_GardenShears", "SM_Tool_Sickle", "SM_Tool_Hammer", + "SM_Tool_Scythe", "SM_Tool_LongScythe", "SM_Tool_WideScythe"] + +bpy.ops.wm.read_factory_settings(use_empty=True) +scene = bpy.context.scene +x = 0.0 +for name in NAMES: + path = os.path.join(DIR, name + ".blend") + if not os.path.exists(path): + continue + with bpy.data.libraries.load(path, link=False) as (src, dst): + dst.objects = list(src.objects) + roots = [] + for o in dst.objects: + if o is None or o.type not in {"MESH", "EMPTY"}: + continue + scene.collection.objects.link(o) + if o.parent is None: + roots.append(o) + # lay the tool out flat with a gap after the previous one + xs = [(o.matrix_world @ Vector(c)).x for o in dst.objects if o and o.type == "MESH" for c in o.bound_box] + width = (max(xs) - min(xs)) if xs else 0.3 + for r in roots: + r.location.x += x - (min(xs) if xs else 0.0) + label = bpy.data.curves.new(name + "_label", "FONT") + label.body = name.replace("SM_Tool_", "") + label.size = 0.08 + t = bpy.data.objects.new(name + "_label", label) + t.location = (x, -0.25, -0.4) + scene.collection.objects.link(t) + x += width + 0.35 + +for area_screen in bpy.data.screens: + for area in area_screen.areas: + if area.type == "VIEW_3D": + for sp in area.spaces: + if sp.type == "VIEW_3D": + sp.shading.type = "MATERIAL" +out = os.path.join(DIR, "Style_Tools_Review.blend") +bpy.ops.wm.save_as_mainfile(filepath=out, check_existing=False) +print("REVIEW", out) diff --git a/ArtSource/Blender/scripts/gc_style_scythe.py b/ArtSource/Blender/scripts/gc_style_scythe.py new file mode 100644 index 0000000..929e9a3 --- /dev/null +++ b/ArtSource/Blender/scripts/gc_style_scythe.py @@ -0,0 +1,114 @@ +"""GRASS CUTTER - the basic scythe (SM_Tool_Scythe) in the stylized, hand-painted set. Built from gc_style_kit; the other hand tools of the +set are in gc_style_tools.py, which also uses the snath and blade helpers here. + +Game frame (round 4, gc_up4_tools.scythe; ViewModel / CrewAvatar hold data depends on it): + one object "Body", no parent, origin at the world origin, identity transform; Blender -Y = Unity forward, blade out on +X; + the snath runs y +0.15 .. -1.27, the blade heel at (0, -1.3, -0.095) tilted 38 degrees, tip at x ~0.82; + nibs (grips) hang along Z at (0.03, -0.04) and (-0.03, -0.66). + +Run (absolute paths): + blender -b --factory-startup --python C:/Github/Grass-Cutters/ArtSource/Blender/scripts/gc_style_scythe.py -- [--res 2048] [--samples 128] + [--no-bake (reuse textures/T_Scythe_Painted.png)] [--no-render] [--shots full,mount,...] +Writes ArtSource/Blender/stylized/{SM_Tool_Scythe.blend, fbx/, textures/T_Scythe_Painted.png, previews/SM_Tool_Scythe_*.png}. +""" +import os, sys, math +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +import gc_style_kit as K +from mathutils import Vector, Matrix + +DEG = math.radians +TILT = 38.0 + + +def tilt_frame(y0, hz): + return Matrix.Translation((0, y0, hz)) @ Matrix.Rotation(DEG(-TILT), 4, "X") @ Matrix.Translation((0, -y0, -hz)) + + +def scythe_outline(y0, L, w0, bow, curl, n=28): + """Round 4's outline: spine points S and widths W at n + 1 stations, the tip point.""" + S, W = [], [] + for i in range(n + 1): + u = i / n + S.append(Vector((L * u, y0 - bow * math.sin(u * 2.35) + curl * u ** 3))) + W.append(w0 * (1 - u) ** 0.62 * (0.8 + 0.2 * math.sin(min(1.0, u * 4) * 1.57)) + 0.007) + tip = Vector((S[-1].x + 0.02, S[-1].y + 0.01)) + return S, W, tip + + +def scythe_blade(y0, hz, L, w0, bow, curl, n=28, thick=1.0, name="blade"): + """The crescent in the round 4 plane: a fat rounded spine, a thick body, a broad ground bevel to a bright edge. Returns (S, W, F).""" + S, W, tip = scythe_outline(y0, L, w0, bow, curl, n) + F = tilt_frame(y0, hz) + E = [] + for i in range(n): + t = (S[min(i + 1, n)] - S[max(i - 1, 0)]).normalized() + nrm = Vector((-t.y, t.x)) + if nrm.y < 0: + nrm = -nrm + E.append(S[i] + nrm * W[i]) + K.blade(name, [(p.x, p.y) for p in S[:n]], [(p.x, p.y) for p in E], F, z0=hz, + rw=lambda u: 0.042 * thick * (1 - 0.35 * u), rh=lambda u: 0.024 * thick * (1.0 - 0.55 * u ** 1.2), + hb=lambda u: (0.0052 * (1 - 0.4 * u) + 0.001) * thick, bev=lambda w, u: min(0.042, 0.36 * w), + tip=(tip.x, tip.y), cuts=(n // 2,)) + return S, W, F + + +def snath(pts, r0, r1, key="wood", cuts=None, sides=8, sq=1.0, n=30): + """The snath: a chunky chamfered octagon along pts, r0 at the butt to r1 at the blade.""" + pth = K.Path(pts) + K.pole("snath", pth, lambda t: r0 + (r1 - r0) * t, key, n=n, cap0=False, cap1=True, cuts=cuts, sides=sides, sq=sq) + return pth + + +def butt(pth, r0, key_band="brass", key_cap="iron"): + """A brass band near the butt and a domed dark iron cap.""" + K.band("buttband", pth, 0.05, 0.03, r0, 0.0065, key_band) + c0 = pth.at(0.0) + d0 = (pth.at(0.0) - pth.at(0.03)).normalized() + K.lathe("buttcap", [(r0 * 0.96, -0.02), (r0 + 0.0055, -0.016), (r0 + 0.006, -0.004), (r0 + 0.002, 0.004), (r0 * 0.7, 0.013), (r0 * 0.32, 0.0175), + (0.0, 0.019)], key_cap, segs=16, frame=K.frame_z(c0, d0), phase=math.pi / 16) + + +def nibs_and_clamps(pth, rfun, nibs, z_top=0.12, r=0.036, side_split=-0.3): + for k, (x, y) in enumerate(nibs): + s = pth.nearest_y(y) + ctr = pth.at(s) + K.nib(k, x, y, z_top, r=r, stem_to=ctr.z - 0.015) + K.clamp(k, pth, s, rfun(s), 1 if y > side_split else -1, saddle_xy=(x, y)) + + +def mount(pth, y0, hz, x0=0.007, top_z=-0.0155): + """The blade mount: a brass collar on the snath end, a dark iron socket with a brass strap and big bolts.""" + Ls = pth.len + r = 0.027 + K.band("collar", pth, Ls - 0.036, 0.054, r, 0.0095, "brass", ch=0.006) + K.band("collar_lip", pth, Ls - 0.071, 0.012, r, 0.005, "iron", ch=0.003) + yc, zc = y0 - 0.01, (hz + top_z) / 2 - 0.006 + sz = top_z - hz + 0.017 + K.rbox("socket", (x0, yc, zc), (0.1, 0.098, sz), "iron", bev=0.013, segs=2) + K.rbox("strap", (x0, yc - 0.002, zc), (0.11, 0.036, sz + 0.01), "brass", bev=0.008, segs=2) + K.hexbolt("bolt_top", (x0, yc - 0.002, zc + sz / 2 + 0.005), (0, 0, 1), r=0.017, h=0.012, washer=0.022) + K.hexbolt("bolt_side", (x0 - 0.055, yc - 0.002, zc), (-1, 0, 0), r=0.016, h=0.011, washer=0.021) + + +SNATH_PTS = [(0.012, 0.15, 0.116), (0.018, 0.07, 0.13), (0.0, -0.08, 0.125), (-0.02, -0.4, 0.13), (-0.012, -0.72, 0.105), (0.01, -1.02, 0.03), + (0.0, -1.27, -0.05)] + + +def scythe(): + r0, r1 = 0.0355, 0.027 + pth = snath(SNATH_PTS, r0, r1, cuts=(10, 20)) + rfun = lambda s: r0 + (r1 - r0) * s / pth.len + butt(pth, r0) + nibs_and_clamps(pth, rfun, ((0.03, -0.04), (-0.03, -0.66))) + mount(pth, -1.3, -0.095) + scythe_blade(-1.3, -0.095, 0.8, 0.19, 0.13, 0.17) + return dict(res=2048, ps=1.0, full={"full": (38, 150), "full_front": (34, -38)}, + views=[("mount", (0.03, -1.28, -0.05), 0.16, 30, 215), ("clamps", (0.0, -0.06, 0.03), 0.17, 16, -55), + ("blade_edge", (0.55, -1.25, -0.13), 0.3, 45, 165)]) + + +BUILDERS = {"SM_Tool_Scythe": scythe} + +if __name__ == "__main__": + K.run(BUILDERS) diff --git a/ArtSource/Blender/scripts/gc_style_tools.py b/ArtSource/Blender/scripts/gc_style_tools.py new file mode 100644 index 0000000..2a58472 --- /dev/null +++ b/ArtSource/Blender/scripts/gc_style_tools.py @@ -0,0 +1,398 @@ +"""GRASS CUTTER - the hand tools in the stylized, hand-painted set (gc_style_kit; the scythe is gc_style_scythe.py). + +Each tool keeps round 4's game frame (gc_up4_tools.py: object names, origins, the scissor pivot at (0, -0.145, 0), axes, length, grips), +so ViewModel / CrewAvatar hold data stays valid; check with gc_up5_check.verify against Assets/Art/Models. + SM_Tool_Sickle Body turned octagonal handle with linen wraps, brass ferrule, a thick crescent + SM_Tool_LongScythe Body long snath with linen bands, a wooden grain cradle with lashed fingers + SM_Tool_WideScythe Body a squared ash beam strapped in iron, D-handles, a broad riveted blade on braces + SM_Tool_GardenShears Body, BladeA, BladeB chunky shear blades, wooden handles with linen grips; also exported as SM_Tool_Shears + SM_Tool_NailScissors Body, BladeA, BladeB curved blades, brass bows, a finger rest + SM_Tool_Hammer Body octagonal handle with a linen grip, dark iron head, a bright face, a split claw + +Run (absolute paths): + blender -b --factory-startup --python C:/Github/Grass-Cutters/ArtSource/Blender/scripts/gc_style_tools.py -- [names] [--res N] [--samples N] + [--no-bake] [--no-render] [--shots full,...] +""" +import os, sys, math +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +import gc_style_kit as K +import gc_style_scythe as SC +from mathutils import Vector, Matrix + +DEG = math.radians +PI = math.pi +TAU = 2 * math.pi +PV_Y = -0.145 +XU = Vector((1, 0, 0)) + + +# ======================================================================= helpers + +def crect(c, U, V, a0, a1, b0, b1, ch): + """A chamfered rectangle a0..a1 along U, b0..b1 along V round c (8 points).""" + ch = max(0.0, min(ch, (a1 - a0) * 0.4, (b1 - b0) * 0.4)) + pts = [(a0 + ch, b0), (a1 - ch, b0), (a1, b0 + ch), (a1, b1 - ch), (a1 - ch, b1), (a0 + ch, b1), (a0, b1 - ch), (a0, b0 + ch)] + return [c + U * a + V * b for a, b in pts] + + +def pole2(name, pth, rxz, key, n=24, s0=0.0, s1=None, sides=8, ch=0.1, cap0=False, cap1=True, cuts=()): + """An octagonal pole whose section is rxz(t) = (half width across, half height) at t 0..1 over s0..s1.""" + s1 = pth.len if s1 is None else s1 + rings = [] + for i in range(n + 1): + t = i / n + s = s0 + (s1 - s0) * t + rx, rz = rxz(t) + c = pth.at(s) + T_, X, U = pth.frame(s) + rings.append([c + X * p.x + U * p.y for p in K.oct_section(rz, ch, sides, rx / rz)]) + return K.loft(name, rings, key, cap0=cap0, cap1=cap1, cuts=cuts) + + +def disc(name, c, r, z0, z1, key, segs=16, ch=0.003): + """A disc about Z at c with chamfered rims, z0 -> z1 (either way up).""" + lo, hi = min(z0, z1), max(z0, z1) + ch = min(ch, (hi - lo) * 0.45) + return K.lathe(name, [(0.0, lo), (r - ch, lo), (r, lo + ch), (r, hi - ch), (r - ch, hi), (0.0, hi)], key, segs=segs, + frame=Matrix.Translation((c[0], c[1], 0))) + + +def resample(pts, n): + P = K.Path(pts) + return [P.at(P.len * i / n) for i in range(n + 1)] + + +# ======================================================================= sickle + +def sickle(): + z = 0.26 + hp = [(0, 0.03, -0.3), (0, 0.012, -0.14), (0, 0, 0.02), (0, -0.04, 0.17), (0, -0.16, z - 0.005), (0, -0.335, z)] + pth = K.Path(hp, up=XU) + + def rf(t): # a turned profile: a swell under the palm, a waist, a taper into the ferrule (chunkier than round 4) + return 0.043 + 0.01 * math.exp(-((t - 0.2) / 0.13) ** 2) + 0.004 * math.exp(-((t - 0.47) / 0.08) ** 2) - 0.005 * max(0.0, (t - 0.62) / 0.38) + K.pole("handle", pth, rf, "wood", n=28, cap0=True, cap1=False, cuts=(14,)) + for t, w in ((0.3, 0.05), (0.45, 0.05)): # two padded linen wraps where the fingers close + K.band(f"wrap{t}", pth, pth.len * t, w, rf(t), 0.006, "wrap", ch=0.008) + # a chunky wooden pommel with a brass ring, a linen cord loop through it + fr = Matrix.Translation((0, 0.031, 0)) + K.lathe("pommel", [(0.0, -0.352), (0.03, -0.352), (0.048, -0.343), (0.054, -0.326), (0.05, -0.305), (0.043, -0.29)], "knob", segs=12, frame=fr) + K.lathe("pring", [(0.0445, -0.296), (0.0485, -0.292), (0.0485, -0.279), (0.0445, -0.275)], "brass", segs=12, frame=fr) + K.tube("loop", [(0, 0.03, -0.345), (0.045, 0.08, -0.385), (0.0, 0.14, -0.41), (-0.045, 0.08, -0.385), (0, 0.03, -0.345)], lambda t: 0.011, + "wrap", segs=8, cap0=False, cap1=False) + # brass ferrule and a dark iron collar on the tang, rivets either side + FY = Matrix.Translation((0, 0, z)) @ Matrix.Rotation(DEG(90), 4, "X") # local +Z -> world -Y + K.lathe("ferrule", [(0.0385, 0.288), (0.0435, 0.294), (0.0435, 0.356), (0.0385, 0.364)], "brass", segs=12, frame=FY) + K.lathe("collar", [(0.031, 0.358), (0.0355, 0.364), (0.0355, 0.378), (0.031, 0.386), (0.0, 0.386)], "iron", segs=12, frame=FY) + for sx in (-1, 1): + K.dome(f"rivet{sx}", (sx * 0.043, -0.325, z), (sx, 0, 0), 0.009, 0.006, "iron") + # the crescent: round 4's outline, spine outside, edge inside, a narrow neck from the collar + c = Vector((0.335, -0.79, 0)) + S, E = [], [] + n = 26 + for i in range(n + 1): + ad = 150 + (378 - 150) * i / n + u = (ad - 142) / 236 + a = DEG(ad) + r_o = 0.455 - 0.05 * u + 0.012 * math.sin(u * math.pi) + w = 0.128 * (1 - u) ** 0.62 * (0.86 + 0.14 * math.sin(min(1.0, u * 2.2) * 1.57)) + 0.005 + S.append(Vector((c.x + r_o * math.cos(a), c.y + r_o * math.sin(a)))) + E.append(Vector((c.x + (r_o - w) * math.cos(a), c.y + (r_o - w) * math.sin(a)))) + s0, e0 = Vector((-0.017, -0.37)), Vector((0.017, -0.37)) + neck = [(s0.lerp(S[0], k / 4), e0.lerp(E[0], (k / 4) ** 1.4)) for k in range(4)] + S = [a_ for a_, b_ in neck] + S + E = [b_ for a_, b_ in neck] + E + j = 4 + next(i for i in range(n + 1) if 150 + 228 * i / n >= 178) + L = [0.0] + for q in range(1, j + 1): + L.append(L[-1] + (S[q] - S[q - 1]).length) + for q in range(1, j): + E[q] = e0.lerp(E[j], (L[q] / L[j]) ** 1.15) + tip = S[-1] + (S[-1] - S[-2]).normalized() * 0.012 + K.blade("blade", [tuple(p) for p in S[:-1]], [tuple(p) for p in E[:-1]], Matrix.Identity(4), z0=z, + rw=lambda u: 0.03 * (1 - 0.4 * u), rh=lambda u: 0.018 * (1 - 0.5 * u), hb=lambda u: 0.0045 * (1 - 0.35 * u) + 0.0008, + bev=lambda w, u: min(0.03, 0.36 * w), tip=tuple(tip), cuts=(16,), under=0.8) + return dict(res=2048, ps=0.75, full={"full": (60, -12), "full_side": (18, -70)}, + views=[("neck", (0.0, -0.36, 0.25), 0.1, 35, -40), ("blade", (0.25, -0.95, 0.26), 0.3, 62, 10)]) + + +# ======================================================================= long scythe + +def long_scythe(): + pts = [(0.02, 0.15, 0.108), (0.02, 0.07, 0.125), (0.0, -0.2, 0.12), (-0.022, -0.6, 0.12), (-0.012, -1.02, 0.09), (0.008, -1.34, 0.01), (0.0, -1.5, -0.055)] + r0, r1 = 0.036, 0.028 + pth = SC.snath(pts, r0, r1, cuts=(8, 16), n=24) + rfun = lambda s: r0 + (r1 - r0) * s / pth.len + SC.butt(pth, r0) + for t0 in (0.335, 0.375, 0.725, 0.765): # linen bands on the snath + s = pth.len * t0 + K.band(f"stripe{t0}", pth, s, 0.018, rfun(s), 0.0035, "wrap", ch=0.003) + SC.nibs_and_clamps(pth, rfun, ((0.03, -0.04), (-0.03, -0.64)), z_top=0.125) + y0, hz = -1.52, -0.098 + SC.mount(pth, y0, hz) + SC.scythe_blade(y0, hz, 1.1, 0.17, 0.15, 0.27, n=26) + # the grain cradle: a post on the snath, three bent wooden fingers over the blade, an iron stay tying them to its back + S, W, tip = SC.scythe_outline(y0, 1.1, 0.17, 0.15, 0.27, n=20) + S[-1] = tip + F = SC.tilt_frame(y0, hz) + sp = pth.nearest_y(-1.22) + base = pth.at(sp) + top = Vector((0.05, -1.26, 0.262)) + K.pole("cpost", K.Path([base + Vector((0, 0, 0.02)), top]), lambda t: 0.024 - 0.004 * t, "wood", n=6, cuts=()) + K.clamp("c", pth, sp, rfun(sp), -1) + fingers = [] + ns = len(S) - 1 + for k, (lift, frac) in enumerate(((0.3, 0.84), (0.205, 0.92), (0.105, 0.98))): + Fp = [] + for i in range(6): + u = i / 5 + q = S[int(round(u * (ns - 2) * frac))] + Fp.append(F @ Vector((0.03 + q.x * 0.98, q.y + 0.03, hz + lift + (0.03 - 0.02 * k) * math.sin(u * 1.6)))) + Fp = [base.lerp(top, (1.0, 0.68, 0.36)[k])] + Fp[2:] + K.pole(f"finger{k}", K.Path([Fp[0]] + Fp[2:]), lambda t: 0.0165 - 0.008 * t, "wood", n=12, cuts=(), sides=6) + fingers.append(Fp) + stay = [fingers[0][3], fingers[1][3], fingers[2][3], F @ Vector((S[10].x, S[10].y + 0.01, hz + 0.02))] + K.tube("cstay", stay, lambda t: 0.0095, "iron", segs=8) + K.tube("cbow", [top, fingers[0][2], fingers[0][3]], lambda t: 0.0095, "iron", segs=8) + for k in range(3): + c = fingers[k][3] + K.lathe(f"lash{k}", [(0.017 - 0.002 * k, -0.018), (0.0205 - 0.002 * k, -0.012), (0.0205 - 0.002 * k, 0.012), (0.017 - 0.002 * k, 0.018)], "wrap", + segs=10, frame=Matrix.Translation(c)) + K.dome("ctop", top, (0.1, 0, 1), 0.026, 0.016, "brass", segs=12) + return dict(res=2048, ps=1.0, full={"full": (36, 150), "full_front": (34, -38)}, + views=[("cradle", (0.28, -1.33, 0.08), 0.36, 32, -25), ("mount", (0.03, -1.5, -0.05), 0.17, 30, 215), + ("blade_edge", (0.7, -1.45, -0.12), 0.36, 45, 165)]) + + +# ======================================================================= wide scythe + +def wide_scythe(): + pts = [(0.0, 0.13, 0.136), (0.0, 0.05, 0.145), (0.0, -0.3, 0.15), (0.0, -0.8, 0.135), (0.0, -1.3, 0.07), (0.0, -1.62, -0.02), (0.0, -1.74, -0.06)] + pth = K.Path(pts) + rz = lambda t: 0.055 - 0.012 * t + sq = 0.85 + # a squared ash beam, chamfered corners + K.pole("beam", pth, rz, "wood", n=30, cap0=True, cap1=True, cuts=(10, 20), sides=4, ch=0.16, sq=sq) + for k, t0 in enumerate((0.13, 0.48, 0.82)): + s = pth.len * t0 + K.band(f"strap{k}", pth, s, 0.034, rz(t0), 0.007, "iron", ch=0.005, sides=4, sq=sq) + c = pth.at(s) + for sx in (-1, 1): + K.hexbolt(f"sb{k}{sx}", c + Vector((sx * (rz(t0) * sq + 0.006), 0, 0)), (sx, 0, 0), r=0.012, h=0.009, washer=0.016) + # a padded linen shoulder sleeve, lashed with brass bands + K.pole("pad", pth, lambda t: 0.07 + 0.006 * math.sin(t * PI), "wrap", n=8, s0=0.0, s1=pth.len * 0.12, sides=8, cap0=True, cap1=True, cuts=()) + for k, t0 in enumerate((0.025, 0.095)): + K.band(f"lash{k}", pth, pth.len * t0, 0.012, 0.073, 0.006, "brass", ch=0.003) + # D-handles: an iron stirrup from the beam round a vertical grip + for k, (x, y) in enumerate(((0.03, -0.04), (-0.03, -0.62))): + K.nib(k, x, y, 0.1, r=0.038, stem_to=0.1) + K.tube(f"stirrup{k}", [(x - 0.052, y + 0.05, 0.13), (x - 0.074, y + 0.05, 0.03), (x - 0.074, y + 0.05, -0.1), (x - 0.03, y + 0.02, -0.135), (x, y, -0.135)], + lambda t: 0.011, "iron", segs=8) + # the blade: broad, a thick spine with brass rivets + y0, hz = -1.78, -0.11 + S, W, F = SC.scythe_blade(y0, hz, 1.42, 0.3, 0.17, 0.42, n=32, thick=1.25) + for i in (2, 8, 14, 20): + t = (S[i + 1] - S[i - 1]).normalized() + nrm = Vector((-t.y, t.x)) + if nrm.y < 0: + nrm = -nrm + p = S[i] + nrm * 0.018 + K.dome(f"rivet{i}", F @ Vector((p.x, p.y, hz + 0.028 * (1 - 0.4 * i / 32))), F.to_3x3() @ Vector((0, 0, 1)), 0.012, 0.008, "brass") + # a broad socket with a brass strap, a wooden wedge, two big bolts + K.rbox("socket", (0.0165, -1.75, -0.069), (0.157, 0.14, 0.114), "iron", bev=0.016, segs=2) + K.rbox("sstrap", (0.0165, -1.75, -0.069), (0.167, 0.04, 0.124), "brass", bev=0.009, segs=2) + K.rbox("wedge", (0.104, -1.712, -0.05), (0.024, 0.05, 0.048), "wood", bev=0.007, segs=2) + for x in (-0.03, 0.05): + K.hexbolt(f"sbolt{x}", (x, -1.75 + (0.035 if x < 0 else -0.035), -0.007), (0, 0, 1), r=0.017, h=0.012, washer=0.022) + # braces from the beam to the blade's back, a brass turnbuckle on the second + on = lambda i, dz=0.03: F @ Vector((S[i].x, S[i].y + 0.012, hz + dz)) + b1 = pth.at(pth.nearest_y(-1.36)) + K.tube("strutA", [b1, on(7)], lambda t: (0.017, 0.013), "iron", segs=8) + r0_, r1_ = b1 + Vector((0, 0.02, 0.05)), on(14) + K.tube("strutB", [r0_, r1_], lambda t: 0.0125, "iron", segs=8) + K.tube("buckle", [r0_.lerp(r1_, 0.42), r0_.lerp(r1_, 0.58)], lambda t: 0.022, "brass", segs=8) + for i, p in ((7, on(7)), (14, on(14))): + K.dome(f"foot{i}", p + F.to_3x3() @ Vector((0, 0, -0.004)), F.to_3x3() @ Vector((0, 0, 1)), 0.02, 0.01, "iron") + return dict(res=2048, ps=1.0, full={"full": (36, 150), "full_front": (34, -38)}, + views=[("mount", (0.03, -1.74, -0.07), 0.2, 30, 215), ("braces", (0.38, -1.6, 0.0), 0.45, 42, -12), + ("grip", (-0.01, -0.06, 0.0), 0.2, 12, 120)]) + + +# ======================================================================= garden shears (and SM_Tool_Shears) + +def blade_stations(sx, py, ty, hw, he, cfn, notch=None, n=14, heel=0.03): + S, E = [], [] + for i in range(n + 1): + y = (py + heel) + (ty + 0.004 - (py + heel)) * (i / n) ** 0.92 + u = max(0.0, (py - y) / (py - ty)) + c = cfn(u) + k = 1.0 - 0.5 * (max(0.0, y - py) / heel) ** 2 + h_e = he(u) * k - (notch(u) if notch else 0.0) + S.append((c - sx * hw(u) * k, y)) + E.append((c + sx * h_e, y)) + tipc = (cfn(1.0) + sx * he(1.0) * 0.4, ty) + return S, E, tipc + + +def garden_shears(): + py, ty = PV_Y, -0.62 + z_in = 0.0008 + tf = lambda u: 0.016 * (1 - 0.45 * u) + 0.0025 + + def hw(u): + k = 0.78 + base = 0.041 - 0.009 * min(u, k) + return base * math.sqrt(max(0.0, 1 - ((u - k) / (1 - k)) ** 2)) + 0.002 if u > k else base + + he = lambda u: 0.011 * (1 - 0.5 * u) + notch = lambda u: 0.013 * math.sin(PI * (u - 0.05) / 0.12) if 0.05 < u < 0.17 else 0.0 + cfn = lambda u: 0.0 + t0 = tf(0.0) + for nm, sx, sz in (("BladeA", 1, 1), ("BladeB", -1, -1)): + K.group(nm) + S, E, tipc = blade_stations(sx, py, ty, hw, he, cfn, notch if sx > 0 else None, n=16) + K.shear_blade("blade", sx, sz, S, E, z_in, tf, tip=tipc, cuts=(8,)) + zc = sz * (z_in + t0 * 0.5) + hz = sz * 0.011 + disc("boss", (0, py), 0.036, sz * z_in, sz * (z_in + t0), "iron", ch=0.005) + fr0 = Vector((sx * 0.031, -0.05, hz)) + K.tube("tang", [Vector((sx * 0.004, py + 0.012, zc)), Vector((sx * 0.012, -0.095, zc)), Vector((sx * 0.024, -0.066, hz)), fr0], + lambda t: (0.0155 - 0.002 * t, 0.0075 + 0.004 * t), "iron", segs=8) + hp = K.Path([fr0, Vector((sx * 0.038, 0.0, hz)), Vector((sx * 0.044, 0.08, hz)), Vector((sx * 0.046, 0.168, hz))]) + K.pole("handle", hp, lambda t: 0.0185 + 0.003 * math.sin(t * PI), "wood", n=14, cap0=False, cap1=False, cuts=()) + K.lathe("ferrule", [(0.019, -0.016), (0.0225, -0.012), (0.0235, -0.006), (0.0235, 0.016), (0.0215, 0.022), (0.019, 0.024)], "brass", segs=12, + frame=K.frame_z(fr0, (0, 1, 0))) + for yy in (-0.036,): + K.lathe("fring", [(0.022, -0.003), (0.025, -0.002), (0.025, 0.002), (0.022, 0.003)], "iron", segs=12, frame=K.frame_z((sx * 0.0315, yy, hz), (0, 1, 0))) + # a padded linen grip in three pillows, a chunky wooden end knob + gs0, gs1 = hp.nearest_y(0.05), hp.len + gr = lambda t: 0.023 + 0.0035 * max(0.0, 1 - t / 0.08) + 0.0028 * abs(math.sin(t * PI * 3.0)) ** 0.7 * (1 if t < 0.9 else 0) + K.pole("grip", hp, gr, "wrap", n=24, s0=gs0, s1=gs1, cap0=False, cap1=False, cuts=()) + end = hp.at(hp.len) + K.lathe("knob", [(0.0, -0.004), (0.022, -0.004), (0.0275, 0.004), (0.026, 0.014), (0.019, 0.021), (0.0, 0.023)], "knob", segs=12, + frame=K.frame_z(end, (0, 1, 0))) + K.lathe("bump", [(0.0, 0.0), (0.0095, 0.0), (0.0095, 0.008), (0.0065, 0.012), (0.0, 0.012)], "knob", segs=8, + frame=K.frame_z((sx * 0.019, -0.062, hz), (-sx, 0, 0))) + if sx < 0: # a linen cord loop through the end of one handle + e = end + Vector((0, 0.014, 0)) + K.tube("lanyard", [e, e + Vector((-0.02, 0.022, 0)), e + Vector((-0.012, 0.056, 0)), e + Vector((0.016, 0.064, 0)), e + Vector((0.026, 0.034, 0)), + e + Vector((0.006, 0.006, 0))], lambda t: (0.0075, 0.0058), "knob", segs=8, cap0=True, cap1=True) + K.group("Body") + zt = z_in + t0 + fr = Matrix.Translation((0, py, 0)) + K.lathe("head", [(0.0, zt - 0.001), (0.019, zt - 0.001), (0.019, zt + 0.0035), (0.015, zt + 0.0075), (0.0, zt + 0.009)], "brass", segs=14, frame=fr) + K.lathe("nut", [(0.0, -zt + 0.001), (0.0165, -zt + 0.001), (0.0165, -zt - 0.0065), (0.013, -zt - 0.009), (0.0, -zt - 0.009)], "iron", segs=6, frame=fr, + phase=PI / 6) + disc("shaft", (0, py), 0.008, -zt, zt, "iron", segs=8) + return dict(res=2048, ps=0.6, origins={"BladeA": (0, PV_Y, 0), "BladeB": (0, PV_Y, 0)}, also=["SM_Tool_Shears"], + full={"full": (60, -12), "full_under": (-50, -12)}, + views=[("pivot", (0.0, -0.145, 0.0), 0.09, 50, -25), ("grips", (0.0, 0.1, 0.0), 0.16, 45, -20)]) + + +# ======================================================================= nail scissors + +def nail_scissors(): + py, ty = PV_Y, -0.455 + z_in = 0.0006 + tf = lambda u: 0.0115 * (1 - 0.6 * u) + 0.002 + hw = lambda u: 0.0285 * (1 - u) ** 0.85 + 0.0018 + he = lambda u: 0.021 * (1 - u) ** 0.95 + 0.0012 + cfn = lambda u: -0.02 * u ** 2.2 + t0 = tf(0.0) + for nm, sx, sz in (("BladeA", 1, 1), ("BladeB", -1, -1)): + K.group(nm) + S, E, tipc = blade_stations(sx, py, ty, hw, he, cfn, n=14, heel=0.022) + K.shear_blade("blade", sx, sz, S, E, z_in, tf, tip=tipc, cuts=(7,)) + zc = sz * (z_in + t0 * 0.5) + disc("boss", (0, py), 0.024, sz * z_in, sz * (z_in + t0), "iron", ch=0.0035) + big = sx < 0 + cb = Vector((sx * (0.061 if big else 0.056), 0.064 if big else 0.06, zc)) + rx, ry = (0.036, 0.046) if big else (0.031, 0.04) + d = (Vector((0, py, zc)) - cb) + a_in = math.atan2(d.y / ry, d.x / rx) + entry = cb + Vector((rx * math.cos(a_in), ry * math.sin(a_in), 0)) + sh = [Vector((0, py + 0.006, zc)), Vector((sx * 0.011, py + 0.05, zc)), Vector((sx * 0.03, -0.045, zc)), entry + Vector((0, -0.012, 0)), entry] + K.tube("shank", sh, lambda t: (0.0115 - 0.0022 * t, 0.0075), "iron", segs=8) + K.tube("collar", [entry + (sh[-2] - entry).normalized() * 0.014, entry + (sh[-2] - entry).normalized() * 0.002], lambda t: (0.0128, 0.0094), "brass", + segs=8) + # the bow: a brass oval loop + K.oval_ring("bow", cb, rx, ry, 0.0118, 0.0095, "brass", seg=20, rseg=8, z=zc) + if big: + a0 = DEG(150) + p0 = cb + Vector((rx * math.cos(a0), ry * math.sin(a0), 0)) + spur = [p0 + Vector((0.004, -0.004, 0)), p0 + Vector((-0.012, 0.022, 0)), p0 + Vector((-0.014, 0.055, 0)), p0 + Vector((0.004, 0.075, 0))] + K.tube("spur", spur, lambda t: (0.0072 * (1 - 0.45 * t), 0.0058 * (1 - 0.3 * t)), "iron", segs=8) + K.dome("spurtip", spur[-1] + Vector((0, 0, -0.004)), (0, 0, 1), 0.0068, 0.009, "brass", segs=10) + K.group("Body") + zt = z_in + t0 + fr = Matrix.Translation((0, py, 0)) + K.lathe("head", [(0.0, zt - 0.001), (0.013, zt - 0.001), (0.013, zt + 0.002), (0.0098, zt + 0.0048), (0.0, zt + 0.006)], "brass", segs=14, frame=fr) + K.lathe("nut", [(0.0, -zt + 0.001), (0.0115, -zt + 0.001), (0.0115, -zt - 0.003), (0.0088, -zt - 0.0045), (0.0, -zt - 0.0045)], "iron", segs=6, frame=fr, + phase=PI / 6) + disc("shaft", (0, py), 0.006, -zt, zt, "iron", segs=8) + return dict(res=1024, ps=0.45, origins={"BladeA": (0, PV_Y, 0), "BladeB": (0, PV_Y, 0)}, + full={"full": (60, -12), "full_under": (-50, -12)}, + views=[("pivot", (0.0, -0.145, 0.0), 0.06, 50, -25), ("bows", (0.0, 0.03, 0.0), 0.12, 50, -15)]) + + +# ======================================================================= hammer + +def hammer(): + hy = -0.56 + hp = [(0.0, 0.2, 0.0), (0.012, 0.06, 0.0), (0.004, -0.14, 0.0), (0.0, -0.36, 0.0), (0.0, hy - 0.05, 0.0)] + pth = K.Path(hp) + swell = lambda t: math.exp(-((t - 0.18) / 0.22) ** 2) + flare = lambda t: max(0.0, (t - .86) / .14) ** 2 + pole2("handle", pth, lambda t: (0.031 + 0.007 * swell(t) + 0.012 * flare(t), 0.022 + 0.005 * swell(t) + 0.0045 * flare(t)), "wood", n=28, + cap0=True, cap1=True, cuts=(14,)) + # a padded linen grip: a flared butt, finger pillows, a lip; a brass band where it stops + g1 = 0.34 * pth.len + gr = lambda t: (1.0 + 0.22 * max(0.0, 1 - t / 0.11) ** 2 + 0.06 * max(0.0, math.sin((t - 0.2) / 0.62 * 4 * PI)) * (0.2 < t < 0.82) + + 0.06 * max(0.0, (t - 0.93) / 0.07)) + pole2("grip", pth, lambda t: (0.0415 * gr(t), 0.0305 * gr(t)), "wrap", n=28, s0=0.0, s1=g1, cap0=True, cap1=False) + pole2("gband", pth, lambda t: (0.0435 - 0.003 * t, 0.032 - 0.002 * t), "brass", n=2, s0=g1 + 0.002, s1=g1 + 0.022, cap0=True, cap1=True) + K.tube("thong", [(0, 0.206, 0), (0.042, 0.244, 0), (0.04, 0.29, 0), (0.0, 0.306, 0), (-0.034, 0.276, 0), (-0.028, 0.24, 0), (0, 0.206, 0)], + lambda t: 0.0095, "knob", segs=8, cap0=False, cap1=False) + # the head: a rounded dark iron block round the eye, a neck, a brass band, a bright striking face on +X + HT, HB, HW = 0.058, 0.056, 0.044 + K.rbox("cheek", (-0.003, hy - (HT - HB) / 2, 0.0), (0.134, HT + HB, 2 * HW), "iron", bev=0.012, segs=2) + FX = K.frame_z((0, hy, 0), (1, 0, 0)) + K.lathe("neck", [(0.04, 0.05), (0.037, 0.075), (0.0335, 0.098), (0.0345, 0.125), (0.04, 0.158), (0.0465, 0.185), (0.0485, 0.2), (0.0485, 0.213)], + "iron", segs=16, frame=FX) + K.lathe("face", [(0.0485, 0.213), (0.0465, 0.2245), (0.0415, 0.232), (0.0, 0.232)], "steel", segs=16, frame=FX) + K.lathe("pollband", [(0.0488, 0.19), (0.0515, 0.194), (0.0515, 0.207), (0.0488, 0.211)], "brass", segs=16, frame=FX) + # the claw: an outer curve continuing the top line, thinning as it bends back, split by a V + O = resample([(-0.05, hy - HT, 0), (-0.12, hy - 0.053, 0), (-0.185, hy - 0.032, 0), (-0.238, hy + 0.008, 0), (-0.276, hy + 0.066, 0), + (-0.296, hy + 0.128, 0)], 11) + m_ = len(O) - 1 + TN = [] + for i, p in enumerate(O): + t_ = (O[min(i + 1, m_)] - O[max(i - 1, 0)]).normalized() + TN.append(Vector((t_.y, -t_.x, 0))) + Zv = Vector((0, 0, 1)) + th = lambda t: 0.108 * (1 - t) ** 1.2 + 0.008 + W = lambda t: 0.043 - 0.01 * t + gap = lambda t: 0.0 if t < 0.3 else 0.019 * ((t - 0.3) / 0.7) ** 0.75 + K.loft("clawroot", [crect(O[i], TN[i], Zv, 0.0, th(i / m_), -W(i / m_), W(i / m_), 0.011) for i in range(0, 5)], "iron", cap0=True, cap1=True) + for sz in (-1, 1): + R = [] + for i in range(3, m_ + 1): + t = i / m_ + g = gap(t) * 0.5 + 0.0012 + wo = W(t) * (0.97 + 0.1 * max(0.0, t - 0.3)) # inside the root where they overlap, a touch proud beyond it + z0, z1 = (g, wo) if sz > 0 else (-wo, -g) + k_ = 0.985 if i <= 4 else 1.0 + R.append(crect(O[i], TN[i], Zv, 0.0, th(t) * k_, z0, z1, 0.009 * (1 - 0.5 * t))) + K.loft(f"prong{sz}", R, "iron", cap0=False, cap1=True) + # the handle's end through the eye, a steel wedge across it + K.tube("eyetop", [Vector((0, hy - 0.05, 0)), Vector((0, hy - HT - 0.004, 0))], lambda t: (0.031, 0.02), "wood", segs=10, n=2) + K.rbox("wedge", (0.0, hy - HT - 0.0045, 0.0), (0.054, 0.009, 0.007), "steel", bev=0.002, segs=1) + return dict(res=2048, ps=0.6, full={"full": (64, -14), "full_back": (22, 150)}, + views=[("head", (-0.03, -0.56, 0.0), 0.2, 30, -120), ("grip", (0.0, 0.1, 0.0), 0.18, 30, 40)]) + + +BUILDERS = {"SM_Tool_Sickle": sickle, "SM_Tool_LongScythe": long_scythe, "SM_Tool_WideScythe": wide_scythe, + "SM_Tool_GardenShears": garden_shears, "SM_Tool_NailScissors": nail_scissors, "SM_Tool_Hammer": hammer} + +if __name__ == "__main__": + K.run(BUILDERS) diff --git a/ArtSource/Blender/stylized/SM_Tool_GardenShears.blend b/ArtSource/Blender/stylized/SM_Tool_GardenShears.blend new file mode 100644 index 0000000..da886f1 --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_GardenShears.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1204b4aa829c9e3ad344068e11d1cca2e40e3e0ec1ef11985b645aabdca20acf +size 158629 diff --git a/ArtSource/Blender/stylized/SM_Tool_Hammer.blend b/ArtSource/Blender/stylized/SM_Tool_Hammer.blend new file mode 100644 index 0000000..fd74e80 --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_Hammer.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cc20565cf5042c16400e23a21690848290c1a0017124db3b1d2b745c6351269 +size 157271 diff --git a/ArtSource/Blender/stylized/SM_Tool_LongScythe.blend b/ArtSource/Blender/stylized/SM_Tool_LongScythe.blend new file mode 100644 index 0000000..546c19b --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_LongScythe.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:935885e78b83c12e531527daf5b655c4c86ed8f45f071e01bf6ab461bafbe0a6 +size 265466 diff --git a/ArtSource/Blender/stylized/SM_Tool_NailScissors.blend b/ArtSource/Blender/stylized/SM_Tool_NailScissors.blend new file mode 100644 index 0000000..d8ab036 --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_NailScissors.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76ccfe4fa194e53bc04504acde4105709f53c32dbb73385b2e384ef274a4e170 +size 127303 diff --git a/ArtSource/Blender/stylized/SM_Tool_Scythe.blend b/ArtSource/Blender/stylized/SM_Tool_Scythe.blend new file mode 100644 index 0000000..f88e619 --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_Scythe.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c970808fc51dcc1e154cc4cda36f8aa3ecbeff8196eb759cdd1569e76d85f73 +size 206739 diff --git a/ArtSource/Blender/stylized/SM_Tool_Shears.blend b/ArtSource/Blender/stylized/SM_Tool_Shears.blend new file mode 100644 index 0000000..da886f1 --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_Shears.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1204b4aa829c9e3ad344068e11d1cca2e40e3e0ec1ef11985b645aabdca20acf +size 158629 diff --git a/ArtSource/Blender/stylized/SM_Tool_Sickle.blend b/ArtSource/Blender/stylized/SM_Tool_Sickle.blend new file mode 100644 index 0000000..08989de --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_Sickle.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:806000ec83a9daf140831529c521d15d8e98c4df91e1aea537c9a0dff5e736dc +size 154258 diff --git a/ArtSource/Blender/stylized/SM_Tool_WideScythe.blend b/ArtSource/Blender/stylized/SM_Tool_WideScythe.blend new file mode 100644 index 0000000..f6e2e03 --- /dev/null +++ b/ArtSource/Blender/stylized/SM_Tool_WideScythe.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:719cead6592be827d5b964c3d1baf380df6463f84cc3fbcf62a7a54b29b538be +size 224881 diff --git a/ArtSource/Blender/stylized/Style_Tools_Review.blend b/ArtSource/Blender/stylized/Style_Tools_Review.blend new file mode 100644 index 0000000..aef1f66 --- /dev/null +++ b/ArtSource/Blender/stylized/Style_Tools_Review.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc71b730e5157db6ee6c1f1665babc990c13df28e0c51a830ab621cd20236a91 +size 708484 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_GardenShears.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_GardenShears.fbx new file mode 100644 index 0000000..651eb6e --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_GardenShears.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cac4c1b6301f54db4b0d28c25b6f3d1a75662ce6e9a003e15d40d30d64dee7f8 +size 124684 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_Hammer.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_Hammer.fbx new file mode 100644 index 0000000..25af532 --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_Hammer.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:869761c861e8ce09728ae7e49e09e4e399adc3318539bf872dfc362163062e20 +size 88332 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_LongScythe.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_LongScythe.fbx new file mode 100644 index 0000000..9426d12 --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_LongScythe.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:138a36c30dbd2e54f5df3cd0443223aa25a6b3bfe3b614a97b85f97962e57326 +size 228876 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_NailScissors.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_NailScissors.fbx new file mode 100644 index 0000000..c905a4d --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_NailScissors.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7164442b3d4701ce64259f1d9be9f90516b83e3a39c69ce32970c9d0f95f796 +size 72460 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_Scythe.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_Scythe.fbx new file mode 100644 index 0000000..ec6ea4c --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_Scythe.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:133a859d8940b1471f1defdba9b9c215f6f8eddf01b77d7e1eee4e1d633104b5 +size 157276 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_Shears.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_Shears.fbx new file mode 100644 index 0000000..dab3c0f --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_Shears.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cb689e98dcd5d9973e45c0fa781dcf1d0dd6cd78618fba3e996f75391f637b4 +size 124684 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_Sickle.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_Sickle.fbx new file mode 100644 index 0000000..ac11f69 --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_Sickle.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab52ee4fab4d1eeaacce7ffab7e0aad612179379f7f3a2c96f0da1bfc0997a33 +size 87452 diff --git a/ArtSource/Blender/stylized/fbx/SM_Tool_WideScythe.fbx b/ArtSource/Blender/stylized/fbx/SM_Tool_WideScythe.fbx new file mode 100644 index 0000000..55c090c --- /dev/null +++ b/ArtSource/Blender/stylized/fbx/SM_Tool_WideScythe.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6cc9ad1ce9f8665caee007243391d162fb6afb00e87cfca72e85124db6803be +size 180300 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_fpv.png new file mode 100644 index 0000000..7c9de92 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ecc755e147993b721a3de267e93e8a5f133128fef61c1819d58947d51933142 +size 360862 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_full.png new file mode 100644 index 0000000..35495b9 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbc1c97d5ecc730f10df39de80503e5aed86534babadcf7247b5f8e68e845ca5 +size 523801 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_full_under.png b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_full_under.png new file mode 100644 index 0000000..ada0749 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_full_under.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1e6b72ae57f5f9fabfb6d05140d540e3616508da3dc779542c6c933ba679bc1 +size 517825 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_grips.png b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_grips.png new file mode 100644 index 0000000..cb6b0f5 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_grips.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:659ec067934af884f9ff89185dc725d75e614ac9aba9b2838049303f08cd3cce +size 797506 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_pivot.png b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_pivot.png new file mode 100644 index 0000000..f61c31a --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_GardenShears_pivot.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ae2b311526687a4a0ac8d9f80aa19970c8dfd060dc3aeb639b8ece0fd6be3eb +size 1127526 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_fpv.png new file mode 100644 index 0000000..09ba6c6 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85606056a46bf025b05a359c4c2a832bfeccb8239e5bccc3391732dae7773ede +size 329533 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_full.png new file mode 100644 index 0000000..4d53c20 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:451531de9ae759cf8aa95fae86fe19261a6a6a9a6cc16e677eea2abbcf32e65c +size 563349 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_full_back.png b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_full_back.png new file mode 100644 index 0000000..0555d2e --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_full_back.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aed75d349ca931c6537a981eb73d6e381c012ae095cd7fe3467abc1eb048b237 +size 507001 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_grip.png b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_grip.png new file mode 100644 index 0000000..2938cdc --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_grip.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ad73e7b9bd951ca887f8847b8c88b6ae76cf01e259381282579ff8e0b02a28a +size 593089 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_head.png b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_head.png new file mode 100644 index 0000000..6c1b50d --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Hammer_head.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cb809a4146ca7bba5ae74fe25b7166e50e3e7931438d44e1c8d65a8d4da33e9 +size 865278 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_blade_edge.png b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_blade_edge.png new file mode 100644 index 0000000..ae4efac --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_blade_edge.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12b29ebb12f265f8be5c4769cd1d2ebb0658a22ec14fd46c9885c7740352981a +size 779159 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_cradle.png b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_cradle.png new file mode 100644 index 0000000..c18d1c6 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_cradle.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfc692c1c2f74c1527cbb8716ebffbe62556b1d515d08a4dfb5ca23982a0b038 +size 884190 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_fpv.png new file mode 100644 index 0000000..26e7e31 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5997ca77086b584ac868d27b43bc39e0016bb30d3769573c974197671eb24041 +size 403329 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_full.png new file mode 100644 index 0000000..dca787d --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ae71692e4f716ca0d09475cd5d7ddf1260c60539cdbecd771a9262ed4af9b2b +size 531284 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_full_front.png b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_full_front.png new file mode 100644 index 0000000..b3c3adc --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_full_front.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd64251282e10e84c88605a4da9c00811ab64fe30b583949bd0eb0207e590274 +size 613752 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_mount.png b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_mount.png new file mode 100644 index 0000000..4bda35d --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_LongScythe_mount.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e52bebf3bf696154d44bb71599a4ad968038ec3076a3aa7ba1fbe8fdc06e1602 +size 947143 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_bows.png b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_bows.png new file mode 100644 index 0000000..d9ecbbd --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_bows.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83b8506669adf8299d8534e3f747cf3234108e56fafb4e8be54ae3dbc1bf10b4 +size 836130 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_fpv.png new file mode 100644 index 0000000..bab8d77 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2fc548ad1acf16059acb4e90206d4ae8c4b020232265f19d9066f58b0b4dcf2d +size 304065 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_full.png new file mode 100644 index 0000000..3e7466d --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9da923e1cdb2c435b83695b4eceff52de3b9aeeb79a2b605ea9e1386144b5c23 +size 517461 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_full_under.png b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_full_under.png new file mode 100644 index 0000000..a2cf620 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_full_under.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a045842a164894a4043796850d9a875ee6db6253239bf5d12d5ede0c5442e758 +size 504752 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_pivot.png b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_pivot.png new file mode 100644 index 0000000..f62d4c0 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_NailScissors_pivot.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c805c995f44b3d03bc38b8facf890067e1f8813a0b82df553f6fdea0128c17f +size 1022328 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_blade_edge.png b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_blade_edge.png new file mode 100644 index 0000000..4f4c704 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_blade_edge.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a45ef53d29ce0c845375873bcbfb941d767f11640d761940705d6d012cac434 +size 620580 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_clamps.png b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_clamps.png new file mode 100644 index 0000000..9a045c4 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_clamps.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acc4cb1391728688f40a34cbaf6c70232a3f2fa031acdcf9216b6bcc862d7e9c +size 878931 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_fpv.png new file mode 100644 index 0000000..d492331 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96e50e76ac8688318554477f4b25e58811c7c1ab805b6b6d79cc60d33ccf3e53 +size 361924 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_full.png new file mode 100644 index 0000000..6918037 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5926b0d6b467bf20deeee73b9b4dc6ea6df29cb2378b8775eef373a09aa576e3 +size 524736 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_full_front.png b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_full_front.png new file mode 100644 index 0000000..ff1047c --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_full_front.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:861d1f70b4b89003a54e4c29d2b80491cde5ec30d69bff45385d16a355c753ed +size 569763 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_mount.png b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_mount.png new file mode 100644 index 0000000..ecdffe7 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Scythe_mount.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b28053a361ac82ed4430517db8f3d3522f577b25b6eb4d8ec3ade551ef3e197 +size 966148 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_blade.png b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_blade.png new file mode 100644 index 0000000..73fee7c --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_blade.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a409f8740d886f1676dd02bed0382ac386aeb93243c14372a92e8d882bba4674 +size 774595 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_fpv.png new file mode 100644 index 0000000..c2c1f5c --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:022786f7c5cdde881d9807e3b6b990ba33c05dba8ae905163f876a922612f8b6 +size 340603 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_full.png new file mode 100644 index 0000000..9aa960b --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2add3186e1e96ce7b81a8142373e3f5038dd64c2fc1267df4ffc5b1f14470769 +size 607853 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_full_side.png b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_full_side.png new file mode 100644 index 0000000..f72bacc --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_full_side.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80691db073d3ad933fcecbac8b6a8fdc9757268aad25b3368b13477e6f6d9f91 +size 489911 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_neck.png b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_neck.png new file mode 100644 index 0000000..1bd1628 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_Sickle_neck.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ad1b3753507f23dc6139e62e8b58089ca6f9853df4011935597916b1eb39040 +size 1076327 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_braces.png b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_braces.png new file mode 100644 index 0000000..35cabaf --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_braces.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f7e17af257601701b424ab953972e6f3c548a22d378d1da35b60c1b0fc3bce3 +size 800853 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_fpv.png b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_fpv.png new file mode 100644 index 0000000..bedfa5b --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_fpv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7d641eb58c65e11f9f0b5704b6a3da40a0aeb4fac8e91b8b97c38f99bae19d +size 447011 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_full.png b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_full.png new file mode 100644 index 0000000..4ab46c3 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_full.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9410029a40efcf90053ad91ae2bcf84fc7514e98106870eda0c19b78e2fdc3e5 +size 523258 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_full_front.png b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_full_front.png new file mode 100644 index 0000000..6c9a346 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_full_front.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16f7332babf3355fb919dd4c382aa952251645e799740e6fb6bcfaea288a29b5 +size 599403 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_grip.png b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_grip.png new file mode 100644 index 0000000..1353c5b --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_grip.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b24264421928de814acad78e0f357dfaff2171813957472e43cd7e946ba283a9 +size 1045671 diff --git a/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_mount.png b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_mount.png new file mode 100644 index 0000000..4f11ca8 --- /dev/null +++ b/ArtSource/Blender/stylized/previews/SM_Tool_WideScythe_mount.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5472ccdc88b4bd8c905c8d1b89ac3897cd6da77d16c7b0f4e22b376a8bc1b602 +size 1027834 diff --git a/ArtSource/Blender/stylized/ref/style_telescope.png b/ArtSource/Blender/stylized/ref/style_telescope.png new file mode 100644 index 0000000..c5deea9 --- /dev/null +++ b/ArtSource/Blender/stylized/ref/style_telescope.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3b553254b34743c852b0d6bc08b73a940489ceca0ea20b07a803951cad56cfd +size 141910 diff --git a/ArtSource/Blender/stylized/textures/T_GardenShears_Mask.png b/ArtSource/Blender/stylized/textures/T_GardenShears_Mask.png new file mode 100644 index 0000000..8eecd68 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_GardenShears_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:884fd1cf250d216fddd540c56c9bdb30055cad26ca4dcdf1d18897acb3819a91 +size 733563 diff --git a/ArtSource/Blender/stylized/textures/T_GardenShears_Painted.png b/ArtSource/Blender/stylized/textures/T_GardenShears_Painted.png new file mode 100644 index 0000000..08c4321 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_GardenShears_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0e4462d2abf33b9c37af7642a3c3c85febbe6d7e34589e15efe3fe0cb99fdf8 +size 1853789 diff --git a/ArtSource/Blender/stylized/textures/T_Hammer_Mask.png b/ArtSource/Blender/stylized/textures/T_Hammer_Mask.png new file mode 100644 index 0000000..836d666 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_Hammer_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4d356a38ab375d36ff4d1c54407047e51338fcccda97d7dd6e5e66820e36bef +size 806990 diff --git a/ArtSource/Blender/stylized/textures/T_Hammer_Painted.png b/ArtSource/Blender/stylized/textures/T_Hammer_Painted.png new file mode 100644 index 0000000..cbc68ca --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_Hammer_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e68ebc611e592d7aa636008b01e5c26f4b48c18a6dbc79c33736b17d00c23a9c +size 2140096 diff --git a/ArtSource/Blender/stylized/textures/T_LongScythe_Mask.png b/ArtSource/Blender/stylized/textures/T_LongScythe_Mask.png new file mode 100644 index 0000000..f801166 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_LongScythe_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccfaae0be65ff6e096c9f9a1060d927e67e54ca30e62f2a7b0376aca44b3428f +size 1169787 diff --git a/ArtSource/Blender/stylized/textures/T_LongScythe_Painted.png b/ArtSource/Blender/stylized/textures/T_LongScythe_Painted.png new file mode 100644 index 0000000..3e60eca --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_LongScythe_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccb62ee83f7eea9a0c96a07518e4d6743a9ebe55a5b51bdd86b5582a73c4f873 +size 2889223 diff --git a/ArtSource/Blender/stylized/textures/T_NailScissors_Mask.png b/ArtSource/Blender/stylized/textures/T_NailScissors_Mask.png new file mode 100644 index 0000000..ceb9d37 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_NailScissors_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0c38b4ede7989fd3cec071fda00c3b4ca6ceb06d3288e6c9d73da289ed42deb +size 293510 diff --git a/ArtSource/Blender/stylized/textures/T_NailScissors_Painted.png b/ArtSource/Blender/stylized/textures/T_NailScissors_Painted.png new file mode 100644 index 0000000..43167e6 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_NailScissors_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63b7bad4953ec1dde9c6446bf863e97d648eea3e4a59605a2fa8ca6bcd31f82b +size 590928 diff --git a/ArtSource/Blender/stylized/textures/T_Scythe_Mask.png b/ArtSource/Blender/stylized/textures/T_Scythe_Mask.png new file mode 100644 index 0000000..2a1f547 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_Scythe_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0a9a05e9fdc05c2a7a0404d802e218fafd332df6b87129cd646e46f7ad72f49 +size 985923 diff --git a/ArtSource/Blender/stylized/textures/T_Scythe_Painted.png b/ArtSource/Blender/stylized/textures/T_Scythe_Painted.png new file mode 100644 index 0000000..9d16764 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_Scythe_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65e6f34ce6c3fdbe43abbfb3308b78bafab04cad31b2c8710bd9365652df3ff3 +size 2534933 diff --git a/ArtSource/Blender/stylized/textures/T_Sickle_Mask.png b/ArtSource/Blender/stylized/textures/T_Sickle_Mask.png new file mode 100644 index 0000000..938d2f6 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_Sickle_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c73e4a92d198d5babfd1e969efcfc237e54bc8cee2e405ef861b53bd064e590 +size 610001 diff --git a/ArtSource/Blender/stylized/textures/T_Sickle_Painted.png b/ArtSource/Blender/stylized/textures/T_Sickle_Painted.png new file mode 100644 index 0000000..18c6099 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_Sickle_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:660dedd73255dba5fbf73d8155acb2e3266b2685034a9c01d1e9849e2ae2ee81 +size 1915194 diff --git a/ArtSource/Blender/stylized/textures/T_WideScythe_Mask.png b/ArtSource/Blender/stylized/textures/T_WideScythe_Mask.png new file mode 100644 index 0000000..29fa14a --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_WideScythe_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdf127b0cd8d01fd23f29bc5df4ac5031380dd6c98e8b9c239c80c7a5774c949 +size 1100632 diff --git a/ArtSource/Blender/stylized/textures/T_WideScythe_Painted.png b/ArtSource/Blender/stylized/textures/T_WideScythe_Painted.png new file mode 100644 index 0000000..254c745 --- /dev/null +++ b/ArtSource/Blender/stylized/textures/T_WideScythe_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a80374d40b202c7c279cc26f91ace48105084a27821eae2b46a89a0455d5efb +size 2751394 diff --git a/ArtSource/materials_style.json b/ArtSource/materials_style.json new file mode 100644 index 0000000..3530e52 --- /dev/null +++ b/ArtSource/materials_style.json @@ -0,0 +1,107 @@ +[ + { + "name": "M_Scythe_Painted", + "color": "#FFFFFF", + "texture": "T_Scythe_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_Scythe_Mask.png", + "paintGlow": 0.12 + }, + { + "name": "M_Sickle_Painted", + "color": "#FFFFFF", + "texture": "T_Sickle_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_Sickle_Mask.png", + "paintGlow": 0.12 + }, + { + "name": "M_LongScythe_Painted", + "color": "#FFFFFF", + "texture": "T_LongScythe_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_LongScythe_Mask.png", + "paintGlow": 0.12 + }, + { + "name": "M_WideScythe_Painted", + "color": "#FFFFFF", + "texture": "T_WideScythe_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_WideScythe_Mask.png", + "paintGlow": 0.12 + }, + { + "name": "M_GardenShears_Painted", + "color": "#FFFFFF", + "texture": "T_GardenShears_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_GardenShears_Mask.png", + "paintGlow": 0.12 + }, + { + "name": "M_NailScissors_Painted", + "color": "#FFFFFF", + "texture": "T_NailScissors_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_NailScissors_Mask.png", + "paintGlow": 0.12 + }, + { + "name": "M_Hammer_Painted", + "color": "#FFFFFF", + "texture": "T_Hammer_Painted.png", + "metallic": 1.0, + "smoothness": 1.0, + "emission": null, + "transparent": false, + "tiling": [ + 1, + 1 + ], + "mask": "T_Hammer_Mask.png", + "paintGlow": 0.12 + } +] diff --git a/Assets/Art/Materials/M_GardenShears_Painted.mat b/Assets/Art/Materials/M_GardenShears_Painted.mat new file mode 100644 index 0000000..013c2b6 --- /dev/null +++ b/Assets/Art/Materials/M_GardenShears_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_GardenShears_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: ce2b7e8f901495d4287d9c0124557bc6, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: ce2b7e8f901495d4287d9c0124557bc6, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: ce2b7e8f901495d4287d9c0124557bc6, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: 48862c420febc684b93f924b8d734c4b, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &650846672999504616 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Assets/Art/Materials/M_GardenShears_Painted.mat.meta b/Assets/Art/Materials/M_GardenShears_Painted.mat.meta new file mode 100644 index 0000000..3c0710b --- /dev/null +++ b/Assets/Art/Materials/M_GardenShears_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ded3078f93c6bdd4bb29e213f2e195cf +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Materials/M_Hammer_Painted.mat b/Assets/Art/Materials/M_Hammer_Painted.mat new file mode 100644 index 0000000..0768709 --- /dev/null +++ b/Assets/Art/Materials/M_Hammer_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-1146916110811038559 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_Hammer_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: 628972642435df640ae1f7afe07f8883, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: 628972642435df640ae1f7afe07f8883, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 628972642435df640ae1f7afe07f8883, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: 1a36f4a39f95fbc44bf0166ecbfb971c, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/Assets/Art/Materials/M_Hammer_Painted.mat.meta b/Assets/Art/Materials/M_Hammer_Painted.mat.meta new file mode 100644 index 0000000..aae36d9 --- /dev/null +++ b/Assets/Art/Materials/M_Hammer_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a9771b72b29ccf045a79b86cc52d39ee +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Materials/M_LongScythe_Painted.mat b/Assets/Art/Materials/M_LongScythe_Painted.mat new file mode 100644 index 0000000..5f95680 --- /dev/null +++ b/Assets/Art/Materials/M_LongScythe_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_LongScythe_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: 800439d2feda5b14cba773f5b057145f, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: 800439d2feda5b14cba773f5b057145f, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 800439d2feda5b14cba773f5b057145f, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: 571000feb718b42439649e7bf870f23c, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &6016407393315510525 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Assets/Art/Materials/M_LongScythe_Painted.mat.meta b/Assets/Art/Materials/M_LongScythe_Painted.mat.meta new file mode 100644 index 0000000..b705c44 --- /dev/null +++ b/Assets/Art/Materials/M_LongScythe_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 19777d47bd4f9004dbd65e4466d1d598 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Materials/M_NailScissors_Painted.mat b/Assets/Art/Materials/M_NailScissors_Painted.mat new file mode 100644 index 0000000..05e7953 --- /dev/null +++ b/Assets/Art/Materials/M_NailScissors_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_NailScissors_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: 2f8b51c5ef986fe4286813dc960d2222, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: 2f8b51c5ef986fe4286813dc960d2222, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 2f8b51c5ef986fe4286813dc960d2222, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: ac01610f27eda0d43b21a8f3cd3700ee, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &3750127716957630542 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Assets/Art/Materials/M_NailScissors_Painted.mat.meta b/Assets/Art/Materials/M_NailScissors_Painted.mat.meta new file mode 100644 index 0000000..65828c0 --- /dev/null +++ b/Assets/Art/Materials/M_NailScissors_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f72ad99eb7fdcec468ed560ae2bd4c90 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Materials/M_Scythe_Painted.mat b/Assets/Art/Materials/M_Scythe_Painted.mat new file mode 100644 index 0000000..61ca5e5 --- /dev/null +++ b/Assets/Art/Materials/M_Scythe_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-8416923697857809264 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_Scythe_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: 6ec544eeccd6d464d84821cc63bb7b29, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: 6ec544eeccd6d464d84821cc63bb7b29, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 6ec544eeccd6d464d84821cc63bb7b29, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: 62fda86afa9967c45b428f0bf2386254, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/Assets/Art/Materials/M_Scythe_Painted.mat.meta b/Assets/Art/Materials/M_Scythe_Painted.mat.meta new file mode 100644 index 0000000..b5ef8bd --- /dev/null +++ b/Assets/Art/Materials/M_Scythe_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 303e8b2734b8f994b8d0bca27acb9dca +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Materials/M_Sickle_Painted.mat b/Assets/Art/Materials/M_Sickle_Painted.mat new file mode 100644 index 0000000..1b5820e --- /dev/null +++ b/Assets/Art/Materials/M_Sickle_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_Sickle_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: dbe3e100380c76b4a8b5380713e07614, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: dbe3e100380c76b4a8b5380713e07614, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: dbe3e100380c76b4a8b5380713e07614, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: 0909d56fc61de8e45a779459597eefa8, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &5991469438321779540 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Assets/Art/Materials/M_Sickle_Painted.mat.meta b/Assets/Art/Materials/M_Sickle_Painted.mat.meta new file mode 100644 index 0000000..18b0dd8 --- /dev/null +++ b/Assets/Art/Materials/M_Sickle_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 425554622d22a104f8d43b1b454172e5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Materials/M_WideScythe_Painted.mat b/Assets/Art/Materials/M_WideScythe_Painted.mat new file mode 100644 index 0000000..f870517 --- /dev/null +++ b/Assets/Art/Materials/M_WideScythe_Painted.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2096410517499363677 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: M_WideScythe_Painted + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _METALLICSPECGLOSSMAP + m_InvalidKeywords: [] + m_LightmapFlags: 0 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: 7285a16fb80d7fe4bb8d228ee871afcf, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: 7285a16fb80d7fe4bb8d228ee871afcf, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 7285a16fb80d7fe4bb8d228ee871afcf, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 2800000, guid: e6550d2dc741ff247abf9677916449f9, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _ScreenSpaceReflections: 1 + - _ScreenSpaceReflectionsContributeTransparent: 1 + - _Smoothness: 1 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.12, g: 0.12, b: 0.12, a: 0.12} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/Assets/Art/Materials/M_WideScythe_Painted.mat.meta b/Assets/Art/Materials/M_WideScythe_Painted.mat.meta new file mode 100644 index 0000000..1330b4b --- /dev/null +++ b/Assets/Art/Materials/M_WideScythe_Painted.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8c93df4b9f271554aa0a8e2fda229dbd +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Models/SM_Tool_GardenShears.fbx b/Assets/Art/Models/SM_Tool_GardenShears.fbx index 39bffb1..651eb6e 100644 --- a/Assets/Art/Models/SM_Tool_GardenShears.fbx +++ b/Assets/Art/Models/SM_Tool_GardenShears.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:855da042b59fd847506a01bbeeaf2ee4b2149080d55a14e14d84a8e323477a8e -size 99276 +oid sha256:cac4c1b6301f54db4b0d28c25b6f3d1a75662ce6e9a003e15d40d30d64dee7f8 +size 124684 diff --git a/Assets/Art/Models/SM_Tool_Hammer.fbx b/Assets/Art/Models/SM_Tool_Hammer.fbx index 29d09ee..25af532 100644 --- a/Assets/Art/Models/SM_Tool_Hammer.fbx +++ b/Assets/Art/Models/SM_Tool_Hammer.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a363651941162a5b84ddc8c66c510a935b15eaca23eaa569f132690b057fa43 -size 77820 +oid sha256:869761c861e8ce09728ae7e49e09e4e399adc3318539bf872dfc362163062e20 +size 88332 diff --git a/Assets/Art/Models/SM_Tool_LongScythe.fbx b/Assets/Art/Models/SM_Tool_LongScythe.fbx index 0359be8..9426d12 100644 --- a/Assets/Art/Models/SM_Tool_LongScythe.fbx +++ b/Assets/Art/Models/SM_Tool_LongScythe.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:703a38be97dfb9410f11abd9ffab687255698132c77cca17bb45d998b98226f4 -size 111900 +oid sha256:138a36c30dbd2e54f5df3cd0443223aa25a6b3bfe3b614a97b85f97962e57326 +size 228876 diff --git a/Assets/Art/Models/SM_Tool_NailScissors.fbx b/Assets/Art/Models/SM_Tool_NailScissors.fbx index 7d7a26b..c905a4d 100644 --- a/Assets/Art/Models/SM_Tool_NailScissors.fbx +++ b/Assets/Art/Models/SM_Tool_NailScissors.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a98230581fd64341e5ec68a3d165ffe25056311cda9994b0ae984e36bae85c29 -size 68764 +oid sha256:b7164442b3d4701ce64259f1d9be9f90516b83e3a39c69ce32970c9d0f95f796 +size 72460 diff --git a/Assets/Art/Models/SM_Tool_Scythe.fbx b/Assets/Art/Models/SM_Tool_Scythe.fbx index 0757a7e..ec6ea4c 100644 --- a/Assets/Art/Models/SM_Tool_Scythe.fbx +++ b/Assets/Art/Models/SM_Tool_Scythe.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:904506f441587d7c228b09af69add11538c71a462830e9465b37d126a3748112 -size 100124 +oid sha256:133a859d8940b1471f1defdba9b9c215f6f8eddf01b77d7e1eee4e1d633104b5 +size 157276 diff --git a/Assets/Art/Models/SM_Tool_Shears.fbx b/Assets/Art/Models/SM_Tool_Shears.fbx index 048fc9c..dab3c0f 100644 --- a/Assets/Art/Models/SM_Tool_Shears.fbx +++ b/Assets/Art/Models/SM_Tool_Shears.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b03a83b61cbe3383dadb99054831125877c58966ee7e3685c07ddb738f622a4a -size 65596 +oid sha256:7cb689e98dcd5d9973e45c0fa781dcf1d0dd6cd78618fba3e996f75391f637b4 +size 124684 diff --git a/Assets/Art/Models/SM_Tool_Sickle.fbx b/Assets/Art/Models/SM_Tool_Sickle.fbx index c513f89..ac11f69 100644 --- a/Assets/Art/Models/SM_Tool_Sickle.fbx +++ b/Assets/Art/Models/SM_Tool_Sickle.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eeffb5184a94669f66924c34bea40eaba635e59faf755291dd883a3c576cde66 -size 76988 +oid sha256:ab52ee4fab4d1eeaacce7ffab7e0aad612179379f7f3a2c96f0da1bfc0997a33 +size 87452 diff --git a/Assets/Art/Models/SM_Tool_WideScythe.fbx b/Assets/Art/Models/SM_Tool_WideScythe.fbx index 24c88aa..55c090c 100644 --- a/Assets/Art/Models/SM_Tool_WideScythe.fbx +++ b/Assets/Art/Models/SM_Tool_WideScythe.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:66168f214ec8b000e35276da53a7333a36d809951cff488384a46d6883fe470e -size 97132 +oid sha256:a6cc9ad1ce9f8665caee007243391d162fb6afb00e87cfca72e85124db6803be +size 180300 diff --git a/Assets/Art/Textures/T_GardenShears_Mask.png b/Assets/Art/Textures/T_GardenShears_Mask.png new file mode 100644 index 0000000..8eecd68 --- /dev/null +++ b/Assets/Art/Textures/T_GardenShears_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:884fd1cf250d216fddd540c56c9bdb30055cad26ca4dcdf1d18897acb3819a91 +size 733563 diff --git a/Assets/Art/Textures/T_GardenShears_Mask.png.meta b/Assets/Art/Textures/T_GardenShears_Mask.png.meta new file mode 100644 index 0000000..476dd86 --- /dev/null +++ b/Assets/Art/Textures/T_GardenShears_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 48862c420febc684b93f924b8d734c4b +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_GardenShears_Painted.png b/Assets/Art/Textures/T_GardenShears_Painted.png new file mode 100644 index 0000000..08c4321 --- /dev/null +++ b/Assets/Art/Textures/T_GardenShears_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0e4462d2abf33b9c37af7642a3c3c85febbe6d7e34589e15efe3fe0cb99fdf8 +size 1853789 diff --git a/Assets/Art/Textures/T_GardenShears_Painted.png.meta b/Assets/Art/Textures/T_GardenShears_Painted.png.meta new file mode 100644 index 0000000..67bd29d --- /dev/null +++ b/Assets/Art/Textures/T_GardenShears_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: ce2b7e8f901495d4287d9c0124557bc6 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_Hammer_Mask.png b/Assets/Art/Textures/T_Hammer_Mask.png new file mode 100644 index 0000000..836d666 --- /dev/null +++ b/Assets/Art/Textures/T_Hammer_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4d356a38ab375d36ff4d1c54407047e51338fcccda97d7dd6e5e66820e36bef +size 806990 diff --git a/Assets/Art/Textures/T_Hammer_Mask.png.meta b/Assets/Art/Textures/T_Hammer_Mask.png.meta new file mode 100644 index 0000000..b4bd98f --- /dev/null +++ b/Assets/Art/Textures/T_Hammer_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 1a36f4a39f95fbc44bf0166ecbfb971c +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_Hammer_Painted.png b/Assets/Art/Textures/T_Hammer_Painted.png new file mode 100644 index 0000000..cbc68ca --- /dev/null +++ b/Assets/Art/Textures/T_Hammer_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e68ebc611e592d7aa636008b01e5c26f4b48c18a6dbc79c33736b17d00c23a9c +size 2140096 diff --git a/Assets/Art/Textures/T_Hammer_Painted.png.meta b/Assets/Art/Textures/T_Hammer_Painted.png.meta new file mode 100644 index 0000000..702bc7b --- /dev/null +++ b/Assets/Art/Textures/T_Hammer_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 628972642435df640ae1f7afe07f8883 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_LongScythe_Mask.png b/Assets/Art/Textures/T_LongScythe_Mask.png new file mode 100644 index 0000000..f801166 --- /dev/null +++ b/Assets/Art/Textures/T_LongScythe_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccfaae0be65ff6e096c9f9a1060d927e67e54ca30e62f2a7b0376aca44b3428f +size 1169787 diff --git a/Assets/Art/Textures/T_LongScythe_Mask.png.meta b/Assets/Art/Textures/T_LongScythe_Mask.png.meta new file mode 100644 index 0000000..279c164 --- /dev/null +++ b/Assets/Art/Textures/T_LongScythe_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 571000feb718b42439649e7bf870f23c +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_LongScythe_Painted.png b/Assets/Art/Textures/T_LongScythe_Painted.png new file mode 100644 index 0000000..3e60eca --- /dev/null +++ b/Assets/Art/Textures/T_LongScythe_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccb62ee83f7eea9a0c96a07518e4d6743a9ebe55a5b51bdd86b5582a73c4f873 +size 2889223 diff --git a/Assets/Art/Textures/T_LongScythe_Painted.png.meta b/Assets/Art/Textures/T_LongScythe_Painted.png.meta new file mode 100644 index 0000000..5fd3200 --- /dev/null +++ b/Assets/Art/Textures/T_LongScythe_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 800439d2feda5b14cba773f5b057145f +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_NailScissors_Mask.png b/Assets/Art/Textures/T_NailScissors_Mask.png new file mode 100644 index 0000000..ceb9d37 --- /dev/null +++ b/Assets/Art/Textures/T_NailScissors_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0c38b4ede7989fd3cec071fda00c3b4ca6ceb06d3288e6c9d73da289ed42deb +size 293510 diff --git a/Assets/Art/Textures/T_NailScissors_Mask.png.meta b/Assets/Art/Textures/T_NailScissors_Mask.png.meta new file mode 100644 index 0000000..4e4705b --- /dev/null +++ b/Assets/Art/Textures/T_NailScissors_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: ac01610f27eda0d43b21a8f3cd3700ee +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_NailScissors_Painted.png b/Assets/Art/Textures/T_NailScissors_Painted.png new file mode 100644 index 0000000..43167e6 --- /dev/null +++ b/Assets/Art/Textures/T_NailScissors_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63b7bad4953ec1dde9c6446bf863e97d648eea3e4a59605a2fa8ca6bcd31f82b +size 590928 diff --git a/Assets/Art/Textures/T_NailScissors_Painted.png.meta b/Assets/Art/Textures/T_NailScissors_Painted.png.meta new file mode 100644 index 0000000..25e2157 --- /dev/null +++ b/Assets/Art/Textures/T_NailScissors_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 2f8b51c5ef986fe4286813dc960d2222 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_Scythe_Mask.png b/Assets/Art/Textures/T_Scythe_Mask.png new file mode 100644 index 0000000..2a1f547 --- /dev/null +++ b/Assets/Art/Textures/T_Scythe_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0a9a05e9fdc05c2a7a0404d802e218fafd332df6b87129cd646e46f7ad72f49 +size 985923 diff --git a/Assets/Art/Textures/T_Scythe_Mask.png.meta b/Assets/Art/Textures/T_Scythe_Mask.png.meta new file mode 100644 index 0000000..bbdc357 --- /dev/null +++ b/Assets/Art/Textures/T_Scythe_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 62fda86afa9967c45b428f0bf2386254 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_Scythe_Painted.png b/Assets/Art/Textures/T_Scythe_Painted.png new file mode 100644 index 0000000..9d16764 --- /dev/null +++ b/Assets/Art/Textures/T_Scythe_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65e6f34ce6c3fdbe43abbfb3308b78bafab04cad31b2c8710bd9365652df3ff3 +size 2534933 diff --git a/Assets/Art/Textures/T_Scythe_Painted.png.meta b/Assets/Art/Textures/T_Scythe_Painted.png.meta new file mode 100644 index 0000000..528e464 --- /dev/null +++ b/Assets/Art/Textures/T_Scythe_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 6ec544eeccd6d464d84821cc63bb7b29 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_Sickle_Mask.png b/Assets/Art/Textures/T_Sickle_Mask.png new file mode 100644 index 0000000..938d2f6 --- /dev/null +++ b/Assets/Art/Textures/T_Sickle_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c73e4a92d198d5babfd1e969efcfc237e54bc8cee2e405ef861b53bd064e590 +size 610001 diff --git a/Assets/Art/Textures/T_Sickle_Mask.png.meta b/Assets/Art/Textures/T_Sickle_Mask.png.meta new file mode 100644 index 0000000..8cb3718 --- /dev/null +++ b/Assets/Art/Textures/T_Sickle_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 0909d56fc61de8e45a779459597eefa8 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_Sickle_Painted.png b/Assets/Art/Textures/T_Sickle_Painted.png new file mode 100644 index 0000000..18c6099 --- /dev/null +++ b/Assets/Art/Textures/T_Sickle_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:660dedd73255dba5fbf73d8155acb2e3266b2685034a9c01d1e9849e2ae2ee81 +size 1915194 diff --git a/Assets/Art/Textures/T_Sickle_Painted.png.meta b/Assets/Art/Textures/T_Sickle_Painted.png.meta new file mode 100644 index 0000000..1443eda --- /dev/null +++ b/Assets/Art/Textures/T_Sickle_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: dbe3e100380c76b4a8b5380713e07614 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_WideScythe_Mask.png b/Assets/Art/Textures/T_WideScythe_Mask.png new file mode 100644 index 0000000..29fa14a --- /dev/null +++ b/Assets/Art/Textures/T_WideScythe_Mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdf127b0cd8d01fd23f29bc5df4ac5031380dd6c98e8b9c239c80c7a5774c949 +size 1100632 diff --git a/Assets/Art/Textures/T_WideScythe_Mask.png.meta b/Assets/Art/Textures/T_WideScythe_Mask.png.meta new file mode 100644 index 0000000..00acf56 --- /dev/null +++ b/Assets/Art/Textures/T_WideScythe_Mask.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: e6550d2dc741ff247abf9677916449f9 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Textures/T_WideScythe_Painted.png b/Assets/Art/Textures/T_WideScythe_Painted.png new file mode 100644 index 0000000..254c745 --- /dev/null +++ b/Assets/Art/Textures/T_WideScythe_Painted.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a80374d40b202c7c279cc26f91ace48105084a27821eae2b46a89a0455d5efb +size 2751394 diff --git a/Assets/Art/Textures/T_WideScythe_Painted.png.meta b/Assets/Art/Textures/T_WideScythe_Painted.png.meta new file mode 100644 index 0000000..be8c43a --- /dev/null +++ b/Assets/Art/Textures/T_WideScythe_Painted.png.meta @@ -0,0 +1,132 @@ +fileFormatVersion: 2 +guid: 7285a16fb80d7fe4bb8d228ee871afcf +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 4 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationMethod: 0 + spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 1024 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/UI/icon_tool_hammer.png b/Assets/Art/UI/icon_tool_hammer.png index d5775d9..0b75d27 100644 --- a/Assets/Art/UI/icon_tool_hammer.png +++ b/Assets/Art/UI/icon_tool_hammer.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2f121163761f7043fd54d260a28d53f50561076841ed29722d255d9430da1f94 -size 14588 +oid sha256:8a17b991d2fb26bb4c1a07f468ae377256148048a235b286a0b5624797d2bbd8 +size 18020 diff --git a/Assets/Art/UI/icon_tool_longscythe.png b/Assets/Art/UI/icon_tool_longscythe.png index 0fa4973..d8b8e0e 100644 --- a/Assets/Art/UI/icon_tool_longscythe.png +++ b/Assets/Art/UI/icon_tool_longscythe.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cd546220822fbd0ddb0e9c2426afef108dd3a9bb8003b404a74af638b78b4b50 -size 13773 +oid sha256:fddca37f0746ad0d29040e83aa898037b4fec06f1e459d5484217214ead872b3 +size 16309 diff --git a/Assets/Art/UI/icon_tool_scissors.png b/Assets/Art/UI/icon_tool_scissors.png index 8086900..9c91d4b 100644 --- a/Assets/Art/UI/icon_tool_scissors.png +++ b/Assets/Art/UI/icon_tool_scissors.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f8764d47ce07ff0ffcb9069999b5f472e27b79354eb505e269c4e3abc6f4f8f2 -size 13548 +oid sha256:84caca4b2492f7ba0b1c10d0d1737dd02a6be37f21b3f5dca1cb1001368d7a9d +size 15454 diff --git a/Assets/Art/UI/icon_tool_scythe.png b/Assets/Art/UI/icon_tool_scythe.png index 26e0cdc..2bdf13f 100644 --- a/Assets/Art/UI/icon_tool_scythe.png +++ b/Assets/Art/UI/icon_tool_scythe.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fcc6d36755894a731e7fcca8e1d3e274a0467269498dd138ea021e589ccca133 -size 14471 +oid sha256:a4c90e82a9405714b622fad0cd3957263a326da68127f36e6e5707e4997b6023 +size 16157 diff --git a/Assets/Art/UI/icon_tool_shears.png b/Assets/Art/UI/icon_tool_shears.png index a1db075..05139ee 100644 --- a/Assets/Art/UI/icon_tool_shears.png +++ b/Assets/Art/UI/icon_tool_shears.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e56c6b79e8e02332e15bac794a98e681ced36fd0d8a45a705253d322e0a48cf2 -size 12091 +oid sha256:ffde628bb675925b4c52edbb96624f90a40332ef80d74e4dac6f8578ae569690 +size 14731 diff --git a/Assets/Art/UI/icon_tool_sickle.png b/Assets/Art/UI/icon_tool_sickle.png index 2206236..ceacbce 100644 --- a/Assets/Art/UI/icon_tool_sickle.png +++ b/Assets/Art/UI/icon_tool_sickle.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd45f244efb7ef42c8af23f8361bd8429837914eb4bc37eadf64b5cc74e11a38 -size 15750 +oid sha256:8b669573ac241d463d8fc91779327917fa84bbb0ded7cb795e06a4fbdcb6814a +size 17321 diff --git a/Assets/Art/UI/icon_tool_widescythe.png b/Assets/Art/UI/icon_tool_widescythe.png index 4999452..969c703 100644 --- a/Assets/Art/UI/icon_tool_widescythe.png +++ b/Assets/Art/UI/icon_tool_widescythe.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b5f8ae29608917f0ee17aef417d01bbc5c5a4879046e1c4d8baae8c8a8fd109b -size 12369 +oid sha256:da34eefa3bb6b7371a37da7baf82495b1acca82c5a180526cd4e0e7b8cb63dd6 +size 16407 diff --git a/Assets/Editor/ProjectBuilder.cs b/Assets/Editor/ProjectBuilder.cs index 1a1f03e..c907a29 100644 --- a/Assets/Editor/ProjectBuilder.cs +++ b/Assets/Editor/ProjectBuilder.cs @@ -153,7 +153,12 @@ namespace GrassCutter.EditorTools // ───────────────────────── materials ───────────────────────── - [Serializable] class MatDef { public string name, color, texture, emission; public float metallic, smoothness, alpha; public bool transparent, cutout; public float[] tiling; } + /// + /// One material from ArtSource/materials*.json. The painted, PBR tools (materials_style.json) add mask: metallic in + /// RGB, smoothness in alpha (URP's metallic map), and paintGlow: that much of the painted texture as emission, + /// so the painted forms still read in shade. + /// + [Serializable] class MatDef { public string name, color, texture, emission, mask; public float metallic, smoothness, alpha, paintGlow; public bool transparent, cutout; public float[] tiling; } [Serializable] class MatList { public MatDef[] items; } static Shader Lit => Shader.Find("Universal Render Pipeline/Lit"); @@ -182,6 +187,30 @@ namespace GrassCutter.EditorTools } m.SetFloat("_Metallic", d.metallic); m.SetFloat("_Smoothness", d.smoothness); + if (!string.IsNullOrEmpty(d.mask)) + { + var maskPath = "Assets/Art/Textures/" + d.mask; + // the mask holds numbers, not colours + if (AssetImporter.GetAtPath(maskPath) is TextureImporter ti && ti.sRGBTexture) + { + ti.sRGBTexture = false; + ti.SaveAndReimport(); + } + var mask = AssetDatabase.LoadAssetAtPath(maskPath); + if (mask) + { + m.SetTexture("_MetallicGlossMap", mask); + m.SetFloat("_Smoothness", 1f); // with the map, this scales its alpha + m.EnableKeyword("_METALLICSPECGLOSSMAP"); + } + } + if (d.paintGlow > 0f && m.GetTexture("_BaseMap") is Texture paint) + { + m.SetTexture("_EmissionMap", paint); + m.SetColor("_EmissionColor", Color.white * d.paintGlow); + m.EnableKeyword("_EMISSION"); + m.globalIlluminationFlags = MaterialGlobalIlluminationFlags.None; + } if (!string.IsNullOrEmpty(d.emission) && ColorUtility.TryParseHtmlString(d.emission, out var e)) { m.SetColor("_EmissionColor", e * 2.2f); diff --git a/Assets/Resources/AssetBank.asset b/Assets/Resources/AssetBank.asset index 4125af0..f8d42e1 100644 --- a/Assets/Resources/AssetBank.asset +++ b/Assets/Resources/AssetBank.asset @@ -528,6 +528,7 @@ MonoBehaviour: - {fileID: 2100000, guid: 8825596b35622b14e9e1c8a64373fa0c, type: 2} - {fileID: 2100000, guid: 91bc1d0f7030393419e7b15bc78b6ad6, type: 2} - {fileID: 2100000, guid: eac78db3d07d31e4ead29a5170de85ed, type: 2} + - {fileID: 2100000, guid: ded3078f93c6bdd4bb29e213f2e195cf, type: 2} - {fileID: 2100000, guid: 953b1a7ad1a9331489f082f4cf2db1ba, type: 2} - {fileID: 2100000, guid: e5dd121b12da45c4988b7f8b3cb0e5d5, type: 2} - {fileID: 2100000, guid: c8cb50e75bf72a54daeca664cfbaa85d, type: 2} @@ -540,6 +541,7 @@ MonoBehaviour: - {fileID: 2100000, guid: 9177489ccd1972a489066bc9b53033ee, type: 2} - {fileID: 2100000, guid: 2d36f7ddd37c2f44583083de95b214d9, type: 2} - {fileID: 2100000, guid: 8a0d94b4cc84f1d40a9c4920c0e08db3, type: 2} + - {fileID: 2100000, guid: a9771b72b29ccf045a79b86cc52d39ee, type: 2} - {fileID: 2100000, guid: 60d0efc68d6df9041a3b34c5dbbd5401, type: 2} - {fileID: 2100000, guid: 863c6b85e90d001449e404f58da222d8, type: 2} - {fileID: 2100000, guid: 1a0e3ac95cbd5ac4092b1df5a74f4a18, type: 2} @@ -559,8 +561,10 @@ MonoBehaviour: - {fileID: 2100000, guid: 7fee3d2d6542f1043867e11790a4309f, type: 2} - {fileID: 2100000, guid: 645de972f5f6ac943a672af850370c45, type: 2} - {fileID: 2100000, guid: eda0a1333e6797d4e94a4337fa5c2ccc, type: 2} + - {fileID: 2100000, guid: 19777d47bd4f9004dbd65e4466d1d598, type: 2} - {fileID: 2100000, guid: 885d4444a0a0ce5449a52447fefe5f46, type: 2} - {fileID: 2100000, guid: e1244c1faf73b3441a38cc43e3fa79cb, type: 2} + - {fileID: 2100000, guid: f72ad99eb7fdcec468ed560ae2bd4c90, type: 2} - {fileID: 2100000, guid: ff49604d459edba468b7c75581603062, type: 2} - {fileID: 2100000, guid: 224a22067198e7e4f84d7d1c14fe28f5, type: 2} - {fileID: 2100000, guid: a7e3d40c7f9352d4c96f912660bdcc26, type: 2} @@ -606,9 +610,11 @@ MonoBehaviour: - {fileID: 2100000, guid: 2133d0f3cedc8404c9c1c0e3f6a327e5, type: 2} - {fileID: 2100000, guid: fd6831b709fd5ce41a08430c7799bbc5, type: 2} - {fileID: 2100000, guid: fe7475294722f324696677173770b5ee, type: 2} + - {fileID: 2100000, guid: 303e8b2734b8f994b8d0bca27acb9dca, type: 2} - {fileID: 2100000, guid: 6758625b2880f524087890026f3698c5, type: 2} - {fileID: 2100000, guid: 7227cc72aa05f81438e1a619d70dd077, type: 2} - {fileID: 2100000, guid: da0432e5993894146bb1827d2743f00d, type: 2} + - {fileID: 2100000, guid: 425554622d22a104f8d43b1b454172e5, type: 2} - {fileID: 2100000, guid: 34bdb8e7a6b01034c8e5c3b16b1846ac, type: 2} - {fileID: 2100000, guid: 102595c9cbc733d469df30474ae2d211, type: 2} - {fileID: 2100000, guid: e14ff716318f9ff40881afb39d854914, type: 2} @@ -635,6 +641,7 @@ MonoBehaviour: - {fileID: 2100000, guid: c0f42a90d207a0746ba42c1d57608ee7, type: 2} - {fileID: 2100000, guid: 011703d56f100cd4f96ade33a14a56df, type: 2} - {fileID: 2100000, guid: f3a398b61b6f5f74c845516887dfcbe5, type: 2} + - {fileID: 2100000, guid: 8c93df4b9f271554aa0a8e2fda229dbd, type: 2} - {fileID: 2100000, guid: ee9ccde670df4814dbaa90c2b7fbe61b, type: 2} - {fileID: 2100000, guid: 3ca19d24a9aa6954a843968ef1977cdf, type: 2} - {fileID: 2100000, guid: aa5428e4385e7564db9db4b9a46b1263, type: 2}