Preview the smooth studio-lit practice figures, woman and man
The owner asked for figures as good as two reference sculptures: smooth surfaces, correct proportions, clean textures, a petite young Chinese woman by default and a young man in a kung fu outfit as a choice. - The bake script makes either character (--character female|male) from MakeHuman's CC0 macro targets, with the male targets added and every target's checksum recorded: her petite shape, larger eyes, smaller mouth and chin and narrower shoulders; a fitted top and slim trousers smoothed like cloth; his loose kung fu jacket smoothed over his back; parted hair in a bun or short hair with a soft hairline; bare feet. It draws clean texture maps itself, including a face drawn on the mesh's own lid, eyeball and mouth landmarks, and leaves out the scalp under the hair. - The preview has a Woman/Man switch and the colour strength only, shows one texture updated in place, and captures both characters on the backdrops and on studio grey, at the reference sculptures' angles and in close portraits. - Pin practices 7797a280 and Kryon 4b79d976. - Update the figure plan.
This commit is contained in:
1 parent
237e86b0ae
commit
4dc8f300e7
20 files changed
+948
-513
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -7,19 +7,28 @@
|
||||
"weights": "makehuman/data/rigs/default_weights.mhw",
|
||||
"weights_sha256": "0f3641d651ae3d00ad6b4ccee43142edb109d3bd909d27d9e4139ef1beed8625",
|
||||
"weights_licence": "CC0-1.0 (declared in the file header)",
|
||||
"shape": "slender young adult female: makehuman/data/targets/macrodetails/{african,asian,caucasian}-female-young.target, one third each; macro weight 0.25, muscle 0.35, height 0.65 and ideal proportions mixed as MakeHuman mixes them from macrodetails/universal-female-young-*, macrodetails/height/female-young-*-maxheight (the four are one file) and macrodetails/proportions/female-young-*-idealproportions; then smaller hands and feet and a slightly longer neck in Breeze scripts/prepare-practice-human.py",
|
||||
"shape": "two characters, each MakeHuman's own young-adult macro shape, mixed as MakeHuman mixes its macro targets: makehuman/data/targets/macrodetails/{asian,caucasian}-GENDER-young.target (0.9 and 0.1), macrodetails/universal-GENDER-young-*muscle-*weight and macrodetails/proportions/GENDER-young-*-idealproportions (ideal proportions) at each character's weight and muscle, and macrodetails/height/GENDER-young-*-maxheight (the four are one file). The petite woman: weight 0.10, muscle 0.45, height 0.60; then smaller hands and feet, narrower shoulders, a slightly longer neck, larger eyes, a smaller mouth, a shorter chin and a smaller jaw. The young man: weight 0.40, muscle 0.65, height 0.60, eyes a little larger. Both in Breeze scripts/prepare-practice-human.py.",
|
||||
"shape_files": {
|
||||
"makehuman-african-female-young.target.gz": "cb57ae84a34b9ed0cf2c4e65909337827ab3da40663c0aa6524f5fe345c4f182",
|
||||
"makehuman-asian-female-young.target.gz": "47067a1afcaea462d751f1b8ad30e465b54dd22b3f28c8d8e7fc7344ddd7e02a",
|
||||
"makehuman-asian-male-young.target.gz": "decf95b11819927fad59931e080046f84c36f6742f4fd6e74ab4a5665a1df4fd",
|
||||
"makehuman-caucasian-female-young.target.gz": "09559da0d7e7936b94f4898063620650e1e7489fa8459f859e67a70646482c62",
|
||||
"makehuman-caucasian-male-young.target.gz": "b494e2c28d7c97cc997a4d64ac91b854e0037eb475cce042aaa5e5ec54ef8274",
|
||||
"makehuman-height-female-young-maxheight.target.gz": "db4021e632faa65c4a9b735fafe8bd2c84476047234557490985f6550e528071",
|
||||
"makehuman-height-male-young-maxheight.target.gz": "db4021e632faa65c4a9b735fafe8bd2c84476047234557490985f6550e528071",
|
||||
"makehuman-proportions-female-young-averagemuscle-averageweight-idealproportions.target.gz": "862192427280d8695e7a212ce5b73ced42d8d469ff822781c07066149467d952",
|
||||
"makehuman-proportions-female-young-averagemuscle-minweight-idealproportions.target.gz": "0d80f8a42a0ecefe9bea6fe63808973dcb71db0b0717d50e9ad6247d1e60cac3",
|
||||
"makehuman-proportions-female-young-minmuscle-averageweight-idealproportions.target.gz": "6cfa5b6c82ad68a0255f8e567162b15edc225d41cfbac3a632cf5308c02cb3dd",
|
||||
"makehuman-proportions-female-young-minmuscle-minweight-idealproportions.target.gz": "304bb6ffb59e167d9a38d230336bea0996b12b27c3c76778f72257437f2eda08",
|
||||
"makehuman-proportions-male-young-averagemuscle-averageweight-idealproportions.target.gz": "162b35ad3d297c532688e48976fe94d0826987c8353364791e8b20753e785217",
|
||||
"makehuman-proportions-male-young-averagemuscle-minweight-idealproportions.target.gz": "36f2812c196c0677f86c39e5b8bc09bbbab2c85e94a8f73593410f7f5b4c039f",
|
||||
"makehuman-proportions-male-young-maxmuscle-averageweight-idealproportions.target.gz": "2e1969967db03c78cfbb435a9c18c263290c3ebb37c7aadb4d0ff96f735c69be",
|
||||
"makehuman-proportions-male-young-maxmuscle-minweight-idealproportions.target.gz": "2e1969967db03c78cfbb435a9c18c263290c3ebb37c7aadb4d0ff96f735c69be",
|
||||
"makehuman-universal-female-young-averagemuscle-minweight.target.gz": "1c16fee7ff8a5f3e7fd746fc3a400fb6139ec8bba8ecb8d28397f469bdccc629",
|
||||
"makehuman-universal-female-young-minmuscle-averageweight.target.gz": "1da31baecbf8b98430d8e6dca8000afe56d1063d112057d559c97f57a1b7eb7a",
|
||||
"makehuman-universal-female-young-minmuscle-minweight.target.gz": "1a29b433bae8304b9254242226526799561eb2d25c691441cea599ebe6a04def"
|
||||
"makehuman-universal-female-young-minmuscle-minweight.target.gz": "1a29b433bae8304b9254242226526799561eb2d25c691441cea599ebe6a04def",
|
||||
"makehuman-universal-male-young-averagemuscle-minweight.target.gz": "591f4105390abc3b4d7691d33fcdd9737875922374f8d227652b8f94d600acea",
|
||||
"makehuman-universal-male-young-maxmuscle-averageweight.target.gz": "06cbc0fb72830b88609f3cf05dc1c90006c13758b157002bec0a1921545c3da3",
|
||||
"makehuman-universal-male-young-maxmuscle-minweight.target.gz": "5ba2c95a24e8cbc52ace6516e5368e1abf58bcfe51a8864101d489e1fb3476f1"
|
||||
},
|
||||
"shape_licence": "CC0-1.0 (declared in each target file header)"
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,19 +1,19 @@
|
||||
# Figure preview
|
||||
|
||||
A native window for judging and tuning the shared practice figure. It plays
|
||||
each practice's own choreography on the character from the practices
|
||||
package (`figure/`): Tai Chi forms, two rounds of Sun Salutation, the
|
||||
Workout's twelve exercises and the six astral techniques. It runs on Ziran
|
||||
and Kryon's SDL/Cairo desktop host, without raylib.
|
||||
A native window for judging and tuning the shared practice figures. It
|
||||
plays each practice's own choreography on either character from the
|
||||
practices package (`figure/`), the petite young woman or the young man:
|
||||
Tai Chi forms, two rounds of Sun Salutation, the Workout's twelve exercises
|
||||
and the six astral techniques. It runs on Ziran and Kryon's SDL/Cairo
|
||||
desktop host, without raylib.
|
||||
|
||||
Each practice plays on its own backdrop in Inner Breeze's illustration
|
||||
style: a lake terrace for Tai Chi, a sunrise hill for Sun Salutation, a
|
||||
woodland deck for the Workout and a moonlit veranda for astral projection.
|
||||
The panel picks the practice and item, plays, pauses, scrubs and slows the
|
||||
clock. It switches the finish off to show the bare surface on paper, and
|
||||
can show Breeze's current flat figure for the same moment. It also tunes the
|
||||
seam softening, the dried edges, the line, the texture and the colour
|
||||
strength. Drag over her to turn around her; scroll to zoom.
|
||||
The panel picks the woman or the man, the practice and item, plays,
|
||||
pauses, scrubs and slows the clock, sets the colour strength and can show
|
||||
Breeze's current flat figure for the same moment. Drag over the figure to
|
||||
turn around it; scroll to zoom.
|
||||
|
||||
This is its own small project so it can pin the Kryon that has
|
||||
`scene_skin` and portable shaders, and the practices commit that has the figure,
|
||||
@@ -41,12 +41,14 @@ checkout instead, for trying figure changes before they are pushed (add
|
||||
that checkout's figure code too).
|
||||
|
||||
`./build/app/figure_preview --capture DIR` writes review frames to `DIR` and
|
||||
exits without a window. Each frame is written three ways: the painted figure
|
||||
on the practice's backdrop (`NAME.png`), her bare surface on paper
|
||||
(`NAME-bare.png`) and Breeze's current flat figure for the same moment and
|
||||
camera (`NAME-current.png`). The frames cover
|
||||
Tai Chi's deepest stance, Sun Salutation's fold, lunge, plank, cobra and
|
||||
downward dog, the Workout's lowest squat and lunge, and the astral exits.
|
||||
exits without a window: the woman on the practice's backdrop (`NAME.png`)
|
||||
and on a plain studio grey (`NAME-studio.png`), the man the same way
|
||||
(`NAME-male.png`, `NAME-male-studio.png`), and Breeze's current flat figure
|
||||
for the same moment and camera (`NAME-current.png`). The frames cover a
|
||||
front and a turned portrait, Tai Chi's deepest stance, also at the angles
|
||||
of the owner's two reference sculptures (`reference-female`,
|
||||
`reference-male`), Sun Salutation's fold, lunge, plank, cobra and downward
|
||||
dog, the Workout's lowest squat and lunge, and the astral exits.
|
||||
|
||||
## Profiling
|
||||
|
||||
@@ -54,11 +56,12 @@ The window prints a timing report to its standard output (the launcher's
|
||||
journal) every 120 painted frames and when it closes: median and 95th
|
||||
percentile milliseconds over the last 240 frames
|
||||
for the whole frame and for each step (the practice's pose solve, the
|
||||
figure's pose, skinning, cloth, render and readback, finish and ground
|
||||
shadow, the backdrop, compositing, the astral double, the texture upload
|
||||
figure's pose, skinning, the skirt and the normals, render and readback,
|
||||
fading a translucent double, the contact shadow, the backdrop, compositing, the astral double, the texture upload
|
||||
and the panel's controls). `./build/app/figure_preview --profile PRACTICE`
|
||||
(`tai-chi`, `sun-salutation`, `workout` or `astral`) paints 240 frames
|
||||
without a window and prints the same report; add `still` to hold one pose.
|
||||
without a window and prints the same report; add `still` to hold one pose
|
||||
and `male` to profile the man.
|
||||
|
||||
## Known limits
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// A live preview of the shared practice figure: pick a practice and one of
|
||||
// its items, play, pause, scrub or slow it down, turn and zoom around her,
|
||||
// and switch the watercolor finish off to judge the bare surface. The poses
|
||||
// are the practices' own (preview_practices.zi); the character is the
|
||||
// practices package's figure.
|
||||
// A live preview of the shared practice figures: pick the woman or the man,
|
||||
// a practice and one of its items, play, pause, scrub or slow it down, turn
|
||||
// and zoom around the figure, and set the colour strength. The poses are
|
||||
// the practices' own (preview_practices.zi); the characters are the
|
||||
// practices package's figures.
|
||||
//
|
||||
// figure_preview opens the window
|
||||
// figure_preview --capture DIR writes the review frames to DIR and exits
|
||||
@@ -53,7 +53,8 @@ PreviewState :: struct {
|
||||
seconds: float64
|
||||
playing: bool
|
||||
speed: float64
|
||||
watercolor: bool
|
||||
// FIGURE_FEMALE or FIGURE_MALE.
|
||||
character: s32
|
||||
// Shows Breeze's current flat figure instead, for comparison.
|
||||
current: bool
|
||||
turn: float64
|
||||
@@ -62,25 +63,20 @@ PreviewState :: struct {
|
||||
dragging: bool
|
||||
drag_x: float32
|
||||
drag_y: float32
|
||||
bleed: float32
|
||||
edge: float32
|
||||
contour: float32
|
||||
granulation: float32
|
||||
colour: float32
|
||||
}
|
||||
|
||||
preview_state: PreviewState = .{playing = true, speed = 1.0, watercolor = true, zoom = 1.0,
|
||||
bleed = 0.15, edge = 0.25, contour = 0.6, granulation = 0.25, colour = 0.6};
|
||||
preview_media: FigureMedia;
|
||||
preview_state: PreviewState = .{playing = true, speed = 1.0, zoom = 1.0, colour = 0.6};
|
||||
preview_woman: FigureMedia;
|
||||
preview_man: FigureMedia;
|
||||
// The character the painters were prepared for.
|
||||
preview_prepared: s32;
|
||||
preview_backdrops: PreviewBackdrops;
|
||||
preview_library: PreviewLibrary;
|
||||
preview_body: FigurePainter;
|
||||
preview_twin: FigurePainter;
|
||||
preview_picture: Raster.Image;
|
||||
// Two textures, used in turn: Kryon redraws an image when its texture
|
||||
// changes, not when the same texture's pixels are updated.
|
||||
preview_textures: [2]Texture2D;
|
||||
preview_shown: s32;
|
||||
preview_texture: Texture2D;
|
||||
preview_owner: Session;
|
||||
preview_painted_key: u64;
|
||||
preview_failed: bool;
|
||||
@@ -103,8 +99,10 @@ main :: (argc: s32, argv: **u8) -> s32 {
|
||||
return 1
|
||||
}
|
||||
media: [1100]u8
|
||||
preview_media = FigureMediaLoad(PreviewJoin(media[:], practices, "/shared/watercolor"))
|
||||
if !FigureMediaReady(*preview_media) || !PreviewBackdropsLoad(*preview_backdrops, practices) ||
|
||||
folder := PreviewJoin(media[:], practices, "/shared/figure")
|
||||
preview_woman = FigureMediaLoad(folder, FIGURE_FEMALE)
|
||||
preview_man = FigureMediaLoad(folder, FIGURE_MALE)
|
||||
if !FigureMediaReady(*preview_woman) || !FigureMediaReady(*preview_man) || !PreviewBackdropsLoad(*preview_backdrops, practices) ||
|
||||
!PreviewLibraryLoad(*preview_library, practices) {
|
||||
print("figure preview: could not read the figure media or the practices in %\n", practices)
|
||||
return 1
|
||||
@@ -118,13 +116,21 @@ main :: (argc: s32, argv: **u8) -> s32 {
|
||||
practice = index
|
||||
}
|
||||
}
|
||||
// A third argument "still" holds one pose, to tell the renderer's own
|
||||
// cost from rebuilding the moving surface.
|
||||
still := argc >= 4 && TextFromCString(argv[3]) == "still"
|
||||
return PreviewProfileRun(*preview_media, *preview_backdrops, *preview_library, practice, 240, 600, 760, still)
|
||||
// Further arguments: "still" holds one pose, to tell the renderer's
|
||||
// own cost from rebuilding the moving surface; "male" profiles him.
|
||||
still := false
|
||||
character: s32 = FIGURE_FEMALE
|
||||
for index: 3..argc - 1 {
|
||||
still = still || TextFromCString(argv[index]) == "still"
|
||||
if TextFromCString(argv[index]) == "male" {
|
||||
character = FIGURE_MALE
|
||||
}
|
||||
}
|
||||
return PreviewProfileRun(PreviewMedia(character), *preview_backdrops, *preview_library, practice, 240, 600,
|
||||
760, still)
|
||||
}
|
||||
if argc >= 3 && TextFromCString(argv[1]) == "--capture" {
|
||||
return PreviewCapture(*preview_media, *preview_backdrops, *preview_library, TextFromCString(argv[2]))
|
||||
return PreviewCapture(*preview_woman, *preview_man, *preview_backdrops, *preview_library, TextFromCString(argv[2]))
|
||||
}
|
||||
status := Desktop.RunTitled(PreviewDraw, 1360, 900, "Figure preview")
|
||||
PreviewProfileReport("live window, closing")
|
||||
@@ -193,6 +199,15 @@ PreviewDraw :: (session: Session, viewport: Rectangle) -> s32 {
|
||||
Text.Draw(session, Text.Props.{.key = 10, .bounds = .{x, y, width, 30.0}, .text = "Figure preview",
|
||||
.size = 22})
|
||||
y += 42.0
|
||||
people: [2]Segmented.SegmentOption
|
||||
people[0].label = "Woman"
|
||||
people[1].label = "Man"
|
||||
person := Segmented.Draw(session, Segmented.Props.{.key = 27, .bounds = .{x, y, width, 40.0},
|
||||
.selected_index = state.character, .has_selection = true}, people[:]).selected_index
|
||||
if person != state.character && person >= 0 && person < FIGURE_CHARACTERS {
|
||||
state.character = person
|
||||
}
|
||||
y += 52.0
|
||||
options: [4]Segmented.SegmentOption
|
||||
options[0].label = "Tai Chi"
|
||||
options[1].label = "Sun"
|
||||
@@ -246,24 +261,9 @@ PreviewDraw :: (session: Session, viewport: Rectangle) -> s32 {
|
||||
state.speed = cast(float64)speed.value
|
||||
}
|
||||
y += 62.0
|
||||
state.watercolor = Toggle.Draw(session, Toggle.Props.{.key = 17, .bounds = .{x, y, width, 40.0},
|
||||
.label = "Watercolor finish", .value = state.watercolor}).value
|
||||
y += 46.0
|
||||
state.current = Toggle.Draw(session, Toggle.Props.{.key = 23, .bounds = .{x, y, width, 40.0},
|
||||
.label = "Current flat figure", .value = state.current}).value
|
||||
y += 50.0
|
||||
state.bleed = Slider.Draw(session, Slider.Props.{.key = 25, .bounds = .{x, y, width, 56.0},
|
||||
.label = "Wet bleed", .value = state.bleed, .max = 1.0}).value
|
||||
y += 60.0
|
||||
state.edge = Slider.Draw(session, Slider.Props.{.key = 18, .bounds = .{x, y, width, 56.0},
|
||||
.label = "Dried edges", .value = state.edge, .max = 1.0}).value
|
||||
y += 60.0
|
||||
state.contour = Slider.Draw(session, Slider.Props.{.key = 19, .bounds = .{x, y, width, 56.0},
|
||||
.label = "Ink line", .value = state.contour, .max = 1.0}).value
|
||||
y += 60.0
|
||||
state.granulation = Slider.Draw(session, Slider.Props.{.key = 20, .bounds = .{x, y, width, 56.0},
|
||||
.label = "Granulation", .value = state.granulation, .max = 1.0}).value
|
||||
y += 60.0
|
||||
state.colour = Slider.Draw(session, Slider.Props.{.key = 26, .bounds = .{x, y, width, 56.0},
|
||||
.label = "Colour strength", .value = state.colour, .max = 1.0}).value
|
||||
y += 66.0
|
||||
@@ -293,14 +293,13 @@ PreviewDraw :: (session: Session, viewport: Rectangle) -> s32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
PreviewMedia :: (character: s32) -> *FigureMedia {
|
||||
return ifx character == FIGURE_MALE then *preview_man else *preview_woman
|
||||
}
|
||||
|
||||
PreviewStyle :: () -> FigureStyle {
|
||||
style := FigureStyleDefault()
|
||||
style.watercolor = preview_state.watercolor
|
||||
style.wash.bleed = cast(float64)preview_state.bleed
|
||||
style.wash.edge = cast(float64)preview_state.edge
|
||||
style.wash.contour = cast(float64)preview_state.contour
|
||||
style.wash.granulation = cast(float64)preview_state.granulation
|
||||
style.wash.saturation = cast(float64)preview_state.colour
|
||||
style.colour = cast(float64)preview_state.colour
|
||||
return style
|
||||
}
|
||||
|
||||
@@ -314,7 +313,7 @@ PreviewPaintFigure :: (session: Session, area: Rectangle) {
|
||||
return
|
||||
}
|
||||
key := PreviewKey(width, height)
|
||||
if key != preview_painted_key || preview_textures[preview_shown].id == 0 {
|
||||
if key != preview_painted_key || preview_texture.id == 0 {
|
||||
clock := PreviewNow()
|
||||
moment := PreviewSample(*preview_library, state.practice, state.item, state.seconds)
|
||||
PreviewRecord(PREVIEW_PHASE_SOLVE, PreviewLap(*clock))
|
||||
@@ -323,13 +322,19 @@ PreviewPaintFigure :: (session: Session, area: Rectangle) {
|
||||
camera := PreviewFlatOf(*moment, view)
|
||||
preview_failed = !PreviewFlatRender(camera, view, width, height, *preview_picture)
|
||||
} else {
|
||||
preview_failed = !PreviewCompose(*preview_body, *preview_twin, *preview_media, *preview_backdrops,
|
||||
state.practice, *moment, view, PreviewStyle(), width, height, *preview_picture)
|
||||
// The painters are prepared for one character's surface.
|
||||
if preview_prepared != state.character {
|
||||
FigurePainterRelease(*preview_body)
|
||||
FigurePainterRelease(*preview_twin)
|
||||
preview_prepared = state.character
|
||||
}
|
||||
preview_failed = !PreviewCompose(*preview_body, *preview_twin, PreviewMedia(state.character),
|
||||
*preview_backdrops, state.practice, *moment, view, PreviewStyle(), false, width, height,
|
||||
*preview_picture)
|
||||
}
|
||||
unused PreviewLap(*clock)
|
||||
if !preview_failed {
|
||||
next := 1 - preview_shown
|
||||
texture := preview_textures[next]
|
||||
texture := preview_texture
|
||||
if texture.id != 0 && (texture.width != width || texture.height != height ||
|
||||
preview_owner.slot != session.slot || preview_owner.epoch != session.epoch) {
|
||||
BitmapImageRelease(preview_owner, texture)
|
||||
@@ -341,21 +346,15 @@ PreviewPaintFigure :: (session: Session, area: Rectangle) {
|
||||
} else if !BitmapImageUpdate(session, texture, preview_picture.pixels[:]) {
|
||||
preview_failed = true
|
||||
}
|
||||
preview_textures[next] = texture
|
||||
if texture.id != 0 && !preview_failed {
|
||||
preview_shown = next
|
||||
}
|
||||
preview_texture = texture
|
||||
preview_painted_key = key
|
||||
PreviewRecord(PREVIEW_PHASE_UPLOAD, PreviewLap(*clock))
|
||||
preview_painted = true
|
||||
}
|
||||
}
|
||||
shown := preview_textures[preview_shown]
|
||||
if shown.id != 0 {
|
||||
// A new key with each new picture: Kryon's retained frames compare
|
||||
// an image by its node and texture, not by the pixels behind it.
|
||||
Image.Draw(session, Image.Props.{.key = cast(u64)(3 + preview_shown * 1000), .bounds = area,
|
||||
.texture = shown, .smooth = true, .alt_text = "The practice figure"})
|
||||
if preview_texture.id != 0 {
|
||||
Image.Draw(session, Image.Props.{.key = 3, .bounds = area, .texture = preview_texture, .smooth = true,
|
||||
.alt_text = "The practice figure"})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -363,11 +362,9 @@ PreviewPaintFigure :: (session: Session, area: Rectangle) {
|
||||
PreviewKey :: (width: s32, height: s32) -> u64 {
|
||||
state := *preview_state
|
||||
digest: u64 = 1469598103934665603
|
||||
values: [15]float64 = .[cast(float64)state.practice, cast(float64)state.item, state.seconds,
|
||||
state.turn, state.lift, state.zoom, ifx state.watercolor then 1.0 else 0.0,
|
||||
ifx state.current then 1.0 else 0.0, cast(float64)state.bleed, cast(float64)state.edge,
|
||||
cast(float64)state.contour, cast(float64)state.granulation, cast(float64)state.colour,
|
||||
cast(float64)width, cast(float64)height]
|
||||
values: [10]float64 = .[cast(float64)state.practice, cast(float64)state.item, state.seconds,
|
||||
state.turn, state.lift, state.zoom, cast(float64)state.character,
|
||||
ifx state.current then 1.0 else 0.0, cast(float64)state.colour, cast(float64)width * 10000.0 + cast(float64)height]
|
||||
for value: values {
|
||||
bits := cast(u64)(value * 1000003.0 + 0.5)
|
||||
digest = digest * 1099511628211 + bits
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
// Composing a moment's picture, and the fixed review frames the capture
|
||||
// mode writes: each practice's hardest poses for the figure, painted on the
|
||||
// practice's backdrop, bare on paper, and Breeze's current flat figure.
|
||||
// mode writes: each practice's hardest poses for both figures, on the
|
||||
// practice's backdrop and on a plain studio grey, and Breeze's current flat
|
||||
// figure.
|
||||
#import "figure_math"
|
||||
#import "figure_joints"
|
||||
#import "figure_paint"
|
||||
#import "figure_wash"
|
||||
#import "figure_finish"
|
||||
#import "preview_practices"
|
||||
#import "preview_flat"
|
||||
#import "preview_profile"
|
||||
@@ -17,7 +18,7 @@
|
||||
#import "std/vec"
|
||||
Raster :: #import "std/image";
|
||||
|
||||
// Each practice's painted backdrop, and the last one scaled to a picture.
|
||||
// Each practice's backdrop, and the last one scaled to a picture.
|
||||
PreviewBackdrops :: struct {
|
||||
images: [4]Raster.Image
|
||||
covered: Raster.Image
|
||||
@@ -30,7 +31,7 @@ PreviewBackdropsLoad :: (backdrops: *PreviewBackdrops, practices: string) -> boo
|
||||
for practice: cast(s32)0..3 {
|
||||
folder: [1100]u8
|
||||
path: [1200]u8
|
||||
name := PreviewJoin(folder[:], practices, "/shared/watercolor/backdrops/")
|
||||
name := PreviewJoin(folder[:], practices, "/shared/figure/backdrops/")
|
||||
name = PreviewJoin(path[:], name, PreviewBackdropName(practice))
|
||||
file: [1300]u8
|
||||
loaded := LoadImagePixels(PreviewJoin(file[:], name, ".webp"))
|
||||
@@ -55,10 +56,10 @@ PreviewBackdropsRelease :: (backdrops: *PreviewBackdrops) {
|
||||
}
|
||||
|
||||
// The body, and an astral twin over it, into OUT: on the practice's
|
||||
// painted backdrop with the watercolor finish, on plain paper without.
|
||||
// backdrop, or on a plain studio grey (STUDIO) for judging the figure.
|
||||
PreviewCompose :: (body: *FigurePainter, twin: *FigurePainter, media: *FigureMedia,
|
||||
backdrops: *PreviewBackdrops, practice: s32, moment: *PreviewMoment, view: FigureView,
|
||||
style: FigureStyle, width: s32, height: s32, out: *Raster.Image) -> bool {
|
||||
style: FigureStyle, studio: bool, width: s32, height: s32, out: *Raster.Image) -> bool {
|
||||
still: FigureEffect
|
||||
if !FigurePaint(body, media, *moment.body, view, style, still, width, height) {
|
||||
return false
|
||||
@@ -75,8 +76,8 @@ PreviewCompose :: (body: *FigurePainter, twin: *FigurePainter, media: *FigureMed
|
||||
// strength, then the figure is laid over it.
|
||||
backdrop := *backdrops.images[practice]
|
||||
covered := *backdrops.covered
|
||||
painted := style.watercolor && Raster.ImageValid(backdrop)
|
||||
vivid := ifx painted then FigureVivid(style.wash) else -1.0
|
||||
painted := !studio && Raster.ImageValid(backdrop)
|
||||
vivid := ifx painted then FigureVivid(style) else -1.0
|
||||
if covered.width != width || covered.height != height || backdrops.covered_practice != practice ||
|
||||
backdrops.covered_vivid != vivid {
|
||||
if painted {
|
||||
@@ -92,9 +93,9 @@ PreviewCompose :: (body: *FigurePainter, twin: *FigurePainter, media: *FigureMed
|
||||
}
|
||||
covered.width = width
|
||||
covered.height = height
|
||||
paper: [4]u8 = .[243, 237, 225, 255]
|
||||
grey: [4]u8 = .[218, 218, 221, 255]
|
||||
for index: 0..covered.pixels.count - 1 {
|
||||
covered.pixels[index] = paper[index % 4]
|
||||
covered.pixels[index] = grey[index % 4]
|
||||
}
|
||||
}
|
||||
backdrops.covered_practice = practice
|
||||
@@ -140,8 +141,8 @@ PreviewProfileRun :: (media: *FigureMedia, backdrops: *PreviewBackdrops, library
|
||||
moment := PreviewSample(library, practice, item, seconds)
|
||||
PreviewRecord(PREVIEW_PHASE_SOLVE, PreviewLap(*clock))
|
||||
view := PreviewViewOf(*moment, 0.0, 0.0, 1.0)
|
||||
if !PreviewCompose(*body, *twin, media, backdrops, practice, *moment, view, FigureStyleDefault(), width,
|
||||
height, *picture) {
|
||||
if !PreviewCompose(*body, *twin, media, backdrops, practice, *moment, view, FigureStyleDefault(), false,
|
||||
width, height, *picture) {
|
||||
print("figure profile: frame % could not be painted\n", frame)
|
||||
return 1
|
||||
}
|
||||
@@ -163,18 +164,40 @@ PreviewShot :: struct {
|
||||
item: s32
|
||||
seconds: float64
|
||||
name: string
|
||||
// How far the camera turns about her, in radians.
|
||||
turn: float64
|
||||
// A close view of the head and shoulders.
|
||||
portrait: bool
|
||||
}
|
||||
|
||||
PreviewCapture :: (media: *FigureMedia, backdrops: *PreviewBackdrops, library: *PreviewLibrary,
|
||||
// Writes NAME.png (her on the backdrop), NAME-studio.png (her on grey), the
|
||||
// same with -male for him, and NAME-current.png (Breeze's flat figure).
|
||||
PreviewCapture :: (woman: *FigureMedia, man: *FigureMedia, backdrops: *PreviewBackdrops, library: *PreviewLibrary,
|
||||
directory: string) -> s32 {
|
||||
shots: [24]PreviewShot
|
||||
count: s32
|
||||
full := PreviewDefaultItem(library, PREVIEW_TAI_CHI)
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, 9.0, "tai-chi-9s"}
|
||||
count += 1
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, 9.0, "portrait"}
|
||||
shots[count].portrait = true
|
||||
count += 1
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, 9.0, "portrait-turned"}
|
||||
shots[count].turn = -0.65
|
||||
shots[count].portrait = true
|
||||
count += 1
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, 131.0, "tai-chi-131s"}
|
||||
count += 1
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, PreviewLowest(library, PREVIEW_TAI_CHI, full), "tai-chi-deepest-stance"}
|
||||
lowest := PreviewLowest(library, PREVIEW_TAI_CHI, full)
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, lowest, "tai-chi-deepest-stance"}
|
||||
count += 1
|
||||
// The owner's reference sculpts' angles (figure/design/reference):
|
||||
// the woman from her front left, the man from behind on his left.
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, lowest, "reference-female"}
|
||||
shots[count].turn = -0.55
|
||||
count += 1
|
||||
shots[count] = .{PREVIEW_TAI_CHI, full, lowest, "reference-male"}
|
||||
shots[count].turn = 2.45
|
||||
count += 1
|
||||
// The Sun Salutation's folds and floor poses, each once it is reached.
|
||||
names: [5]string = .["sun-forward-fold", "sun-lunge", "sun-plank", "sun-cobra", "sun-downward-dog"]
|
||||
@@ -208,49 +231,59 @@ PreviewCapture :: (media: *FigureMedia, backdrops: *PreviewBackdrops, library: *
|
||||
VecFree(picture.pixels)
|
||||
}
|
||||
failed: s32
|
||||
for index: 0..count - 1 {
|
||||
shot := shots[index]
|
||||
moment := PreviewSample(library, shot.practice, shot.item, shot.seconds)
|
||||
// Lying figures need a landscape picture.
|
||||
width: s32 = ifx shot.practice == PREVIEW_ASTRAL then 900 else 600
|
||||
height: s32 = ifx shot.practice == PREVIEW_ASTRAL then 600 else 800
|
||||
view := PreviewViewOf(*moment, 0.0, 0.0, 1.0)
|
||||
for variant: 0..2 {
|
||||
style := FigureStyleDefault()
|
||||
style.watercolor = variant == 0
|
||||
suffix := ".png"
|
||||
if variant == 1 {
|
||||
suffix = "-bare.png"
|
||||
} else if variant == 2 {
|
||||
suffix = "-current.png"
|
||||
written: s32
|
||||
suffixes: [5]string = .[".png", "-studio.png", "-male.png", "-male-studio.png", "-current.png"]
|
||||
for character: cast(s32)0..1 {
|
||||
// Each character prepares its own painters.
|
||||
FigurePainterRelease(*body)
|
||||
FigurePainterRelease(*twin)
|
||||
for index: 0..count - 1 {
|
||||
shot := shots[index]
|
||||
moment := PreviewSample(library, shot.practice, shot.item, shot.seconds)
|
||||
// Lying figures need a landscape picture.
|
||||
width: s32 = ifx shot.practice == PREVIEW_ASTRAL then 900 else 600
|
||||
height: s32 = ifx shot.practice == PREVIEW_ASTRAL then 600 else 800
|
||||
view := PreviewViewOf(*moment, shot.turn, 0.0, 1.0)
|
||||
if shot.portrait {
|
||||
view.center = FigureAdd(moment.body.neck, FigureV3(0.0, 0.10, 0.0))
|
||||
view.height = 0.42
|
||||
view.pitch = 0.05
|
||||
}
|
||||
stem: [1024]u8
|
||||
named: [1024]u8
|
||||
path: [1024]u8
|
||||
name := PreviewJoin(stem[:], directory, "/")
|
||||
name = PreviewJoin(named[:], name, shot.name)
|
||||
final := PreviewJoin(path[:], name, suffix)
|
||||
painted := false
|
||||
if variant == 2 {
|
||||
camera := PreviewFlatOf(*moment, view)
|
||||
painted = PreviewFlatRender(camera, view, width, height, *picture)
|
||||
PreviewOnPaper(*picture)
|
||||
} else {
|
||||
painted = PreviewCompose(*body, *twin, media, backdrops, shot.practice, *moment, view, style,
|
||||
width, height, *picture)
|
||||
}
|
||||
if !painted {
|
||||
print("figure capture: % could not be painted\n", final)
|
||||
failed += 1
|
||||
continue
|
||||
}
|
||||
if !WritePNGFile(final, *picture, false) {
|
||||
print("figure capture: could not write %\n", final)
|
||||
failed += 1
|
||||
for variant: 0..2 {
|
||||
if variant == 2 && (character != 0 || shot.portrait) {
|
||||
continue
|
||||
}
|
||||
suffix := suffixes[ifx variant == 2 then 4 else character * 2 + variant]
|
||||
stem: [1024]u8
|
||||
named: [1024]u8
|
||||
path: [1024]u8
|
||||
name := PreviewJoin(stem[:], directory, "/")
|
||||
name = PreviewJoin(named[:], name, shot.name)
|
||||
final := PreviewJoin(path[:], name, suffix)
|
||||
painted := false
|
||||
if variant == 2 {
|
||||
camera := PreviewFlatOf(*moment, view)
|
||||
painted = PreviewFlatRender(camera, view, width, height, *picture)
|
||||
PreviewOnPaper(*picture)
|
||||
} else {
|
||||
media := ifx character == 0 then woman else man
|
||||
painted = PreviewCompose(*body, *twin, media, backdrops, shot.practice, *moment, view,
|
||||
FigureStyleDefault(), variant == 1, width, height, *picture)
|
||||
}
|
||||
if !painted {
|
||||
print("figure capture: % could not be painted\n", final)
|
||||
failed += 1
|
||||
continue
|
||||
}
|
||||
if !WritePNGFile(final, *picture, false) {
|
||||
print("figure capture: could not write %\n", final)
|
||||
failed += 1
|
||||
}
|
||||
written += 1
|
||||
}
|
||||
}
|
||||
}
|
||||
print("figure capture: % frames, gpu=% %\n", count * 3, body.accelerated, body.diagnostic)
|
||||
print("figure capture: % frames, gpu=% %\n", written, body.accelerated, body.diagnostic)
|
||||
return failed
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ PreviewProfileReport :: (label: string) {
|
||||
if count == 0 {
|
||||
return
|
||||
}
|
||||
names: [PREVIEW_PHASES]string = .["frame", "solve", "pose", "skin", "cloth", "render+readback", "finish",
|
||||
names: [PREVIEW_PHASES]string = .["frame", "solve", "pose", "skin", "cloth+normals", "render+readback", "fade",
|
||||
"shadow", "backdrop", "over", "twin", "upload", "controls"]
|
||||
print("figure preview timing, %, % frames (median / p95 ms):", label, count)
|
||||
for phase: 0..PREVIEW_PHASES - 1 {
|
||||
|
||||
@@ -37,15 +37,6 @@
|
||||
"source": true,
|
||||
"url": "https://github.com/webmproject/libwebp.git"
|
||||
},
|
||||
{
|
||||
"commit": "8e44f3f86262924f513b28cc807e67b1138e5e0b",
|
||||
"dependencies": {"audio": "p59deb49c7f103127", "avif": "pb203529d803e73a4", "image_codec": "p69c0e968ae5735d9", "libaom": "p74ab3cb6eb3b86fa", "libavif": "p57c0272208aae8db", "libwebp": "p3b3c785a0e17e605", "sdl3": "p16cd0434af3dff7b", "webp": "p2af20e0c835b1c63"},
|
||||
"dependency_refs": {"audio": "1b2f35b7b39df6fb9af7a52324b4b7cf18e98df2", "avif": "2611e727e226a2af22dfb7f10bf224bd2f1a3d30", "image_codec": "360553150917f352e49e1beb78917370792ccaef", "libaom": "b141d9c45db236335351c8a4b2a14b3ade27c937", "libavif": "1aadfad932c98c069a1204261b1856f81f3bc199", "libwebp": "1844042d1ca751e62e61df7617dba19c98588339", "sdl3": "829a65d769d935c4852f8159e964312c0957260a", "webp": "ec6ed304767e10c125ab2820f3b01d6fd773e147"},
|
||||
"id": "p54dafccfa152a22e",
|
||||
"name": "kryon",
|
||||
"ref": "8e44f3f86262924f513b28cc807e67b1138e5e0b",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "1aadfad932c98c069a1204261b1856f81f3bc199",
|
||||
"dependencies": {},
|
||||
@@ -73,6 +64,15 @@
|
||||
"ref": "bd278217e2bac754d868b3d6502eac4257658d4b",
|
||||
"url": "https://github.com/ziranlang/av1.git"
|
||||
},
|
||||
{
|
||||
"commit": "7797a280a89e31e4a5d264c4a9623c2bd3353509",
|
||||
"dependencies": {"kryon": "p7134544230dacade"},
|
||||
"dependency_refs": {"kryon": "4b79d9761508068e901879eb6208a22b8c331a63"},
|
||||
"id": "p66b7cac3c445eab0",
|
||||
"name": "practices",
|
||||
"ref": "7797a280a89e31e4a5d264c4a9623c2bd3353509",
|
||||
"url": "https://github.com/waozixyz/practices.git"
|
||||
},
|
||||
{
|
||||
"commit": "360553150917f352e49e1beb78917370792ccaef",
|
||||
"dependencies": {},
|
||||
@@ -81,6 +81,15 @@
|
||||
"ref": "360553150917f352e49e1beb78917370792ccaef",
|
||||
"url": "https://github.com/ziranlang/image-codec.git"
|
||||
},
|
||||
{
|
||||
"commit": "4b79d9761508068e901879eb6208a22b8c331a63",
|
||||
"dependencies": {"audio": "p59deb49c7f103127", "avif": "pb203529d803e73a4", "image_codec": "p69c0e968ae5735d9", "libaom": "p74ab3cb6eb3b86fa", "libavif": "p57c0272208aae8db", "libwebp": "p3b3c785a0e17e605", "sdl3": "p16cd0434af3dff7b", "webp": "p2af20e0c835b1c63"},
|
||||
"dependency_refs": {"audio": "1b2f35b7b39df6fb9af7a52324b4b7cf18e98df2", "avif": "2611e727e226a2af22dfb7f10bf224bd2f1a3d30", "image_codec": "360553150917f352e49e1beb78917370792ccaef", "libaom": "b141d9c45db236335351c8a4b2a14b3ade27c937", "libavif": "1aadfad932c98c069a1204261b1856f81f3bc199", "libwebp": "1844042d1ca751e62e61df7617dba19c98588339", "sdl3": "829a65d769d935c4852f8159e964312c0957260a", "webp": "ec6ed304767e10c125ab2820f3b01d6fd773e147"},
|
||||
"id": "p7134544230dacade",
|
||||
"name": "kryon",
|
||||
"ref": "4b79d9761508068e901879eb6208a22b8c331a63",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "b141d9c45db236335351c8a4b2a14b3ade27c937",
|
||||
"dependencies": {},
|
||||
@@ -116,20 +125,11 @@
|
||||
"ref": "ddbe48383984d56acd9e1ab6a090c54ca6b735a6",
|
||||
"source": true,
|
||||
"url": "https://github.com/xiph/opus.git"
|
||||
},
|
||||
{
|
||||
"commit": "e0950d9379e93dbc3526130588bc6f4bffa170d2",
|
||||
"dependencies": {"kryon": "p54dafccfa152a22e"},
|
||||
"dependency_refs": {"kryon": "8e44f3f86262924f513b28cc807e67b1138e5e0b"},
|
||||
"id": "peccdcd876aad0aba",
|
||||
"name": "practices",
|
||||
"ref": "e0950d9379e93dbc3526130588bc6f4bffa170d2",
|
||||
"url": "https://github.com/waozixyz/practices.git"
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
"dependencies": {"kryon": "p54dafccfa152a22e", "practices": "peccdcd876aad0aba"},
|
||||
"dependency_refs": {"kryon": "8e44f3f86262924f513b28cc807e67b1138e5e0b", "practices": "e0950d9379e93dbc3526130588bc6f4bffa170d2"},
|
||||
"dependencies": {"kryon": "p7134544230dacade", "practices": "p66b7cac3c445eab0"},
|
||||
"dependency_refs": {"kryon": "4b79d9761508068e901879eb6208a22b8c331a63", "practices": "7797a280a89e31e4a5d264c4a9623c2bd3353509"},
|
||||
"name": "figure_preview"
|
||||
},
|
||||
"toolchain": {
|
||||
|
||||
@@ -10,9 +10,9 @@ ref = "7fbc8152b0ab18b641a73d16d93ccda1e1c7f863"
|
||||
|
||||
[dependencies.kryon]
|
||||
git = "https://github.com/kryonlabs/kryon.git"
|
||||
ref = "8e44f3f86262924f513b28cc807e67b1138e5e0b"
|
||||
ref = "4b79d9761508068e901879eb6208a22b8c331a63"
|
||||
|
||||
# The shared figure and its media (anatomy, textures, Tai Chi course).
|
||||
[dependencies.practices]
|
||||
git = "https://github.com/waozixyz/practices.git"
|
||||
ref = "e0950d9379e93dbc3526130588bc6f4bffa170d2"
|
||||
ref = "7797a280a89e31e4a5d264c4a9623c2bd3353509"
|
||||
@@ -1,57 +1,57 @@
|
||||
# Open practice figure work — 2026-11-17
|
||||
# Open practice figure work — 2026-11-18
|
||||
|
||||
The owner wants one perfected character used everywhere: Tai Chi, Sun
|
||||
The owner wants the practice figures used everywhere: Tai Chi, Sun
|
||||
Salutation, Workout and astral projection, native on Ziran and Kryon
|
||||
without raylib: a slim, cute young Chinese woman with sleek black hair, an
|
||||
attractive Chinese-style practice outfit, matched to Inner Breeze's own
|
||||
storybook illustrations with only a little texture, and vivid colour. The
|
||||
character is the practices package's `figure/`; its style target is
|
||||
practices `figure/design/reference/style-target.webp`, made from the Tai Chi
|
||||
banner. The live tuning tool is `design/figure-preview/` (see its README).
|
||||
The three.js studies in `design/astral-projection/three/` are look
|
||||
references only.
|
||||
without raylib. They must look as good as the owner's reference sculptures
|
||||
(practices `figure/design/reference/`): correct proportions, smooth
|
||||
surfaces, clean colours, no paint, paper or grain. The default is a petite
|
||||
young Chinese woman with black hair, smooth skin and an attractive Chinese
|
||||
outfit; a young man in a kung fu outfit is the second character, to be
|
||||
offered as a choice. Breeze colours and backdrops stay. The characters are
|
||||
the practices package's `figure/`; the live tuning tool is
|
||||
`design/figure-preview/` (see its README). The three.js studies in
|
||||
`design/astral-projection/three/` are look references only.
|
||||
|
||||
- Kryon, owned by the Kryon lanes: the first-frame sampler-unit clobber in
|
||||
`scene_gpu.zi` (the figure paints its first picture twice) and the
|
||||
per-frame geometry rebuild (every moving frame re-expands all triangles
|
||||
into a new vertex buffer and re-uploads it, about 5–6 ms on llvmpipe);
|
||||
then repin and remove the workaround. Images still compare by texture id
|
||||
only, so the preview alternates two textures.
|
||||
- Owner review of the live preview and of
|
||||
`build/practice-compare/side-by-side/` (current flat figure beside the new
|
||||
character, same moments and cameras), then tune from that feedback.
|
||||
- Owner review of the live preview, of the reference comparisons in
|
||||
`build/practice-compare/reference/` and of the before/after side-by-sides
|
||||
in `build/practice-compare/side-by-side/`; tune from that feedback.
|
||||
- Better base mesh once Kryon's glTF importer lands (the Kryon task
|
||||
codex-kryon-kryon-idle-present-fix has it queued): a properly licensed
|
||||
higher-resolution base (MakeHuman/MPFB CC0 with a high-res proxy, or
|
||||
another CC0/CC-BY model with its licence recorded in practices
|
||||
`figure/design/`), chosen by how close it comes to the references. Never
|
||||
use ripped game models (the owner's Character-14.zip is one).
|
||||
- Character work still open:
|
||||
- The top's lower part swings rigidly from the waist and only by the
|
||||
- The jacket's skirt swings rigidly from the waist and only by the
|
||||
pelvis's tilt; secondary sway and a simple collision with the thighs
|
||||
would help in deep squats and folds.
|
||||
- The face painting is projected from the front; in profile its side
|
||||
fades to plain skin.
|
||||
- The cream piping at the top's hem and cuffs in the style target is not
|
||||
painted yet.
|
||||
- The asset bake (cloth shells, UVs, texture swatches) is Python in
|
||||
`scripts/prepare-practice-human.py`; port it to Ziran with the anatomy
|
||||
reader.
|
||||
- The face map is projected from the front; in profile its side fades
|
||||
to plain skin.
|
||||
- No ambient occlusion yet: crevices (armpits, under the bun, between the
|
||||
legs) are lit like open surfaces. Bake it per vertex once the vertex
|
||||
format has room, or add it to Kryon's material.
|
||||
- The asset bake (shapes, clothes, hair, UVs, texture maps, the face) is
|
||||
Python in `scripts/prepare-practice-human.py`; port it to Ziran with the
|
||||
anatomy reader.
|
||||
- Astral session timings: practices' `astral_projection/sessions/*.json`
|
||||
are another task's uncommitted files. Until they are pushed, a pinned
|
||||
preview plays the six techniques with steps evenly 20 seconds apart.
|
||||
- Breeze adoption, after the shared Kryon repin (lane -7, plot, entity,
|
||||
game2d, css and apps on one Kryon; Breeze audio on Ziran std audio):
|
||||
- Make Breeze's `practices` dependency a package pinned at or after
|
||||
3e7c7bff.
|
||||
- Make Breeze's `practices` dependency a package pinned at or after the
|
||||
commit that has both characters.
|
||||
- Move `PreviewJoints` (solver joints to `FigureJoints`) beside the
|
||||
solver.
|
||||
- Paint Tai Chi, Sun Salutation, Workout and astral with `FigurePaint`
|
||||
under `DESKTOP_HOST`, keeping timelines, cues, narration, pause/resume
|
||||
and history. Bundle `assets/practices/shared/watercolor/` from the
|
||||
common Practices pack (the `scripts/prepare-package-assets.py` hunk is
|
||||
ready).
|
||||
and history, with a setting for the woman or the man. Bundle
|
||||
`assets/practices/shared/figure/` from the common Practices pack.
|
||||
- Native app after-frames for those painters, matching
|
||||
`build/practice-compare/before/`. Retake the full-form before frame: it
|
||||
shows the voice-guidance offer instead of the figure.
|
||||
- Performance: the painter re-skins and re-finishes on every pose change
|
||||
(the wash finish, ground shadow and backdrop on the CPU, about 20k
|
||||
vertices skinned on the CPU). Measure on a real phone GPU; shell GL here
|
||||
is llvmpipe.
|
||||
- Performance: measure on a real phone GPU; shell GL here is llvmpipe.
|
||||
The figure re-skins and recomputes normals for about 17k vertices on the
|
||||
CPU every moving frame.
|
||||
- Narration: the initial audit found all 88 cue texts in each of ten
|
||||
locales but only 407/880 female clips (cs 6, de 86, en 86, es 78, fr 37,
|
||||
ja 5, ko 6, pt 88, ru 10, zh 5). Complete and listen through the owning
|
||||
|
||||
+706
-313
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user