Quake 2 Source Code Review (Fabien Sanglard)
Moderator: InsideQC Admins
6 posts
• Page 1 of 1
Quake 2 Source Code Review (Fabien Sanglard)
Just saw that Fabien Sanglard released his Quake 2 Source Code Review a couple of days ago.
http://fabiensanglard.net/quake2/
http://fabiensanglard.net/quake2/
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
Re: Quake 2 Source Code Review (Fabien Sanglard)
Nice. I could have swore that q2 had software colored lighting, apparently I was wrong. 
Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
Get off my lawn!
-

dreadlorde - Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
Re: Quake 2 Source Code Review (Fabien Sanglard)
no it doesn't, though it was something i planned to do once
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: Quake 2 Source Code Review (Fabien Sanglard)
dreadlorde wrote:Nice. I could have swore that q2 had software colored lighting, apparently I was wrong.
No, but you can have it nowadays... FTEQW software engine does. Possibly DP vid_soft mode also. It would have been nice to see a modern engine added to the comparison- FTEQW, KMQuake2, Berserker, etc. Newbies need to be herded AWAY from the ancient original exe's.
-
qbism - Posts: 1236
- Joined: Thu Nov 04, 2004 5:51 am
Re: Quake 2 Source Code Review (Fabien Sanglard)
I loved the lookup table trick to implement transparency in software. Very clever.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
Re: Quake 2 Source Code Review (Fabien Sanglard)
yeah though lookup alpha is common at the point when quake2 did it (even Heretic did it), even the 33/66% alpha method (using row or column order to switch between the two)
shame it didn't do more than that - there certainly was room for additive transparency with using the colormap fade table to control the opacity of the additive colors.
BTW FTEQW's software engine only does colored lighting on the level in 16/32bit color modes, and doesn't color the models, AND its software renderer is retired, anyway
shame it didn't do more than that - there certainly was room for additive transparency with using the colormap fade table to control the opacity of the additive colors.
BTW FTEQW's software engine only does colored lighting on the level in 16/32bit color modes, and doesn't color the models, AND its software renderer is retired, anyway
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest