OBD:ENVP: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (transformation matrix)
Line 56: Line 56:
| BGCOLOR="#C8FFC8" | 00 00 80 BF
| BGCOLOR="#C8FFC8" | 00 00 80 BF
| -1.000000
| -1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, xx term
|-
|-
|0x94
|0x94
| BGCOLOR="#C8FFC8" | 52 D2 43 B3
| BGCOLOR="#C8FFC8" | 52 D2 43 B3
| -4.559326e-8
| -4.559326e-8
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, xy term
|-
|-
|0x98
|0x98
| BGCOLOR="#C8FFC8" | 2E B4 61 B7
| BGCOLOR="#C8FFC8" | 2E B4 61 B7
| -0.000013
| -0.000013
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, xz term
|-
|-
|0x9C
|0x9C
| BGCOLOR="#C8FFFF" | 2F B4 61 37
| BGCOLOR="#C8FFFF" | 2F B4 61 37
| 0.000013
| 0.000013
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, yx term
|-
|-
|0xA0
|0xA0
| BGCOLOR="#C8FFFF" | FD B7 AA B7
| BGCOLOR="#C8FFFF" | FD B7 AA B7
| -0.000020
| -0.000020
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, yy term
|-
|-
|0xA4
|0xA4
| BGCOLOR="#C8FFFF" | 00 00 80 BF
| BGCOLOR="#C8FFFF" | 00 00 80 BF
| -1.000000
| -1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, yz term
|-
|-
|0xA8
|0xA8
| BGCOLOR="#FFC8FF" | 4A A5 42 33
| BGCOLOR="#FFC8FF" | 4A A5 42 33
| 4.531947e-8
| 4.531947e-8
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, zx term
|-
|-
|0xAC
|0xAC
| BGCOLOR="#FFC8FF" | 00 00 80 BF
| BGCOLOR="#FFC8FF" | 00 00 80 BF
| -1.000000
| -1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, zy term
|-
|-
|0xB0
|0xB0
| BGCOLOR="#FFC8FF" | FD B7 AA 37
| BGCOLOR="#FFC8FF" | FD B7 AA 37
| 0.000020
| 0.000020
| ALIGN=LEFT | unknown
| ALIGN=LEFT | transformation matrix, zz term
|-
|-
|0xB4
|0xB4
Line 129: Line 129:
|}
|}
|}
|}
;Transformation matrix
:That's what defines orientation, stretching etc.
:See [[OBD:CRSA|CRSA]] for a detailed explanation.





Revision as of 17:58, 27 December 2006

ONI BINARY DATA
DPge << Other file types >> FILM
ENVP : Env Particle Array
switch to XML:ENVP page
Overview @ Oni Stuff
OBD.png
Enviroment particles?
Locklights, lights, fire, smoke, steam, "electricity" etc...
Structure
Header (0x20 = 32 bytes)
Variable number of particle chunks (0xD0 = 208 bytes each)
16-byte blank filler if needed (up to 32 byte multiple size)

Template:OBD TXT dec




envp_a.gif


Offset Hex Value Meaning
0x00 01 9B 02 00 667 00667-.ENVP
0x04 01 00 00 06 3 level 3
0x08-0x1D AD DE dead blank filler
0x1E 42 00 66 66 environment particles in array (first particle outlined in black)
First particle (0xD0 = 208 bytes)
0x20-0x5F locklight Global lookup name for the particle (3RAPlocklight.BINA of level 0)
0x60-0x8F lock1_locklight01 Local lookup name for the particle (visible from scripts etc)
0x90 00 00 80 BF -1.000000 transformation matrix, xx term
0x94 52 D2 43 B3 -4.559326e-8 transformation matrix, xy term
0x98 2E B4 61 B7 -0.000013 transformation matrix, xz term
0x9C 2F B4 61 37 0.000013 transformation matrix, yx term
0xA0 FD B7 AA B7 -0.000020 transformation matrix, yy term
0xA4 00 00 80 BF -1.000000 transformation matrix, yz term
0xA8 4A A5 42 33 4.531947e-8 transformation matrix, zx term
0xAC 00 00 80 BF -1.000000 transformation matrix, zy term
0xB0 FD B7 AA 37 0.000020 transformation matrix, zz term
0xB4 BA E1 20 44 643.526978 x-position of the particle
0xB8 C9 C4 50 41 13.048043 y-position (height) of the particle
0xBC 05 EB 89 C3 -275.836090 z-position of the particle
0xC0 00 00 80 3F 1.000000 unknown; always the same
0xC4 00 00 80 3F 1.000000 unknown; always the same
0xC8-0xEF 00 00 00 00 0 unknown; always zero
Transformation matrix
That's what defines orientation, stretching etc.
See CRSA for a detailed explanation.




Template:OBD TXT dec



ONI BINARY DATA
DPge << Other file types >> FILM
ENVP : Env Particle Array
[[OBD:File types/{{{family}}}|{{{family}}} file]]