Experimental fork that tries out daring and cutting edge features. Forked from here - https://github.com/zdoom/gzdoom
Find a file
Kevin Caccamo bb8c66b3a0 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 07:28:26 +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-04-19 11:36:52 +03: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-04-30 19:10:33 +02:00
lzma - updated LZMA library to version 18.05 2018-05-04 11:24:15 +03: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:48:44 +03:00
src Fix rendering and parsing of OBJ models 2018-09-01 07:28:26 +02:00
tools - fixed a warning caused by the LZMA-SDK update. 2018-01-21 10:58:12 +01:00
unused - moved the "unused" folder to the repo's top level. 2018-04-23 22:25:29 +02:00
wadsrc - update french language translation from Tapwave 2018-08-31 18:01:51 -04: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 - new rocket smoke sprites by Talon1024. 2018-01-28 08:37:56 +01: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-04-26 10:40:09 +03:00
.gitattributes - define zdoom.rc as a proper Windows text file, stop Git from mismanaging it 2018-05-17 17:39:18 -04:00
.gitignore - specify fragment output locations in the shader source. 2018-06-12 23:52:33 +02:00
.travis.yml - updated Travis CI configuration with Xcode 9.4 and GCC 8 2018-07-27 16:34:18 +03:00
CMakeLists.txt - disable runtime buffer security check in release build. 2018-08-14 21:29:14 +02:00
LICENSE - add LICENSE file for GitHub's info displays 2018-07-21 07:03:52 -04: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 03:36:53 -04: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.