Skip to content

Commit 2e22b73

Browse files
mvaligurskyMartin Valigursky
andauthored
fix: set flipbook example playback to 15fps to match captured frame rate (#8505)
The source frames were captured at 15fps, so playing back at 30fps resulted in double-speed animation. Made-with: Cursor Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
1 parent b196b22 commit 2e22b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/examples/gaussian-splatting/flipbook.example.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ assetListLoader.load(() => {
115115
player.addComponent('script');
116116
const flipbook = player.script.create(GsplatFlipbook);
117117
if (flipbook) {
118-
flipbook.fps = 30;
118+
flipbook.fps = 15;
119119
flipbook.folder = 'https://code.playcanvas.com/examples_data/example_basketball_02';
120120
flipbook.filenamePattern = '{frame:03}.compressed.ply';
121121
flipbook.startFrame = 1;

0 commit comments

Comments
 (0)