Talk:M2: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Reverted edits by 199.168.141.77 (talk) to last revision by Schlumpf)
Line 71: Line 71:


Contain indices into the texture animations list, or -1 meaning a static texture.
Contain indices into the texture animations list, or -1 meaning a static texture.
== cheap nike Snapback Hats paypal
  iupkfcbuj ==
, Then state this isolated city, has almost become a dead city, she did not know Li Jijun will walk away eloquent State last little flesh and blood after pressing to do, do not know that this city will not happen overnight. Yang Ji industry or fold Yu Xun captured. By that time, she was a weak woman, in turn become a who's plaything in the hands of it?.  <a href=http://delagarzafence.com/nfl/20150926-baltimore-ravens-terrell-suggs-jersey-9-1450.html>2015 baltimore ravens terrell suggs jersey</a> <a href=http://greenstarled.com/nfl/20150926-san-francisco-49ers-patrick-willis-jersey-9-70.html>2015 san francisco 49ers patrick willis jersey</a> <a href=http://flightcomposites.com/nfl/20150926-denver-broncos-shannon-sharpe-jersey-5-336.html>2015 denver broncos shannon sharpe jersey</a>  I imagine the way a single pair of shoes could stretch my limited wardrobe, instructed in this theory by a well-dressed arts patron who once told me that people pay more attention to your jacket, your handbag and your shoes than your pants or your skirt. Then there are the unwritten rules about daytime and nighttime wear -- leather shoes for daytime, and satin shoes or metallic sandals for night -- that force the enlargement of one's shoe wardrobe. A fabulous piece of jewelry can also change an outfit.  <a href=http://flightcomposites.com/nfl/20150926-houston-texans-brian-cushing-jersey-5-1876.html>2015 houston texans brian cushing jersey</a> <a href=http://jast.org/nfl/20150926-new-england-patriots-rob-gronkowski-jersey-5-1176.html>2015 new england patriots rob gronkowski jersey</a> <a href=http://necasa.org/nfl/20150926-detroit-lions-calvin-johnson-jersey-2-883.html>2015 detroit lions calvin johnson jersey</a> 
How come inexpensive louboutin sandals Christian louboutin uk shoes jump out to begin with is definitely the refined nail-varnish reddish colored coloured single that has been the signature. This is their explanation are one of the the majority of dominant Christian Louboutin d'orsays creator in the world. Complete thing .

Revision as of 04:54, 8 October 2015

Finished for Build 8820 now. Post changes here first! And please pay attention to the style when you add something.. --schlumpf_ 00:53, 23 August 2008 (CEST)

Animation blocks in WotLK

  • Previously M2s used a single-timeline approach, chaining all animations into one long piece and separating them via begin and end given in animation data. Now, each animation has an own timeline.
  • Animation blocks contain a list of lists of timestamps and a list of lists of values, where the first list is by animation and the second one by timestamp-entry.
 template<typename T>
 struct array_ref
 {
   uint32_t number;
   T* elements;  // in file obviously an offset only
 };
 
 template<typename T>
 struct animation_block
 {
   uint16_t interpolation_type;
   uint16_t global_sequence;
   array_ref<array_ref<uint32_t>> timestamps;
   array_ref<array_ref<T>> values;
 };
  • Thus, as example, with
 struct bone
 {
   int32_t bone_id;
   uint32_t flags;
   int16_t parent_bone;
   uint16_t _1[3];
   animation_block<vec3_float> translation;
   animation_block<quat_short> rotation;
   animation_block<vec3_float> scale;
   vec3_float pivot;
 } b;

one may get the number of animations having translation information with

 b.translation.timestamps.number

and the number of timestamps in the first animation using

 b.translation.timestamps.elements[0].number

and the first timestamp value of the first animation via

 b.translation.timestamps.elements[0].elements[0]

The actual translation vector for animation 0 at timestamp 0 is at

 b.translation.values.elements[0].elements[0]
  • Some timestamps/values.elements entries may have number/elements = 0, if for that animation id no animation is given.
  • .anim files are just a blob of data which may as well be in the main model file, that is pointed to by the first array_ref layer.
  • [model file name][animation id]-[animation sub-id].anim
  • it seems like it is possible to detect if animation data is stored in-m2 or externally via
    • All animations which have flags & 0x20 are stored internally.
    • Animations which do not have flags & 0x20 are not stored internally.
    • Animations which do not have flags & 0x20 AND do not have flags & 0x40 are in .anim files
    • Animations which do not have flags & 0x20 AND DO have flags 0x40 are stored... somewhere. I have no clue.

Deleted Blocks

Block D

  • nD records of (int16, int16) starting at ofsD

Maybe a lookup table for animations? Since the numbers happen to be in fixed positions. The first short seems to increase with the position for models with all animations (like characters), the second seems to be flags or a modifier? Or something.


Contain indices into the texture animations list, or -1 meaning a static texture.

== cheap nike Snapback Hats paypal

  iupkfcbuj ==

, Then state this isolated city, has almost become a dead city, she did not know Li Jijun will walk away eloquent State last little flesh and blood after pressing to do, do not know that this city will not happen overnight. Yang Ji industry or fold Yu Xun captured. By that time, she was a weak woman, in turn become a who's plaything in the hands of it?. <a href=http://delagarzafence.com/nfl/20150926-baltimore-ravens-terrell-suggs-jersey-9-1450.html>2015 baltimore ravens terrell suggs jersey</a> <a href=http://greenstarled.com/nfl/20150926-san-francisco-49ers-patrick-willis-jersey-9-70.html>2015 san francisco 49ers patrick willis jersey</a> <a href=http://flightcomposites.com/nfl/20150926-denver-broncos-shannon-sharpe-jersey-5-336.html>2015 denver broncos shannon sharpe jersey</a> I imagine the way a single pair of shoes could stretch my limited wardrobe, instructed in this theory by a well-dressed arts patron who once told me that people pay more attention to your jacket, your handbag and your shoes than your pants or your skirt. Then there are the unwritten rules about daytime and nighttime wear -- leather shoes for daytime, and satin shoes or metallic sandals for night -- that force the enlargement of one's shoe wardrobe. A fabulous piece of jewelry can also change an outfit. <a href=http://flightcomposites.com/nfl/20150926-houston-texans-brian-cushing-jersey-5-1876.html>2015 houston texans brian cushing jersey</a> <a href=http://jast.org/nfl/20150926-new-england-patriots-rob-gronkowski-jersey-5-1176.html>2015 new england patriots rob gronkowski jersey</a> <a href=http://necasa.org/nfl/20150926-detroit-lions-calvin-johnson-jersey-2-883.html>2015 detroit lions calvin johnson jersey</a> How come inexpensive louboutin sandals Christian louboutin uk shoes jump out to begin with is definitely the refined nail-varnish reddish colored coloured single that has been the signature. This is their explanation are one of the the majority of dominant Christian Louboutin d'orsays creator in the world. Complete thing .