Since it will be another short while before I release an engine update, I've dusted off some old code and made it available. Only this time it's called "MHLight".
The readme says it all:
Not a general purpose lighting utility; this is the latest version of MHColour. I'd originally updated it back in 2007, but never got round to releasing it then. A few final bits of work and here it is.Grab it from the links list over there to your right.
Use it to generate a LIT file for (almost) any BSP; information from fullbright colours in the textures and from lava and slime textures is used to create colour values for nearby lights. Certain special lights (torches, etc) are also coloured.
Bugs? Limitations? I'm sure it has plenty... here's what I know of for sure:
* It seems to become unhappy with Hipnotic rotating brushes - not sure why and can't really be bothered to find out right now. It won't crash, but it won't light the brush either.
* It's based on the original ID Light utility, so all limitations and bugs that apply to that also apply to this. It'll probably choke on really large BSPs. One exception - I added "-extra4" as an option.
* As well as generating a LIT file it will also relight the BSP. LIT files created by this probably won't be redistributable. The reason for this is that I tried it the other way and it didn't work; packing the LIT data into the same face offsets used by the original produced weird results on some brushes. It only takes about half an hour to relight all of ID1 with -extra4 on a modern PC anyway, so it doesn't matter too much.
If anybody does anything cool with this I'd love to know; you can normally find me hanging around on Inside3D.
2 comments:
Hi... by some twist of fate, I decided to play Quake 1 again for the first time in years. I did a search for Direct 3D clients, and found your site!
I have the DirectQuake client running, and it works beautifully except doesn't want to connect to any multiplayer servers. I was able to launch Winquake and get to my server- am I missing something?
Also, I downloaded MHLight, and it's been at least 8 years since I used a colored lighting utility. I can't find any original instructions on how to do this- would you mind including the steps in your release?
Thanks for your great work, Quake has never looked better. I was impressed when I launched it and it detected my 1680 x 1050 widescreen LCD. Very nice, and the fonts weren't miniscule. Finally a modern client.
It's a known bug in Quake - it doesn't play nice with routers and NAT addresses. Hopefully will be fixed sometime soon.
Post a Comment