-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support for rendering glTF 1.0 files! Very, very limited so far, but that doesn't have to remain the case. In particular: - No materials whatsoever, even the default material is not implemented correctly. - Only triangles, no other types of primitive - No binary file (*.glb) support - No glTF 2.0 support whatsoever, trying to load those files will probably fail in funny ways - No support for files without indices - Probably many more This is the first major step for issue #122.
- Loading branch information
Showing
7 changed files
with
42 additions
and
8 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>shaders</key> | ||
<dict> | ||
<key>DefaultMaterial</key> | ||
<dict> | ||
<key>vertex</key> | ||
<string>Combined.vs</string> | ||
<key>fragment</key> | ||
<string>TexturelessOBJ.fs</string> | ||
<key>defines</key> | ||
<dict> | ||
<key>CALCULATE_NORMAL_WORLD</key> | ||
<string>1</string> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |