MDL file
From Wiki
Holy Diver (talk | contribs) (Primitive Channels) |
Holy Diver (talk | contribs) |
||
Line 87: | Line 87: | ||
VB ¦ NB ¦ PB | VB ¦ NB ¦ PB | ||
− | These three 32bit (the alignment is 32bit, | + | These three 32bit (the alignment is 32bit, the values themselves may be 16bit) values are offsets which should be added to the end of the header (or the beginning of the first primitive channel ''sub header'') in order to reach the beginning of the Vertex/Normal/Primitive (face) data belonging to this primitive channel. Part of the [[#Per vertex location]], [[#Per vertex lighting]], and [[#3D primitives]] blocks respectively. The units are in 32bit intervals. In other words, a value of 4, indicates 16 bytes. The offsets are absolute, which is to say, not relative to one another. |
VC ¦ NC ¦ PC | VC ¦ NC ¦ PC | ||
− | These three 32bit (the alignment is 32bit, | + | These three 32bit (the alignment is 32bit, the values themselves may be 16bit) values account for the number of elements expected to be found within the blocks indicated by VB, NB, PB respectively. |
</fieldset> | </fieldset> | ||
Line 101: | Line 101: | ||
<fieldset class="spec"> | <fieldset class="spec"> | ||
<legend class="tech">3D PRIMITIVES BLOCK | <legend class="tech">3D PRIMITIVES BLOCK | ||
+ | |||
==3D primitives== | ==3D primitives== | ||
</legend> | </legend> |
Revision as of 20:55, 5 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