4 ms·
> Removal of OpenGL Huh. I suppose CPUs are fast and all, but still seems odd to replace perfectly good OpenGL renderer with SW rendering.
by zokier 8y ago
> Removal of OpenGL
Huh. I suppose CPUs are fast and all, but still seems odd to replace perfectly good OpenGL renderer with SW rendering.
- tracker1 8y agoAgreed... I'm a little surprised they wouldn't adapt to work/build to wasm+webgl target. It seems to me that could make a pretty good cross platform base.
- openbasic 8y agoHaving no OpenGL makes an HTML5 port even easier.
- tracker1 8y agoWouldn't opengl be closer to webgl?
- openbasic 8y agoEmscripten has an SDL implementation so you can just SDL_BlitSurface inside a <canvas>.
- tracker1 8y agoWhat about the performance? Not that it's going to be huge on some modern hardware, but thinking a 4-5yo tablet or raspberry pi 2-3 level support. Not that WebGL is all that much to write home about vs. native...
- mumphster 8y agoHow so? emscripten already supports WebGL
- badsectoracula 8y agoEmscripten has an OpenGL 1.x implementation and Quake 2 uses pretty much OpenGL 1.1. Some years ago i ported my engine that has a GL1.x-only path to Emscripten and had an SDL backend (i removed it since then) and it took just a couple of hours to "port" (the two main problems i had were that i was doing some unaligned pointer accesses - casting a byte array to a float array to read vertex data - that Emscripten didn't knew how to handle so i wrote a slower path for Emscripten and that the OpenGL 1.x implementation wasn't that great and i had to write some workarounds).
- openbasic 8y agoThe software renderer of Quake 2 has a very unique look that is hard to reproduce with shaders. Limitations are part of the fun. Games can use the existing Q2 palette, create their own, or use the palettes from Doom, Duke Nukem or Q1.
- badsectoracula 8y agoConsidering this, I wonder why the choice of Quake 2 instead of Quake 1 since the main thing Quake 2 introduced has over Quake 1 was colored lighting but that was only available in the OpenGL version.
- openbasic 8y agoI don't like QuakeC or the QuakeC VM.
- beetwenty 8y agoThe MD2 model format is considerably extended over MDL, in size limits, vertex resolution, and features like texture animations. And while Q1 had the split between Netquake and Quakeworld networking, Q2 has a single system. Those kinds of refinements can make the difference.