MDL file
From Wiki
Holy Diver (talk | contribs) |
|||
Line 108: | Line 108: | ||
</legend> | </legend> | ||
{{main|3D Vertex#Location}} | {{main|3D Vertex#Location}} | ||
+ | This block is packed with consecutive 3D vertex coordinates side by side and nothing else. See [[#Primitive channels]] and [[#3D primitives]] for more information. | ||
+ | {| class="wikitable" | ||
+ | !colspan=11|two 64bit vertices | ||
+ | |- | ||
+ | ||-VX-||-VY-||-VZ-||-00-||⋯||-VX-||-VY-||-VZ-||-00- | ||
+ | |} | ||
+ | VX ¦ VY ¦ VZ | ||
+ | These are signed 16bit whole number values. The units are in millimeters, indicating a three dimensional point in space. | ||
+ | 00 | ||
+ | VX/Y/Z cover all the bases for a 3D vertex. These bits are not used (vertices must begin on 32bit word boundaries) | ||
</fieldset> | </fieldset> | ||
<fieldset class="spec"> | <fieldset class="spec"> | ||
Line 114: | Line 124: | ||
</legend> | </legend> | ||
{{main|3D Vertex#Lighting}} | {{main|3D Vertex#Lighting}} | ||
+ | This block is packed with consecutive 3D lighting vectors (surface normals) side by side and nothing else. See [[#Primitive channels]] and [[#3D primitives]] for more information. | ||
+ | {| class="wikitable" | ||
+ | !colspan=11|two 64bit normals | ||
+ | |- | ||
+ | ||-NX-||-NY-||-NZ-||-00-||⋯||-NX-||-NY-||-NZ-||-00- | ||
+ | |} | ||
+ | NX ¦ NY ¦ NZ | ||
+ | These are signed 16bit whole number values indicating a three dimensional surface normal. The convention is 4096:1. Not enough attention has been payed to if/when the values are normalized prior to use. | ||
+ | |||
+ | 00 | ||
+ | NX/Y/Z cover all the bases for a 3D normal. These bits are not used (normals must begin on 32bit word boundaries) | ||
+ | </fieldset> | ||
</fieldset> | </fieldset> | ||
<fieldset class="spec"> | <fieldset class="spec"> |
Revision as of 23:29, 6 April 2011
This article or section is in the middle of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article has not been edited in several days, please remove this template. This page was last edited by Holy Diver (talk| contribs) ago. (Purge) |
Contents