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.
Move MODELDEF parsing away from gl rendering
Moderator: Graf Zahl
-
- Developer
- Posts: 197
- Joined: Sun Nov 29, 2009 16:36
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Move MODELDEF parsing away from gl rendering
So, have you ever checked the code? Apparently not, because this separation is already present, in fact it has been for nearly 3 years.