mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
No description
f785886c4b
Create a new surface for each 'usemtl' statement in the OBJ file, and fix memory errors caused by TriangulateQuad. Calculate missing normals, and fix incorrect UV coordinates Fix construction of vertex buffer for objects with multiple surfaces Localize curMtl, curSurface, aggSurfFaceCount, and curSurfFaceCount to FOBJModel::Load(), since they are not used anywhere else. Fix parsing of OBJs without UV references Internally, I replaced hashtag line comments with C-style line comments, and I replaced each forward slash with newSideSep. If no UV coordinates are available, add a default vector of (0,0). Also, remove "this->" from ResolveIndex to make the code a bit cleaner, and fix a minor garbage issue I failed to notice earlier (normref would pick up garbage if there was no normal reference). Ensure usemtl statements remain intact It may be a bit inefficient, but I tried modifying the buffer directly, and I got memory corruption errors. In this case, it's a lot better to be safe than sorry. |
||
---|---|---|
bzip2 | ||
cmake | ||
docs | ||
dumb | ||
game-music-emu | ||
gdtoa | ||
jpeg | ||
lzma | ||
soundfont | ||
specs | ||
src | ||
tools | ||
wadsrc | ||
wadsrc_bm | ||
wadsrc_extra | ||
wadsrc_lights | ||
zlib | ||
.appveyor.yml | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CMakeLists.txt | ||
README.md |
Welcome to GZDoom!
GZDoom is a modder-friendly OpenGL source port based on the DOOM engine
Copyright (c) 1998-2018 ZDoom + GZDoom teams, and contributors
Doom Source (c) 1997 id Software, Raven Software, and contributors
Please see license files for individual contributor licenses
Special thanks to Coraline of the 3DGE team for allowing us to use her README.md as a template for this one.
Licensed under the GPL v3
https://www.gnu.org/licenses/quick-guide-gplv3.en.html
How to build GZDoom
To build GZDoom, please see the wiki and see the "Programmer's Corner" on the bottom-right corner of the page to build for your platform.