Move MODELDEF parsing away from gl rendering

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
Edward-san
Developer
Developer
Posts: 197
Joined: Sun Nov 29, 2009 16:36

Move MODELDEF parsing away from gl rendering

Post by Edward-san » Sat Dec 24, 2016 12:58

Currently, the code is so much entangled by the gl rendering stuff that it would make hard to just parse the MODELDEF and error out broken 3d models when the GL code is disabled (for example the Zandronum dedicated server, see this attempt to show how bad is the current status). Also, afair QZDoom devs intend to add 3d model rendering in the future, so this sounds like a good chance.

Maybe a good place for this is inside src/r_data, since that's the folder where gl_InitModels is called.

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Move MODELDEF parsing away from gl rendering

Post by Graf Zahl » Sat Apr 15, 2017 12:51

So, have you ever checked the code? Apparently not, because this separation is already present, in fact it has been for nearly 3 years.

Locked

Return to “GZDoom”