#7 box.map has leak -- vis and light won't run

closed-fixed
nobody
None
5
2004-10-22
2004-09-26
No

box.map has a leak in it making it so that box.bsp
can't be compiled properly. The box.bsp that is
generated does not have any lighting or visibility
clipping information associated with it. This means it
runs "fullbright" and very slowly.

box.bsp is included in our pak files, so this also
means that our build is broken. However, since a bad
box.bsp is created, re-running gmake will succeed, but
the bad box.bsp will be compiled into our pak files.

Steps to Reproduce:
1) cd pak0
2) rm maps/box.bsp
3) gmake maps/box.bsp

What Happens:
The build reports an error. maps/box.bsp is created,
but it runs full-bright and very slowly. The output
from gmake follows:

../utils/qutils/bin/qbsp maps/box.map
---- qbsp ---- (Aug 12 2004)
Original source from id software
portions copyright Alexander Malmberg
<alexander@malmberg.org>

This version of qbsp supports detail brushes and will
only work with versions
of vis that support detail brushes.

This version of qbsp also supports HINT and SKIP brushes.
--------------
qdir: /home/dcostanz/openquartz-CVS/pak0/maps/
gamedir: /home/dcostanz/openquartz-CVS/pak0/maps
outputfile: maps/box.bsp
--- LoadMapFile ---
maps/box.map
677 brushes (0 detail)
160 entities
7 miptex
217 texinfo
building hulls sequentially...
--- Brush_LoadEntity ---
661 brushes read
---- CSGFaces ----
4702 brushfaces
12275 csgfaces
2230 mergedfaces
----- SolidBSP -----
4342 split nodes
2115 solid leafs
2228 empty leafs
0 water leafs
7305 leaffaces
6956 nodefaces
----- portalize ----
----- FillOutside ----
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
reached occupant at: (-1850,-2876, 48)
classname: 'monster_knight'
no filling performed
leak file written to maps/box.pts
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
MODEL: *1
MODEL: *2
MODEL: *3
MODEL: *4
MODEL: *5
MODEL: *6
MODEL: *7
MODEL: *8
MODEL: *9
MODEL: *10
MODEL: *11
MODEL: *12
MODEL: *13
MODEL: *14
MODEL: *15
MODEL: *16
--- FinishBSPFile ---
WriteBSPFile: maps/box.bsp
added 0 texture frames
946 planes 18920
7332 vertexes 87984
3252 nodes 78048
217 texinfo 8680
6773 faces 135460
8574 clipnodes 68592
2073 leafs 58044
6946 marksurfaces 13892
26872 surfedges 53744
17177 edges 68708
7 textures 105032
lightdata 0
visdata 0
entdata 12650
9.6 seconds elapsed
../utils/qutils/bin/vis maps/box.bsp
---- vis ----
LoadPortals: couldn't read maps/box.prt
No vising performed.
make: *** [maps/box.bsp] Error 1

What Should Happen:
maps/box.bsp should be compiled with no errors. It
should have lighting info and have an acceptable framerate.

Discussion

  • David Costanzo

    David Costanzo - 2004-10-22

    Logged In: YES
    user_id=109252

    I have committed a fix for this that was submitted by Greg
    Mapes.

     
  • David Costanzo

    David Costanzo - 2004-10-22
    • status: open --> closed-fixed
     

Log in to post a comment.