got a one-channel animation working

main
_ 2022-02-23 01:30:11 +00:00
parent 10bd7278d7
commit 514f0d4ac9
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
/target /target
/videos
*.blend *.blend
*.glb *.glb

View File

@ -204,7 +204,7 @@ fn main () {
0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0,
1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
], ],
channelscale: [0.0 / 32768.0; 10], channelscale: [16.0 / 32768.0; 10],
}, },
]; ];
@ -213,7 +213,7 @@ fn main () {
name: u32::try_from (texts.len ()).unwrap (), name: u32::try_from (texts.len ()).unwrap (),
first_frame: 0, first_frame: 0,
num_frames: 2, num_frames: 2,
framerate: 1.0, framerate: 0.5,
flags: 0, flags: 0,
}, },
]; ];
@ -223,7 +223,7 @@ fn main () {
let frames = [ let frames = [
0, 0,
0, 32768,
]; ];
let vertexes = vertexes; let vertexes = vertexes;