-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# g_chunk_pc | ||
|
||
The GPU chunk file only contains vertex and index buffers. The file consists of two major parts: | ||
|
||
## Shared buffers section | ||
Massive shared vertex and index buffers for static world geometry. | ||
|
||
Contents: | ||
|
||
- 0..n vertex buffers for each type of vertex. Type means the number of UV's and such in a vertex. | ||
- A single index buffer for the above vertex buffers. | ||
|
||
## Individual models section | ||
|
||
- The CPU chunk header contains a pointer to this section. | ||
- The contents is obviously a bunch of models, but where exactly are the headers is not fully figured out. | ||
- The shared buffer seems to return garbage for all "loose" and destroyable objects, so it's probably safe to assume this section is the one holding them instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters