No description
Find a file
Kevin Caccamo f785886c4b Fix rendering and parsing of OBJ models
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.
2018-09-01 11:15:15 +02:00
bzip2 - Upgrade bzip2 to version 1.0.6. 2016-12-16 22:58:25 +01:00
cmake Do not write g_pch.cpp if it's already up-to-date 2018-05-09 21:51:53 +02:00
docs Deleted MPL text from docs 2018-04-08 09:55:48 +03:00
dumb Normalize line endings 2016-03-01 09:47:10 -06:00
game-music-emu Revert "Removed workaround for MSVC 2017 compiler bug" 2018-04-07 08:05:50 +03:00
gdtoa - we are using C++11 now, so all those old VC 2005 project files are of no use anymore. 2016-03-01 09:38:49 +01:00
jpeg - removed obsolete readme. 2018-05-10 14:08:16 +02:00
lzma - updated LZMA library to version 18.05 2018-05-10 20:55:17 +02:00
soundfont - added a small default sound font that needs to be installed with the project. 2017-05-13 12:38:19 +02:00
specs - added new linedef properties to UDMF spec 2018-05-20 14:39:11 +02:00
src Fix rendering and parsing of OBJ models 2018-09-01 11:15:15 +02:00
tools - fixed a warning caused by the LZMA-SDK update. 2018-01-21 10:58:12 +01:00
wadsrc - update french language translation from Tapwave 2018-09-01 11:13:53 +02:00
wadsrc_bm - do the same for brightmaps, Doom's original ones also don't really match with Freedoom. 2017-01-01 12:19:15 +01:00
wadsrc_extra - Missed a graphic. 2018-06-23 08:56:47 +02:00
wadsrc_lights - added light definition for megasphere. 2018-02-27 11:16:28 +01:00
zlib Updated zlib to 1.2.11 2018-04-03 11:30:04 +03:00
.appveyor.yml Made AppVeyor configuration closer to stable builds 2018-05-10 13:51:41 +02:00
.gitattributes - define zdoom.rc as a proper Windows text file, stop Git from mismanaging it 2018-05-18 14:01:48 +02:00
.gitignore Ignore .DS_Store for macOS 2018-02-22 08:40:32 +01:00
.travis.yml - updated Travis CI configuration with Xcode 9.4 and GCC 8 2018-07-28 01:29:56 +02:00
CMakeLists.txt - Changed game name to LZDoom. 2018-06-20 14:26:09 +02:00
README.md - There really isn't an "or greater" for the GPL v3 license - if the license needs to be upgraded in the future then it should be done so explicitly. 2018-06-02 10:05:39 +02:00

Welcome to GZDoom!

Build Status Build Status

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.