| 26 |
|
* never generates 0, so we can use this for unspecified normals. |
| 27 |
|
* |
| 28 |
|
* Vertex ID's are encoded using the bottom 8 bits of a 4-byte integer |
| 29 |
< |
* to index a vertex in a patch indicated by the 20 bits above (9-29). |
| 30 |
< |
* For triangle ID's, the top 10 bits (11-31) indicate the patch, and |
| 31 |
< |
* the 10th bit indicates whether the triangle joins patches. |
| 29 |
> |
* to index a vertex in a patch indicated by the 22 bits above (8-29). |
| 30 |
> |
* For triangle ID's, the top 22 bits (10-31) indicate the patch, and |
| 31 |
> |
* the bit 9 (0x200) indicates whether the triangle joins patches. |
| 32 |
|
* If not, then the bottom 9 bits index into the local PTri array. |
| 33 |
< |
* If it's a joiner, then the 9th bit indicates whether the triangle joins |
| 33 |
> |
* If it's a joiner, then the 8th bit indicates whether the triangle joins |
| 34 |
|
* two patches, in which case the bottom 8 bits index the PJoin2 array. |
| 35 |
|
* Otherwise, the bottom 8 bits index the PJoin1 array. |
| 36 |
|
* |