by markus_zhang · 4y ago · 0 comments
In 1989 and 1990 he was still programming Apple ][ tile engine games, which are Ultima spinoffs. Not bad but not a new thing either. Starting from 1991 when he joined Softdisk it took him a few months to figure out smooth horizontal scrolling, and in just a bit more than one year, around late 1992 he managed to go from it to a mature ray casting engine, and you can see his evolution from hovertank to wolfenstein. And it took him another year to go from Wolfenstein to shadow caster to Doom. Quake took longer but it was still impressive considering he has to got it before anyone else solved it.
I mean this guy learns really fast. It's not only the rendering engine remind you, he had to do a lot of other parts of the engine too.
Yes, but then again you had to create the whole thing from scratch. Nowadays there are libraries that will do basically anything you can dream of. There's middleware. Whole game engines.
That era? Want to blit on the screen? Do it yourself. Want to load an asset? Not many pixmap formats to choose from. You may have to write the code to load it yourself. Want to play some beeps? Better control the PC speaker frequencies by turning it on and off (without spending too many cycles on it). Sound cards didn't make the problem any simpler.
You can't even code on one window and watch the results on another window. Unless you had loads of cash like Carmack at some point and could buy a NeXT. It's code, run the compiler, run the game. If it crashes it might take the entire machine with it. Reboot and try to figure out what went wrong. You _might_ be able to get a debugger but they were extremely primitive - and no memory protection so the debugger (which would likely modify the code and add side effects) could crash too.
Yeah, simpler games. But glacially slow to code anything. And very little publicly available information.
You try figuring out a highly performant ray casting engine without the internet. Or implement smooth scrolling after entire companies had tried and failed.
Not that it detracts from what he accomplished in any way, Carmack's alternative to the internet seems to have been books and research papers.
From GEBB DOOM:
"John started searching around for 3D research papers. He had several VHS tapes of math conferences, and compendiums of graphics papers from conferences because game books were a rare thing back then, and there was nothing printed that could help us create the engine we were building – he had to figure out where to get information that was not directly applicable to games and figure out how to adapt it to his problem.
Bruce Naylor’s May 1993 AT&T Bell Labs paper was titled "Constructing Good Partitioning Trees" and was published in the proceedings of Graphics Interface ’93. John had this book in his collection. Bruce’s explanation of BSPs was mostly to cull backfaces from 3D models, but the algorithm seemed like the right direction, so John adapted it for Wolfenstein 3D. — John Romero"
Edit:
Yes, and here is one of many stories:
https://www.google.com/amp/s/www.wired.com/2014/10/astrophys...
Smooth scrolling, in general, was known on other hardware. That was either having enough CPU throughput and a display resolution combination that would allow the CPU to drive the display fast enough to make it happen, and or with the assistance of video display chips forming video subsystems capable of smooth scrolling by offering the kind of control needed for success, all while also leaving enough of the system resources available for a game to be made featuring the effect.
Yes, you could. PCs from the beginning could support dual monitor setups with MDA plus any of the graphics cards, and this wasn't an uncommon setup for a long time because MDA had sharper text than any of the IBM color graphics standards until VGA, which had a text mode with slightly better resolution.
> And very little publicly available information.
There was lots of publicly available information. Less of it was free, but it was in books; for the less esoteric stuff they were in decently sized sections of computer books in general bookstores and computer hardware/software stores, magazines you would subscribe to, and for the more esoteric stuff there was stuff that was hard to find outside of (especially university) libraries. It was more work to find some information, but the signal to noise ratio was better.
https://www.amazon.com/PC-Intern-Encyclopedia-Programming-De...
Borland debuggers were quite good.
Back in the 80s on Apple ][ (Both Johns started on Apple ][), whoever wants to develop competent games would switch to assembly ASAP. Whoever could not figure it out would drop out eventually. Eventually, whoever managed to join professional gamedev (be it Origin or Softdisk) HAS to know a lot of low-level stuffs and be fluent to assembly, Pascal and perhaps C. Example: Carmack had to code the rendering engine and network engine for DOOM, probably singlehandedly.
Today's world is a lot easier so more percentage are retained. It's a lot easier to write C#, use Unity and get out a demo in say a few days/weeks. No low level programming skills are needed, at all.
This creates a bias when we compare "classic professional programmers" versus "modern professional programmers". They simply don't need the same set of knowledge.
I am quite sure you could hook up two or more computers in a network for that if you wanted to have separate windows.
Curious what makes you say that. While it was full 3D, it ran so much slower than DooM that, to me, "technically superior" is very subjective.
>Ultima Underworld was released the year before and had an engine better than Wolf3D
This one is definitely true but with a caveat - Wolf3D could be played fullscreen while Ultima's first person window was only a small part of the fullscreen window. The rest was an inventory and other things that allowed it to run faster since the actual rendered area was significantly smaller.
I agree technically superior is a subjective notion, particularly as it relates to games and how good a game is. I do think broadly that a full 3D engine is more complex than a 2.5D engine like Doom. There were quite a few new challenges in terms of making Quake for example. System Shock and Doom are also very different games in terms of their complexity. So I'd justify my opinion based on the game and the technology underpinning it being more complex.
For Ultima that becomes more of a production choice. Do they optimize the renderer for fullscreen resolution or build the game. Again a significantly more complex game than Wolf3D so I can understand doing the latter.
None of this takes away from the achievements of the respective teams but we do well to remember what actually happened rather than just lionizing one man.
This statement alone was worth the price of admission. As a fan of game engine history (highly recommend Fabian's books: https://fabiensanglard.net/), I have to remember that all of these things were built on the shoulders of giants. It wasn't just one person that contributed, even if it may be only their code that lives on.
And you had to code everything yourself from scratch. There was no throwing a bunch of vertices and textures at some hardware and getting back a fully rendered scene. It was a fun era. I know I did the same as Carmack and went from writing 2D platformers to writing Phong-shaded, perspective-corrected texture-mapped worlds in under a year.
Everything that Carmack did had been done before, but Carmack made it cool. He had way more vision and imagination than the guys that had done it before.
Except for the smooth scrolling (that everyone thought impossible on that era hardware)?
And the incredibly performant Doom engine?
But as CPUs got more powerful, Carmack recognized that you didn't need hardware help anymore and that removed constraints on what games he could program. Keen to Wolf3D to Doom is when id games went from good to wow to insane.
i think maybe the most exciting part of that time was the rate of innovation in hardware. new capabilities were opening up every few years and you didn't need an enormous team or tons of capital to push the envelope.
To solve a new problem space, Carmack would buy a bunch of college text books, then check into a rando motel for a few weeks, and just dissect all the topics and books, until he'd come up with the design of, for instances a new ray tracing engine.
Crazy smart, focuses, and talended.