![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
06-02-12, 04:12 AM
|
#5 |
|
Helmsman
![]() Join Date: Jun 2011
Posts: 105
Downloads: 181
Uploads: 0
|
No, that is not 100 fps. That should read "100 animation keyframes". If you look at each frame in the list, you'll see there's a Time value attached to it. I'm guessing this is in seconds. So, if animation frame #99 has a Time value of 8.333, then the whole animation loop has a (100/8.333) ~= 12 fps. As time runs, the game should slowly (and smoothly) adjust flag from one animation frame to the next until it gets to last frame, where the 'next' frame would again become first one. And this whole animation loop repeats for 8.333 time units (which, again, I'm guessing are seconds).
So, to answer your question: no, running the game at less than 100 fps should not freeze the flags. Some speculation on animations (note this is not related to this particular format): My general knowledge about animations tells me that you should not just reduce the animations frame count. That's because model's 3D data still contains info for all 100 frames (at least it should). So if you remove some array items from Flags array, best case scenario is you'll get skipped frames as L30P4RD suggested (animation loop would sort of 'jump' to the beginning, and the flag will "jerk" from, say, a half-folded state to a calm one or whatnot). Worst case - you'll get an error (maybe even CTD, though I doubt that). The other thing to consider here is that animation may or may not be split up into several "subloops" (i.e. different animation for different wind speed). In this case, again, just throwing away frames won't solve anything. Speculations end here. Now I'm wondering, are these flags always frozen, or sometimes they animate and sometimes don't? |
|
|
| Thread Tools | |
| Display Modes | |
|
|
