LBA2:Island texture uvs: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| [checked revision] | [unchecked revision] | 
Content deleted Content added
No edit summary  | 
				No edit summary  | 
				||
| Line 17: | Line 17: | ||
=== UV entry ===  | 
  === UV entry ===  | 
||
* Offset 1:  '''BYTE''' (''  | 
  * Offset 1:  '''BYTE''' (''u16''): U (Vertex 1)  | 
||
* Offset 3:  '''BYTE''' (''  | 
  * Offset 3:  '''BYTE''' (''u16''): V (Vertex 1)  | 
||
* Offset 5:  '''BYTE''' (''  | 
  * Offset 5:  '''BYTE''' (''u16''): U (Vertex 2)  | 
||
* Offset 7:  '''BYTE''' (''  | 
  * Offset 7:  '''BYTE''' (''u16''): V (Vertex 2)  | 
||
* Offset 9:  '''BYTE''' (''  | 
  * Offset 9:  '''BYTE''' (''u16''): U (Vertex 3)  | 
||
* Offset 11: '''BYTE''' (''  | 
  * Offset 11: '''BYTE''' (''u16''): V (Vertex 3)  | 
||
Revision as of 19:42, 28 June 2022
| Island texture uvs | ||
|---|---|---|
| Extension | 
 LUV  | 
|
| Occurence | 
 LBA2  | 
|
| Colour | 
 | 
|
| Programs supporting this format | ||
| 
 (none)  | 
||
| References | ||
The file contains UV texture coordinates for the ground triangles of an island section.
Specification
Each entry in the file consists of 12 bytes containing 3 texture coordinates.
1 entry = 1 ground triangle
The number of entries varies between island sections, depending on how many ground triangles are textured.
UV entry
- Offset 1: BYTE (u16): U (Vertex 1)
 - Offset 3: BYTE (u16): V (Vertex 1)
 - Offset 5: BYTE (u16): U (Vertex 2)
 - Offset 7: BYTE (u16): V (Vertex 2)
 - Offset 9: BYTE (u16): U (Vertex 3)
 - Offset 11: BYTE (u16): V (Vertex 3)
 
Information provided by: Lupin