• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Animation frames

Status
Not open for further replies.
Level 22
Joined
Feb 6, 2014
Messages
2,466
Does having more animation frames (maximum no. of frame) within a model increase its file size? If yes, how can I compress all the animation frames of a model.

Example:
Frames 1-1000 : Stand
Frames 1500 - 2500 : Attack
Maximum Frame: 2500

Between frame 1001 and frame 1499, no animations were present, Is there a way to compress the animation to make it like this
Frames 1-1000 : Stand
Frames 1001 - 2000 : Attack
Maximum Frame: 2000

Btw, I used Mdlvis to see the animation.
 
The size of the animation frame does not matter for the general size of a model.
What matter are the keyframes (or actions) during a frame. It basically the amount of lines of code in a script.

For example: An animation from 1000 to 1001000 has one million frames and has a key frame at 1000, 501000 and at 1001000.
The size would not be bigger if the animation would go from 1000 to 2000 and has keyframes at 1000, 1500 and 2000.

If there is no keyframe, there is no data. It is that simple.

A side note: You might want to use even numbers for animations since it is easier to count in parts or multiples of 1000.
 
Status
Not open for further replies.
Top