Spaces:
Running
Running
ngiactcp commited on
Commit ·
4568f30
1
Parent(s): d5d77f9
Update character model with refined bone structure and visual details
Browse filesRefactors 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 |
-
//
|
| 2 |
-
//
|
|
|
|
|
|
|
| 3 |
|
| 4 |
-
|
| 5 |
-
bone "
|
| 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 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
// Cap
|
| 22 |
-
primitive sphere at (0, 0.
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
attach "torso" {
|
| 27 |
-
|
| 28 |
-
primitive sphere at (0, 0, 0
|
|
|
|
|
|
|
| 29 |
}
|
| 30 |
|
|
|
|
|
|
|
| 31 |
attach "arm.R" {
|
| 32 |
-
|
| 33 |
-
primitive sphere at (0, -0.
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
attach "arm.L" {
|
| 40 |
-
primitive sphere at (0, -0.
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|
| 45 |
|
|
|
|
|
|
|
| 46 |
attach "leg.R" {
|
| 47 |
-
|
| 48 |
-
primitive sphere at (0, -
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
attach "leg.L" {
|
| 53 |
-
primitive sphere at (0, -0.
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
}
|