aiekick / MagicaVoxel_File_Writer

MagicaVoxel File Writer dependency free cpp class
MIT License
35 stars 10 forks source link

only 30 frames are output #10

Closed luohancfd closed 8 months ago

luohancfd commented 8 months ago

I tested with main.cpp in the repo. No matter how I change the value of FRAMES, there are always 30 keyframes in the final file when I view with MigicaVoxel-0.99.7.1. If FRAMES < 30, there will be no change for frames > FRAMES. If FRAMES > 30, the rest frames don't show up in the final file. Any idea why? Thanks for the help

aiekick commented 8 months ago

hello,

there is no reason.

you have no frame outside 30 or you have a perfect loop who let you the illusion than you dont have more frames ?

will check

aiekick commented 8 months ago

ok i see. no, you have the frame count you want, but the cursor of max count frame is on 30. if you move it you have the "missing" frames outside 30

just need to found where to write the total frames count in the file

aiekick commented 8 months ago

It seems its a bug on MV, who always show 30 frames max. but you can have more or less frames. ex, if you edit a cube you will see all the wrote frames .

edit : i discussed with ephtracy (the creator of MagicaVoxel), the 30 in not the frame count but the playback limit. and he will be saved in the file, in few updates

machsix commented 7 months ago

Hi Aiekick, Thanks for the great tool! I found I only need to right-click and increase the number of frames. (replying from my other account)