Prepare painted rigged Infernal STL model and approval previews
@@ -0,0 +1,78 @@
|
||||
# INFERNAL — STL-образец на согласование
|
||||
|
||||
Основа — предоставленная пользователем `infernal.zip`; исходная сетка сохранена
|
||||
без изменений в `tools/model_sources/infernal.stl`. Покраска по переданной схеме:
|
||||
красная кожа, чёрные волосы, корсет, сапоги, рога, крылья и хвост. STL не содержал
|
||||
цветов, UV или скелета: материалы и UV подготовлены заново.
|
||||
|
||||
Модель пока **не подключена** к главной героине и помощницам. Игровой
|
||||
`art/succubus/succubus_v02.glb` сохранён; сначала согласовывается этот образец.
|
||||
|
||||
## Содержимое
|
||||
|
||||
- `infernal_game.glb`: 45 493 вершины / 90 801 треугольник тела, 166 костей,
|
||||
Idle / Walk / Whip; дополнительный хлыст со старыми анимированными формами.
|
||||
- `infernal_basecolor.png`, `infernal_normal.png`, `infernal_orm.png`: 4096×4096,
|
||||
материалы и детали исходного скульпта; всё также встроено в GLB.
|
||||
- `walking.gif`: 6 секунд, ходьба, поворот и остановка.
|
||||
- `turntable.gif`: 5 секунд, полный оборот, лёгкие движения крыльев и хвоста.
|
||||
- `whip.gif`: 4 секунды, перенесённый удар; радиус шнура увеличен на 8 мм
|
||||
в координатах модели, сохранены старые волны хлыста.
|
||||
- `face.gif`: 3 секунды, лицо крупным планом.
|
||||
- `manifest.json`, `validation.json`: фактические параметры и результаты QA.
|
||||
- `review.tscn`: отдельная сцена Godot для просмотра и записи кадров.
|
||||
- `tools/model_sources/infernal_game.blend`: редактируемая игровая сетка,
|
||||
скелет, анимации и упакованные текстуры. Исходный STL и схема покраски рядом.
|
||||
|
||||
## Исправления
|
||||
|
||||
Подставка срезана на 0,150 м исходной нормализованной модели, подошвы закрыты.
|
||||
Контакты рук с одеждой отделены и очищены. Соединённые при печати ботинки
|
||||
разрезаны и закрыты по отдельности; у каждой стопы собственная жёсткая привязка.
|
||||
Плечи, локти и запястья подогнаны к скульпту. Idle, Walk и Whip перенесены
|
||||
с предыдущего скелета относительно его позы Idle.
|
||||
|
||||
В образце используется прежняя походка с коротким шагом, раздельными дорожками
|
||||
для обуви, фиксацией опорной стопы и разворотом до 22°. Крылья покачиваются
|
||||
без активных взмахов; хвост и крылья сохраняют слабое движение в покое.
|
||||
|
||||
Границы корсета, фигурного подола, воротника и сапог обведены по рельефу
|
||||
исходной сетки, включая переданную пользователем оранжевую обводку
|
||||
`tools/model_sources/approved_paint_boundary.png`. Контуры хранятся в
|
||||
`tools/infernal_seams.py`; проекция учитывает глубину и скрытую изнанку складок.
|
||||
Крупные планы — paint-front/hem/boots/back.png.
|
||||
|
||||
Исправлены координаты глаз/губ и граница воротника. Открытые руки используют
|
||||
отдельный материал кожи, чтобы при близких поверхностях в них не запекалась
|
||||
чёрная одежда. Карта нормалей сохраняет нейтральную нормаль для пустых лучей.
|
||||
|
||||
## Проверки
|
||||
|
||||
Godot 4.3: импорт PASS; `review_tests.gd` PASS — два масштаба, четыре скорости,
|
||||
30/60 fps, поворот на 90°, остановка, контакт с полом. Ошибка IK <0,000003 м,
|
||||
разворот стоп ≤22°, углы крыльев <0,05 рад, хвоста <0,013 рад.
|
||||
|
||||
Blender: `validate_infernal.py` PASS — три клипа, нормализованные веса,
|
||||
конечные координаты, отсутствие подставки, защищённый материал рук, три карты
|
||||
4K. Проверяются кадры клипов с шагом 4; максимальный прирост ребра: Idle
|
||||
0,00234 м, Walk 0,03596 м, Whip 0,06717 м. Результаты — в validation.json.
|
||||
|
||||
GIF сняты с настоящей 3D-модели в Godot, 24 fps. Это образец для визуального
|
||||
согласования покраски, пропорций и движений, а не смена модели в игровой сцене.
|
||||
|
||||
## Воспроизведение
|
||||
|
||||
Из корня репозитория, Blender 5.0.1 / Godot 4.3 / FFmpeg:
|
||||
|
||||
```powershell
|
||||
& 'C:/Program Files/Blender Foundation/Blender 5.0/blender.exe' --background --python-exit-code 1 --python tools/build_infernal.py -- --bake
|
||||
& 'C:/Program Files/Blender Foundation/Blender 5.0/blender.exe' --background --python-exit-code 1 --python tools/validate_infernal.py
|
||||
& $godot --headless --editor --path Demon_v0.19 --import --quit
|
||||
& $godot --path Demon_v0.19 --script res://reviews/infernal_v01/review_tests.gd
|
||||
& $godot --path Demon_v0.19 --resolution 1280x900 res://reviews/infernal_v01/review.tscn
|
||||
& $python tools/encode_infernal_review.py --ffmpeg $ffmpeg
|
||||
```
|
||||
|
||||
`finish_infernal.py` позволяет повторить покраску из локального checkpoint,
|
||||
созданного build_infernal.py в игнорируемом captures. Для чистого клона
|
||||
использовать полный build с `--bake`. Большие STL/BLEND/GLB хранятся в Git LFS.
|
||||
|
After Width: | Height: | Size: 2.7 MiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://h11gmfuc3yid"
|
||||
path="res://.godot/imported/infernal_basecolor.png-350d9c43584265a4600dd1c2f5d415d2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_basecolor.png"
|
||||
dest_files=["res://.godot/imported/infernal_basecolor.png-350d9c43584265a4600dd1c2f5d415d2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -0,0 +1,17 @@
|
||||
extends "res://reviews/heels_v01/review_gait.gd"
|
||||
|
||||
var secondary_time=0.0
|
||||
func _init():
|
||||
stride_min=.95;stride_max=1.15;track_width=.09;swing_height=.11
|
||||
func ground_height(f):return actor.get_parent().global_position.y+f.rest.y*actor.global_basis.get_scale().y+.004
|
||||
|
||||
func update(dt):
|
||||
super.update(dt)
|
||||
secondary_time+=dt
|
||||
# Small delayed motion at rest and after each step, rooted at the back.
|
||||
var tail_angle=sin(secondary_time*.95)*.012+sin(phase*TAU-.9)*.024*walk_weight
|
||||
rotate_world("Tail",actor.global_basis.y,tail_angle)
|
||||
rotate_world("Tail",actor.global_basis.x,sin(secondary_time*.7)*.006)
|
||||
for side in ["L","R"]:
|
||||
var sign_x=1.0 if side=="L" else -1.0
|
||||
rotate_world("Wing."+side,actor.global_basis.y,sign_x*sin(secondary_time*.8)*.010)
|
||||
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dnwqqu4x1yixr"
|
||||
path="res://.godot/imported/infernal_game.glb-6448dfcc6ac429989645a3e78a7b85df.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_game.glb"
|
||||
dest_files=["res://.godot/imported/infernal_game.glb-6448dfcc6ac429989645a3e78a7b85df.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
|
After Width: | Height: | Size: 2.7 MiB |
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c2y84kbnraj7y"
|
||||
path="res://.godot/imported/infernal_game_infernal_basecolor.png-34717ecb9e7b45d91a837b43ba01b8bd.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "ec06996f35d03b5dff4ef74214143a93"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_game_infernal_basecolor.png"
|
||||
dest_files=["res://.godot/imported/infernal_game_infernal_basecolor.png-34717ecb9e7b45d91a837b43ba01b8bd.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 7.0 MiB |
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://iafy125bmvbe"
|
||||
path="res://.godot/imported/infernal_game_infernal_normal.png-c2c19f73bb1372ea42fa568379419c76.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "1fd5b6ab6d56b8a97cd3149923cfd9b1"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_game_infernal_normal.png"
|
||||
dest_files=["res://.godot/imported/infernal_game_infernal_normal.png-c2c19f73bb1372ea42fa568379419c76.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 2.8 MiB |
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://8x13rikdlqpq"
|
||||
path="res://.godot/imported/infernal_game_infernal_orm.png-e6dc5617699cdf651dbb650ff9bbb2c5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "e403e04738838a82a634d99ad78bcb53"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_game_infernal_orm.png"
|
||||
dest_files=["res://.godot/imported/infernal_game_infernal_orm.png-e6dc5617699cdf651dbb650ff9bbb2c5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 7.0 MiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://i1dvwa6ay77q"
|
||||
path="res://.godot/imported/infernal_normal.png-7a0a668238a6788bfc68b37824ded72f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_normal.png"
|
||||
dest_files=["res://.godot/imported/infernal_normal.png-7a0a668238a6788bfc68b37824ded72f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 2.8 MiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://sbsfb7x1x01q"
|
||||
path="res://.godot/imported/infernal_orm.png-8c10a8117721c2a05d861c9d6b1776fd.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/infernal_orm.png"
|
||||
dest_files=["res://.godot/imported/infernal_orm.png-8c10a8117721c2a05d861c9d6b1776fd.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"source_triangles": 1569740,
|
||||
"source_after_pedestal_cut": 1402834,
|
||||
"game_vertices": 45493,
|
||||
"game_triangles": 90801,
|
||||
"bones": 166,
|
||||
"clips": {
|
||||
"Idle": 73,
|
||||
"Walk": 33,
|
||||
"Whip": 65
|
||||
},
|
||||
"pedestal_removed": true,
|
||||
"cut_height": 0.15,
|
||||
"textures_4k": true,
|
||||
"animated_whip": true,
|
||||
"facial_paint": "aligned to sculpt: eyes z1.889, lips z1.817",
|
||||
"paint_boundary_reference": "tools/model_sources/approved_paint_boundary.png",
|
||||
"whip_radius_added_m": 0.008,
|
||||
"approval_status": "awaiting_visual_approval"
|
||||
}
|
||||
|
After Width: | Height: | Size: 696 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://blesb51kvusas"
|
||||
path="res://.godot/imported/paint-back.png-a9ecbf6915faebfe58909fd12c6363ce.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/paint-back.png"
|
||||
dest_files=["res://.godot/imported/paint-back.png-a9ecbf6915faebfe58909fd12c6363ce.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 295 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://06tag3t032oa"
|
||||
path="res://.godot/imported/paint-boots.png-6d85a81d17c643f0e201c560d04ba238.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/paint-boots.png"
|
||||
dest_files=["res://.godot/imported/paint-boots.png-6d85a81d17c643f0e201c560d04ba238.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 585 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cim7cnd0p0uh4"
|
||||
path="res://.godot/imported/paint-face.png-144ee864f8e0242f5f2ebb3984669832.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/paint-face.png"
|
||||
dest_files=["res://.godot/imported/paint-face.png-144ee864f8e0242f5f2ebb3984669832.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 680 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dwn1rr45e0eqt"
|
||||
path="res://.godot/imported/paint-front.png-69e7570935f7f102d4b9601a605accad.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/paint-front.png"
|
||||
dest_files=["res://.godot/imported/paint-front.png-69e7570935f7f102d4b9601a605accad.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 556 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ch4ecfxchsjc6"
|
||||
path="res://.godot/imported/paint-hem.png-4928b89f31d8671d9797b385ca440e97.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reviews/infernal_v01/paint-hem.png"
|
||||
dest_files=["res://.godot/imported/paint-hem.png-4928b89f31d8671d9797b385ca440e97.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -0,0 +1,87 @@
|
||||
extends Node3D
|
||||
var paused=false
|
||||
var actor
|
||||
var carrier
|
||||
var camera: Camera3D
|
||||
var heading: Label
|
||||
var folder="res://captures/infernal"
|
||||
var max_error=0.0
|
||||
var max_yaw=0.0
|
||||
|
||||
func _ready():call_deferred("run")
|
||||
|
||||
func setup_studio():
|
||||
var world=WorldEnvironment.new();add_child(world);world.environment=Environment.new()
|
||||
world.environment.background_mode=Environment.BG_COLOR;world.environment.background_color=Color("242932")
|
||||
world.environment.ambient_light_source=Environment.AMBIENT_SOURCE_COLOR;world.environment.ambient_light_color=Color("d1d9e5");world.environment.ambient_light_energy=.7
|
||||
world.environment.tonemap_mode=Environment.TONE_MAPPER_FILMIC
|
||||
for at in [Vector3(-3,5,5),Vector3(4,3,2),Vector3(0,4,-4)]:
|
||||
var light=OmniLight3D.new();add_child(light);light.position=at;light.light_energy=3.5;light.omni_range=30;light.shadow_enabled=true
|
||||
var floor_node=MeshInstance3D.new();add_child(floor_node);floor_node.mesh=BoxMesh.new();floor_node.mesh.size=Vector3(80,.08,80);floor_node.position=Vector3(0,-.045,10)
|
||||
var material=StandardMaterial3D.new();material.albedo_color=Color("454b55");material.roughness=.85;floor_node.material_override=material
|
||||
camera=Camera3D.new();add_child(camera);camera.projection=Camera3D.PROJECTION_ORTHOGONAL;camera.current=true
|
||||
var layer=CanvasLayer.new();add_child(layer);heading=Label.new();layer.add_child(heading);heading.position=Vector2(30,22);heading.add_theme_font_size_override("font_size",24)
|
||||
carrier=Node3D.new();add_child(carrier)
|
||||
actor=preload("res://succubus_actor.gd").new(preload("res://reviews/infernal_v01/infernal_game.glb"));carrier.add_child(actor);actor.rotation=Vector3.ZERO
|
||||
actor.gait=preload("res://reviews/infernal_v01/infernal_gait.gd").new();actor.configure(self);actor.set_process(false)
|
||||
|
||||
func advance(direction,speed):
|
||||
carrier.position+=direction*speed/24.0
|
||||
if direction.length_squared()>.1:actor.rotation.y=lerp_angle(actor.rotation.y,atan2(direction.x,direction.z),10.0/24)
|
||||
actor._process(1.0/24)
|
||||
for foot in actor.gait.feet:
|
||||
max_error=maxf(max_error,actor.gait.point("foot."+foot.side).distance_to(foot.target))
|
||||
max_yaw=maxf(max_yaw,absf(wrapf(foot.yaw-actor.global_rotation.y,-PI,PI)))
|
||||
|
||||
func reset():
|
||||
actor.restore_animation_pose();carrier.position=Vector3.ZERO;actor.rotation=Vector3.ZERO;actor.striking=false;actor.animator.play(actor.clips["Idle"],0.0,1.0);actor.animator.seek(0,true);actor.remember_animation_pose();actor.reset_gait()
|
||||
|
||||
func save_frame(sequence,frame):
|
||||
await RenderingServer.frame_post_draw
|
||||
assert(get_viewport().get_texture().get_image().save_png(folder+"/"+sequence+"/%03d.png"%frame)==OK)
|
||||
|
||||
func run():
|
||||
for sequence in ["full","outfit","action","portrait"]:DirAccess.make_dir_recursive_absolute(folder+"/"+sequence)
|
||||
setup_studio();await get_tree().process_frame
|
||||
if "--qa-stills" in OS.get_cmdline_user_args():
|
||||
DirAccess.make_dir_recursive_absolute(folder+"/still")
|
||||
for index in range(4):
|
||||
advance(Vector3.ZERO,0)
|
||||
var angle=index*PI/2;var focus=Vector3(0,1.25,0);camera.size=3.0;camera.position=focus+Vector3(sin(angle)*5,.25,cos(angle)*5);camera.look_at(focus)
|
||||
heading.text="ПОКРАСКА · ПРОВЕРКА СТОРОН";await save_frame("still",index)
|
||||
var focus=Vector3(0,2.1,0);camera.size=.92;camera.position=focus+Vector3(0,.07,5);camera.look_at(focus)
|
||||
heading.text="ЛИЦО · ПРОВЕРКА ПОКРАСКИ";await save_frame("still",4)
|
||||
actor.strike(1.8)
|
||||
for frame in range(24):advance(Vector3.ZERO,0)
|
||||
focus=Vector3(0,1.25,0);camera.size=3.15;camera.position=focus+Vector3(2,.6,7);camera.look_at(focus)
|
||||
heading.text="WHIP · ПРОВЕРКА";await save_frame("still",5)
|
||||
reset()
|
||||
for detail in [[6,1.56,1.15,0.0,"КОРСЕТ И ВОРОТНИК · ПО ЛИНИЯМ СКУЛЬПТА"],[7,1.32,.70,0.0,"НИЖНЯЯ КРОМКА КОРСЕТА"],[8,.32,.80,0.0,"САПОГИ · КРАЙ ПО ОБОДКУ"],[9,1.56,1.15,PI,"КОРСЕТ · ВИД СЗАДИ"]]:
|
||||
advance(Vector3.ZERO,0)
|
||||
var detail_focus=Vector3(0,detail[1],0);camera.size=detail[2];camera.position=detail_focus+Vector3(sin(detail[3])*5,.02,cos(detail[3])*5);camera.look_at(detail_focus)
|
||||
heading.text=detail[4];await save_frame("still",detail[0])
|
||||
get_tree().quit();return
|
||||
heading.text="INFERNAL / STL · ХОДЬБА, ПОВОРОТ И ОСТАНОВКА"
|
||||
for frame in range(144):
|
||||
var direction=Vector3.BACK if frame<72 else Vector3(.7,0,.7).normalized()
|
||||
advance(direction,2.5 if frame<110 else 0)
|
||||
var focus=carrier.position+Vector3(0,1.25,0);camera.size=3.15;camera.position=focus+Vector3(2.0,.7,7);camera.look_at(focus)
|
||||
await save_frame("full",frame)
|
||||
reset();heading.text="ПОКРАСКА · КРАСНАЯ КОЖА / ЧЁРНЫЙ КОМПЛЕКТ"
|
||||
for frame in range(120):
|
||||
advance(Vector3.ZERO,0)
|
||||
var focus=Vector3(0,1.25,0);var angle=TAU*frame/120;camera.size=3.0;camera.position=focus+Vector3(sin(angle)*5,.25,cos(angle)*5);camera.look_at(focus)
|
||||
await save_frame("outfit",frame)
|
||||
reset();heading.text="ПЕРЕНОС АНИМАЦИИ · WHIP"
|
||||
for frame in range(96):
|
||||
if frame==12:actor.strike(1.8)
|
||||
advance(Vector3.ZERO,0)
|
||||
var focus=Vector3(0,1.25,0);camera.size=3.15;camera.position=focus+Vector3(2,.6,7);camera.look_at(focus)
|
||||
await save_frame("action",frame)
|
||||
reset();heading.text="ЛИЦО · КРУПНЫЙ ПЛАН"
|
||||
for frame in range(72):
|
||||
advance(Vector3.ZERO,0)
|
||||
var focus=Vector3(0,2.10,0);var angle=sin(TAU*frame/72)*.22;camera.size=.92;camera.position=focus+Vector3(sin(angle)*5,.07,cos(angle)*5);camera.look_at(focus)
|
||||
await save_frame("portrait",frame)
|
||||
print("INFERNAL REVIEW METRICS ",JSON.stringify({"max_ik_error":max_error,"max_ankle_twist_degrees":rad_to_deg(max_yaw)}))
|
||||
get_tree().quit()
|
||||
@@ -0,0 +1,4 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[ext_resource type="Script" path="res://reviews/infernal_v01/review.gd" id="1"]
|
||||
[node name="InfernalApprovalStudio" type="Node3D"]
|
||||
script = ExtResource("1")
|
||||
@@ -0,0 +1,37 @@
|
||||
extends SceneTree
|
||||
var failures=[]
|
||||
func _initialize():call_deferred("run")
|
||||
func check(ok,label):
|
||||
if not ok and not label in failures:failures.append(label);push_error("INFERNAL REVIEW QA: "+label)
|
||||
func run():
|
||||
var max_error=0.0;var max_twist=0.0;var max_wing=0.0;var max_tail=0.0
|
||||
for scale_y in [1.0,.82]:
|
||||
var carrier=Node3D.new();root.add_child(carrier)
|
||||
var actor=preload("res://succubus_actor.gd").new(preload("res://reviews/infernal_v01/infernal_game.glb"));carrier.add_child(actor);actor.scale=Vector3.ONE*scale_y;actor.rotation=Vector3.ZERO
|
||||
check(actor.clips.has("Idle") and actor.clips.has("Walk") and actor.clips.has("Whip"),"all three transferred animations imported")
|
||||
actor.gait=preload("res://reviews/infernal_v01/infernal_gait.gd").new();actor.configure(self);actor.set_process(false)
|
||||
for speed in [1.0,2.5,3.3,5.775]:
|
||||
for fps in [30,60]:
|
||||
actor.restore_animation_pose();carrier.position=Vector3.ZERO;actor.rotation=Vector3.ZERO;actor.reset_gait()
|
||||
for frame in range(fps*3):
|
||||
var direction=Vector3.BACK if frame<fps else Vector3.RIGHT
|
||||
carrier.position+=direction*speed/fps;actor.rotation.y=lerp_angle(actor.rotation.y,atan2(direction.x,direction.z),minf(1,10.0/fps));actor._process(1.0/fps)
|
||||
for f in actor.gait.feet:
|
||||
max_error=maxf(max_error,actor.gait.point("foot."+f.side).distance_to(f.target))
|
||||
max_twist=maxf(max_twist,absf(wrapf(f.yaw-actor.global_rotation.y,-PI,PI)))
|
||||
check(actor.gait.point("foot."+f.side).y>=actor.gait.ground_height(f)-.003,"ankles above floor")
|
||||
var wi=actor.skeleton.find_bone("Wing.L");var wing=actor.skeleton.get_bone_pose_rotation(wi)
|
||||
max_wing=maxf(max_wing,wing.angle_to(actor.animation_pose[wi].basis.get_rotation_quaternion()))
|
||||
for frame in range(fps):actor._process(1.0/fps)
|
||||
var tail_id=actor.skeleton.find_bone("Tail")
|
||||
max_tail=maxf(max_tail,actor.skeleton.get_bone_pose_rotation(tail_id).angle_to(actor.animation_pose[tail_id].basis.get_rotation_quaternion()))
|
||||
for f in actor.gait.feet:check(f.grounded,"stopping settles both shoes")
|
||||
check(actor.gait.track_width>.065,"separate paths keep wide heels apart")
|
||||
carrier.queue_free();await process_frame
|
||||
check(max_tail>.001 and max_tail<.06,"tail moves gently with a fixed root")
|
||||
check(max_error<.005,"IK reaches both shoes at both scales and four speeds")
|
||||
check(max_twist<=deg_to_rad(22.01),"ankle heading never twists more than 22 degrees")
|
||||
check(max_wing>.01 and max_wing<.10,"wings sway gently instead of active flapping")
|
||||
print("INFERNAL REVIEW METRICS ",JSON.stringify({"max_ik_error":max_error,"max_heading_twist_degrees":rad_to_deg(max_twist),"max_wing_pose_angle":max_wing,"max_tail_pose_angle":max_tail,"failures":failures}))
|
||||
if failures.is_empty():print("ALL INFERNAL REVIEW TESTS PASSED: heroine/helper scales, four speeds, two frame rates, right-angle turns, stop, reach and ankle heading")
|
||||
quit(0 if failures.is_empty() else 1)
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"mesh_vertices": 45493,
|
||||
"mesh_triangles": 90801,
|
||||
"bones": 166,
|
||||
"floor_min_z": -3.110424222541042e-05,
|
||||
"pedestal_removed": true,
|
||||
"skin_material_protected": true,
|
||||
"pbr_maps": "4096x4096 basecolor / normal / ORM",
|
||||
"clips": {
|
||||
"Idle": {
|
||||
"frames": 73,
|
||||
"max_vertex_travel_m": 0.05229,
|
||||
"max_edge_growth_m": 0.00234
|
||||
},
|
||||
"Walk": {
|
||||
"frames": 33,
|
||||
"max_vertex_travel_m": 0.63687,
|
||||
"max_edge_growth_m": 0.03596
|
||||
},
|
||||
"Whip": {
|
||||
"frames": 65,
|
||||
"max_vertex_travel_m": 0.85563,
|
||||
"max_edge_growth_m": 0.06717
|
||||
}
|
||||
},
|
||||
"glb_bytes": 19143820
|
||||
}
|
||||