Page 1 of 1

Move MODELDEF parsing away from gl rendering

Posted: Sat Dec 24, 2016 12:58
by Edward-san
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.

Re: Move MODELDEF parsing away from gl rendering

Posted: Sat Apr 15, 2017 12:51
by Graf Zahl
So, have you ever checked the code? Apparently not, because this separation is already present, in fact it has been for nearly 3 years.