Too lazy to comment

This commit is contained in:
2019-12-30 18:15:17 +01:00
parent 7fe19ee89f
commit 774dda8b90
13 changed files with 339 additions and 11 deletions

View File

@@ -1,13 +1,21 @@
#!/bin/bash
IN=./zombietest.map
OUT=zombietest.bsp
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
TOOLS_DIR=${DIR}/../../tools/ericw_tools
ROOT=${DIR}/../../
MAPNAME=zombietest
IN=${MAPNAME}.map
OUT=${MAPNAME}.bsp
TOOLS_DIR=${ROOT}/tools/ericw_tools
QBSP=${TOOLS_DIR}/qbsp
VIS=${TOOLS_DIR}/vis
LIGHT=${TOOLS_DIR}/light
${QBSP} ${IN} ${OUT}
${VIS} -fast -level 4 -noambient ${OUT}
${LIGHT} -soft -extra -extra4 ${OUT}
${LIGHT} -bounce -soft -extra -extra4 ${OUT}
:
pushd ${ROOT}
./quakespasm-sdl2 +map ${MAPNAME}
popd

View File

@@ -2,12 +2,19 @@
IN=./zombietest.map
OUT=zombietest.bsp
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
TOOLS_DIR=${DIR}/../../tools/eric_tools
TOOLS_DIR=${DIR}/../../tools/ericw_tools
QBSP=${TOOLS_DIR}/qbsp
VIS=${TOOLS_DIR}/vis
LIGHT=${TOOLS_DIR}/light
${QBSP} ${IN} ${OUT}
${VIS} -fast -level 4 -noambient ${OUT}
${LIGHT} -soft -extra -extra4 ${OUT}
${LIGHT} -bounce -soft -extra -extra4 ${OUT}
:
#!/bin/bash
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
ROOT=${DIR}/../../
pushd ${ROOT}
./quakespasm-sdl2 +map zombietest
popd

View File

@@ -12,6 +12,7 @@ qdir: /opt/quakedev/
--- LoadEntities ---
7 entities read, 2 are lights.
--- OptionsSummary ---
"bounce" was set to "1" from commandline
Embree_TraceInit: Embree version: 2.17.5
Embree_TraceInit:
0 sky faces
@@ -25,17 +26,21 @@ SetupLights: 2 after jittering
0....1....2....3....4....5
Final count: 2 lights, 0 suns in use.
--- LightWorld ---
--- MakeTextureColors ---
--- MakeBounceLights ---
0....1....2....3....4....5....6....7....8....9...
--- LightThread ---
0....1....2....3....4....5....6....7....8....9...
Indirect lights: 49 bounce lights, 0 surface lights (0 light points) in use.
Lighting Completed.
lightdatasize: 4324
lightdatasize: 5004
0 switchable light styles (32 max)
Writing zombietest.bsp as BSP version 29
0.016 seconds elapsed
0.053 seconds elapsed
stats:
0.700207 lights tested, 0.623217 hits per sample point
0.000000 surface lights tested, 0.000000 hits per sample point
0.000000 bounce lights tested, 0.000000 hits per sample point
16.660215 bounce lights tested, 11.971556 hits per sample point
0 empty lightmaps

View File

@@ -2,6 +2,6 @@
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
ROOT=${DIR}/../../
pushd ${ROOT}
./quakespasm-sdl2 -map zombietest
./quakespasm-sdl2 +map zombietest
popd

View File

@@ -2,6 +2,6 @@
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
ROOT=${DIR}/../../
pushd ${ROOT}
./quakespasm-sdl -map zombietest
./quakespasm-sdl2 -map zombietest
popd

Binary file not shown.