Add default model

Default-chan is the new default model that will be used instead of the
`test` placeholder.
This commit is contained in:
Epicalert 2021-11-11 23:12:34 +08:00
parent c7572e3d55
commit 583ec11ee5
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD
19 changed files with 95 additions and 2 deletions

View file

@ -47,6 +47,7 @@ file(
DESTINATION DESTINATION
${PROJECT_BINARY_DIR} ) ${PROJECT_BINARY_DIR} )
file( MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/models ) file( MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/models )
pack_model( "default" )
pack_model( "test" ) pack_model( "test" )
pack_model( "rms" ) pack_model( "rms" )
if (APPLE) if (APPLE)

View file

@ -5,11 +5,12 @@
- demo video? - demo video?
## models ## models
- better default model - clipping (alpha stencil)
## Bugs ## Bugs
- crash when eye goes outside of roi - crash when eye goes outside of roi
- incorrect appdata location on Windows - incorrect appdata location on Windows
- flickering on some renderers
# Whenever # Whenever

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
models/default/body.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
models/default/clothes.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
models/default/collar.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
models/default/eye.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
models/default/head.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
models/default/iris.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

91
models/default/model.toml Normal file
View file

@ -0,0 +1,91 @@
[format]
version_major = 0
version_minor = 3
[model_info]
name = "Default-chan"
version = "1.0"
[[part]]
texture = "back hair.webp"
bind = "head"
follow = "face"
factor = -0.1
[[part]]
texture = "body.webp"
bind = "head"
rot_factor=0.3
[[part]]
texture = "clothes.webp"
bind = "head"
follow = "face"
factor = 0.1
rot_factor=0.3
[[part]]
texture = "collar.webp"
bind = "head"
rot_factor=0.3
[[part]]
texture = "head.webp"
bind = "head"
[[part]]
texture = "nose.webp"
bind = "head"
follow = "face"
factor = 0.35
[[part]]
texture = "eye.webp"
bind = "head"
follow = "face"
factor = 0.35
[[part]]
texture = "iris.webp"
bind = "head"
follow = "face"
factor = 0.35
offset_bind = "offset-eyes"
offset_factor = 0.03
[[part]]
texture = "eye lids.webp"
bind = "head"
follow = "face"
factor = 0.35
[[part]]
bind = "head"
follow = "face"
factor = 0.35
[[part.textures]]
file = "mouth closed.webp"
[[part.textures]]
file = "mouth open.webp"
trigger = "mouth-open"
[[part]]
texture = "side hair.webp"
bind = "head"
follow = "face"
factor = 0.1
[[part]]
texture = "front hair.webp"
bind = "head"
follow = "face"
factor = 0.2
[[part]]
texture = "eye brows.webp"
bind = "head"
follow = "face"
factor = 0.35

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
models/default/nose.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
models/default/source.kra Normal file

Binary file not shown.

View file

@ -36,7 +36,7 @@ struct optData optData = {
false, false,
false, false,
false, false,
"test", "default",
0, 0,
}; };