Talk:M2: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
*'''Header''' ''--schlumpf_ 03:12, 21 August 2008 (CEST) --Xayo, done.''
Finished for Build 8820 now. Post changes here first! And please pay attention to the style when you add something..
*'''Skeleton and animation'''
--[[User:Schlumpf|schlumpf_]] 00:53, 23 August 2008 (CEST)
**Standard animation block ''--schlumpf_ 02:01, 21 August 2008 (CEST), '''not done'''!''
**Global sequences ''--schlumpf_ 02:35, 21 August 2008 (CEST), done.''
**Animation sequences ''--schlumpf_ 00:28, 21 August 2008 (CEST), done.''
**Animation Lookup ''--schlumpf_ 00:45, 21 August 2008 (CEST), done.''
**Bones ''--schlumpf_ 03:10, 21 August 2008 (CEST), done.''
**Bone Lookup Table ''--schlumpf_ 03:10, 21 August 2008 (CEST), done.''
**Key-Bone Lookup ''--schlumpf_ 04:12, 21 August 2008 (CEST), done.''
*'''Geometry and rendering'''
**Vertices
**Views (LOD) ''--schlumpf_ 10:53, 21 August 2008 (CEST), done.''
**Render flags ''- not changed. --[[User:Schlumpf|schlumpf_]] 21:05, 22 August 2008 (CEST) ''
**Texture unit lookup table
**Replacable texture lookup ''--schlumpf_ 02:50, 21 August 2008 (CEST), done.''
**'''Colors and transparency'''
***Colors
***Transparency lookup table
***Transparency
**'''Textures'''
***Texture lookup table
***Texture definitions ''--schlumpf_ 04:31, 21 August 2008 (CEST), done.''
****Texture Types ''--schlumpf_ 04:31, 21 August 2008 (CEST), done.''
****Flags ''--schlumpf_ 04:31, 21 August 2008 (CEST), done.''
***Texture animation lookup table
*'''Effects'''
**Ribbon emitters
**'''Particle emitters'''  ''--schlumpf_ 15:36, 21 August 2008 (CEST), done.''
***Particle types
***The Fake-AnimationBlock
*'''Miscellaneous'''
**Bounding volumes
**Lights ''--Xayo 04:17, 21 August 2008 (CEST)''
**Cameras ''--Xayo 04:32, 21 August 2008 (CEST)''
**Camera lookup table
*'''Attachments'''
**Block 1 ''--Xayo 02:33, 21 August 2008 (CEST)''
**Attachment Lookup
**Block 2 ''--Xayo 02:56, 21 August 2008 (CEST)''


== Deleted Blocks ==
== Deleted Blocks ==

Revision as of 00:53, 23 August 2008

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)

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.

Texture animations

  • This block contains definitions for texture animations, for example, flowing water or lava in some models. The keyframe values are used in the texture transform matrix.

nTexAnims records of 0x54 bytes starting at ofsTexAnims, followed by data referenced in these records.

Offset 	Type 						Description
0x00 	AnimationBlock (float, float, float) 		Translation
0x1C 	AnimationBlock (float, float, float ???) 	Rotation?
0x38 	AnimationBlock (float, float, float) 		Scaling?

The three subrecords specify texture transforms. Translation seems to work, producing nice flowing lava and waterfalls.