ngiactcp commited on
Commit
4568f30
·
1 Parent(s): d5d77f9

Update character model with refined bone structure and visual details

Browse files

Refactors the `character.f3d` model by restructuring bone hierarchy, separating torso into upper and lower parts, and adjusting limb and head attachment points. Visual elements like eyes, nose, mouth, shirt, and pants are also updated with new primitive shapes and colors.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a1bc3af1-0204-4af2-9d54-82ab4b5d8741
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 91b57d72-120a-40f4-8d1f-88743f694630
Replit-Helium-Checkpoint-Created: true

fynlang/apps/model-builder/models3d/character.f3d CHANGED
@@ -1,56 +1,103 @@
1
- // Subway Surfer Boy - Bone-Based Hierarchy
2
- // Based on technical feedback and reference image
 
 
3
 
4
- bone "head" at (0, 3.8, 0)
5
- bone "torso" at (0, 2.5, 0)
6
- bone "arm.R" at (0.8, 2.5, 0)
7
- bone "arm.L" at (-0.8, 2.5, 0)
8
- bone "leg.R" at (0.3, 0.8, 0)
9
- bone "leg.L" at (-0.3, 0.8, 0)
10
 
 
 
 
 
 
 
 
 
 
 
 
11
  attach "head" {
12
- primitive sphere at (0, 0, 0) size (1.1, 1.1, 1.0) color "#ffe0bd" // Face
13
- // Simple Eyes (Game Style)
14
- primitive sphere at (0.22, 0.1, 0.45) size (0.2, 0.2, 0.1) color "#ffffff"
15
- primitive sphere at (0.22, 0.1, 0.5) size (0.1, 0.1, 0.05) color "#000000"
16
- primitive sphere at (-0.22, 0.1, 0.45) size (0.2, 0.2, 0.1) color "#ffffff"
17
- primitive sphere at (-0.22, 0.1, 0.5) size (0.1, 0.1, 0.05) color "#000000"
18
- // Features
19
- primitive sphere at (0, -0.05, 0.5) size (0.12, 0.12, 0.12) color "#ffe0bd" // Nose
20
- primitive sphere at (0, -0.3, 0.45) size (0.25, 0.06, 0.06) color "#e67e22" // Mouth
 
 
 
 
 
21
  // Cap
22
- primitive sphere at (0, 0.4, 0) size (1.1, 0.7, 1.1) color "#f1c40f"
23
- primitive sphere at (0, 0.4, 0.5) size (0.8, 0.1, 0.7) color "#e74c3c" // Brim
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- attach "torso" {
27
- primitive sphere at (0, 0, 0) size (1.2, 1.8, 1.0) color "#3498db" // Denim
28
- primitive sphere at (0, 0, 0.05) size (0.9, 1.7, 0.9) color "#e74c3c" // Shirt
 
 
29
  }
30
 
 
 
31
  attach "arm.R" {
32
- primitive sphere at (0, -0.3, 0) size (0.35, 1.0, 0.35) color "#ffffff" // Sleeve
33
- primitive sphere at (0, -0.9, 0) size (0.3, 0.3, 0.3) color "#ffe0bd" // Hand
34
- // Fingers (SDF style)
35
- primitive sphere at (0.1, -1.0, 0) size (0.08, 0.2, 0.08) color "#ffe0bd"
36
- primitive sphere at (0.0, -1.0, 0.1) size (0.08, 0.2, 0.08) color "#ffe0bd"
 
 
 
 
37
  }
38
 
39
  attach "arm.L" {
40
- primitive sphere at (0, -0.3, 0) size (0.35, 1.0, 0.35) color "#ffffff" // Sleeve
41
- primitive sphere at (0, -0.9, 0) size (0.3, 0.3, 0.3) color "#ffe0bd" // Hand
42
- primitive sphere at (-0.1, -1.0, 0) size (0.08, 0.2, 0.08) color "#ffe0bd"
43
- primitive sphere at (0.0, -1.0, 0.1) size (0.08, 0.2, 0.08) color "#ffe0bd"
 
 
 
44
  }
45
 
 
 
46
  attach "leg.R" {
47
- primitive sphere at (0, -0.5, 0) size (0.45, 1.5, 0.45) color "#2980b9" // Jeans
48
- primitive sphere at (0, -1.3, 0.2) size (0.55, 0.4, 0.8) color "#ffffff" // Shoe
49
- primitive sphere at (0, -1.2, 0.2) size (0.4, 0.3, 0.6) color "#2ecc71" // Detail
 
 
 
 
 
 
50
  }
51
 
52
  attach "leg.L" {
53
- primitive sphere at (0, -0.5, 0) size (0.45, 1.5, 0.45) color "#2980b9"
54
- primitive sphere at (0, -1.3, 0.2) size (0.55, 0.4, 0.8) color "#ffffff"
55
- primitive sphere at (0, -1.2, 0.2) size (0.4, 0.3, 0.6) color "#2ecc71"
 
 
 
 
56
  }
 
1
+ // ===============================
2
+ // CLEAN PREVIEW-SAFE CHARACTER
3
+ // Separated Parts – Readable Shape
4
+ // ===============================
5
 
6
+ // ---------- BONES ----------
7
+ bone "head" at (0, 4.1, 0)
 
 
 
 
8
 
9
+ bone "torso.upper" at (0, 3.1, 0)
10
+ bone "torso.lower" at (0, 2.2, 0)
11
+
12
+ bone "arm.R" at (1.2, 3.0, 0)
13
+ bone "arm.L" at (-1.2, 3.0, 0)
14
+
15
+ bone "leg.R" at (0.5, 1.0, 0)
16
+ bone "leg.L" at (-0.5, 1.0, 0)
17
+
18
+
19
+ // ---------- HEAD ----------
20
  attach "head" {
21
+ // Head
22
+ primitive sphere at (0, 0, 0)
23
+ size (1.0, 1.0, 1.0)
24
+ color "#ffe0bd"
25
+
26
+ // Eyes
27
+ primitive sphere at (0.25, 0.1, 0.45)
28
+ size (0.12, 0.12, 0.08)
29
+ color "#000000"
30
+
31
+ primitive sphere at (-0.25, 0.1, 0.45)
32
+ size (0.12, 0.12, 0.08)
33
+ color "#000000"
34
+
35
  // Cap
36
+ primitive sphere at (0, 0.45, 0)
37
+ size (1.05, 0.6, 1.05)
38
+ color "#f1c40f"
39
+ }
40
+
41
+
42
+ // ---------- TORSO ----------
43
+ attach "torso.upper" {
44
+ // Shirt
45
+ primitive sphere at (0, 0, 0)
46
+ size (1.1, 1.3, 0.8)
47
+ color "#3498db"
48
  }
49
 
50
+ attach "torso.lower" {
51
+ // Pants waist
52
+ primitive sphere at (0, 0, 0)
53
+ size (0.9, 0.9, 0.7)
54
+ color "#2980b9"
55
  }
56
 
57
+
58
+ // ---------- ARMS ----------
59
  attach "arm.R" {
60
+ // Upper arm + sleeve
61
+ primitive sphere at (0, -0.4, 0)
62
+ size (0.3, 0.9, 0.3)
63
+ color "#ffffff"
64
+
65
+ // Hand
66
+ primitive sphere at (0, -1.1, 0)
67
+ size (0.25, 0.25, 0.25)
68
+ color "#ffe0bd"
69
  }
70
 
71
  attach "arm.L" {
72
+ primitive sphere at (0, -0.4, 0)
73
+ size (0.3, 0.9, 0.3)
74
+ color "#ffffff"
75
+
76
+ primitive sphere at (0, -1.1, 0)
77
+ size (0.25, 0.25, 0.25)
78
+ color "#ffe0bd"
79
  }
80
 
81
+
82
+ // ---------- LEGS ----------
83
  attach "leg.R" {
84
+ // Upper leg
85
+ primitive sphere at (0, -0.7, 0)
86
+ size (0.35, 1.2, 0.35)
87
+ color "#2980b9"
88
+
89
+ // Shoe
90
+ primitive sphere at (0, -1.6, 0.15)
91
+ size (0.45, 0.3, 0.7)
92
+ color "#ffffff"
93
  }
94
 
95
  attach "leg.L" {
96
+ primitive sphere at (0, -0.7, 0)
97
+ size (0.35, 1.2, 0.35)
98
+ color "#2980b9"
99
+
100
+ primitive sphere at (0, -1.6, 0.15)
101
+ size (0.45, 0.3, 0.7)
102
+ color "#ffffff"
103
  }