#2 posted by
ericw on 2014/06/27 00:13:44
Right now I'm using wine (from
http://winebottler.kronenberg.org ) to run windows tools. I have a bash script in my maps directory that invokes qbsp like this:
/Applications/Wine.app/Contents/Resources/bin/wine ~/quake/bjptools_xt/txqbsp_xt.exe jam_ericw.map
Seems to work fine.
I'd recommend against using native mac tools (or anything but 32-bit windows tools) for the moment, because it's possible you'll run in to this bug, which will cause corrupted lightmaps in some places:
https://sourceforge.net/p/quakespasm/patches/15/ The patch lightmap2.diff should be applied to light tools, but I haven't had a chance to report it to tools authors with a proper test case yet.
@ericw
#3 posted by Baker on 2014/10/29 10:09:05
I'd recommend against using native mac tools (or anything but 32-bit windows tools) for the moment, because it's possible you'll run in to this bug, which will cause corrupted lightmaps in some places
txqbsp uses doubles for almost everything (153 vec3_t occurrences, just 25 float occurrences):
mathlib.h - "typedef double vec_t;" if DOUBLEVEC_T is defined, and it is defined in the project settings.
Checking the original qbsp source code, it looks like this was the case too.
Strange that the engine used floats and not doubles in model.c for the lightmap calculations.