Major spots problem *solved*


(CobraA2) #1

Hello, I’ve recently decided to do some playing & mapping of Elite Force after getting it - well - years ago :D. Only problem is, I’m getting black spots all over the place in what I think is the light map? Tried everything I could think of :banghead:, so I thought I’d try here.

Here’s a screenshot of the problem:

And here’s my compile batch file:


F:\startrek\Tools\q3map2\q3map2.exe -game ef f:\startrek\baseef\maps\%1
F:\startrek\Tools\q3map2\q3map2.exe -game ef -vis f:\startrek\baseef\maps\%1
F:\startrek\Tools\q3map2\q3map2.exe -game ef -light f:\startrek\baseef\maps\%1
pause

Edit: BTW, I created a “CobraA1” also, but sent it to a bad email address :(.


(obsidian) #2

What version of Q3Map2 are you using?

Are you using any custom shaders?

Any error messages in the compile logs? Console?


(CobraA2) #3

Q3map2 2.5.16

GtkRadiant 1.5.0

No custom shaders, everything is standard.

I do seem to have some warning messages :(.

I’ve added -v for verbose and piped the output to files, heres’ the result:

BSP:


2.5.16
1 threads
Q3Map         - v1.0r (c) 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant    - v1.5.0 Oct  8 2004 08:08:27
Voter turnout
--- InitPaths ---
Searching for "elite" in "F:/startrek/Tools/q3map2/q3map2.exe" (0)...
Searching for "elite" in "f:/startrek/baseef/maps/jbm1.map" (1)...
VFS Init: ..//baseef/

--- BSP ---
        0 shaderInfo
--- LoadMapFile ---
Loading f:\startrek\baseef\maps\jbm1.map
entering f:\startrek\baseef\maps\jbm1.map
WARNING: Couldn't find image for shader textures/hall/hallcomp_seam
WARNING: Couldn't find image for shader textures/common/sky
WARNING: Couldn't find image for shader textures/voyager/vfloora0001
       35 total world brushes
        0 detail brushes
        0 patches
        0 boxbevels
        0 edgebevels
       13 entities
      148 planes
        0 areaportals
Size: -2224,  -136,   -64 to   464,  1360,    64
--- ProcessDecals ---
        0 decal projectors
--- CreateMapFogs ---
        0 fogs
############### model 0 ###############
block size = { 1024 1024 1024 }
BSP bounds: { -2224.000000 -136.000000 -64.000000 } { 464.000000 1360.000000 64.000000 }
Lightgrid bounds: { 99999.000000 99999.000000 99999.000000 } { -99999.000000 -99999.000000 -99999.000000 }
--- PatchMapDrawSurfs ---
--- FaceBSP ---
      210 faces
      543 leafs
--- MakeTreePortals ---
        0 tiny portals
        0 bad portals
--- FilterStructuralBrushesIntoTree ---
       35 structural brushes
      477 cluster references
--- FloodEntities ---
       84 flooded leafs
--- FillOutside ---
      351 solid leafs
      108 leafs filled
       84 inside leafs
--- CullSides ---
       93 hidden faces culled
        0 coincident faces culled
--- ClipSidesIntoTree ---
--- FaceBSP ---
       85 faces
      195 leafs
--- MakeTreePortals ---
        0 tiny portals
        0 bad portals
--- FilterStructuralBrushesIntoTree ---
       35 structural brushes
      226 cluster references
--- NumberClusters ---
       82 visclusters
      159 visportals
      316 solidfaces
--- WritePortalFile ---
writing f:\startrek\baseef\maps\jbm1.prt
--- FloodAreas ---
        2 areas
--- AddTriangleModels ---
--- AddEntitySurfaceModels ---
--- FilterDetailBrushesIntoTree ---
        0 detail brushes
        0 cluster references
----- FogDrawSurfs -----
        0 fog polygon fragments
        0 fog patch fragments
        0 fogged drawsurfs
--- SubdivideFaceSurfaces ---
--- FixTJunctions ---
      190 axial edge lines
        6 non-axial edge lines
        0 degenerate edges
        0 verts added for T-junctions
      342 total verts
       84 naturally ordered
        0 rotated orders
        0 can't order
        0 broken (degenerate) surfaces removed
--- ClassifyEntitySurfaces ---
--- TidyEntitySurfaces ---
        0 empty or malformed surfaces deleted
--- MakeEntityDecals ---
 (0)
        0 decal surfaces
--- MakeEntityMetaTriangles ---
0...1...2...3...4...5...6...7...8...9... (0)
        0 total meta surfaces
        0 stripped surfaces
        0 fanned surfaces
        0 patch meta surfaces
        0 meta verts
        0 meta triangles
--- TidyEntitySurfaces ---
        0 empty or malformed surfaces deleted
--- SmoothMetaTriangles ---
No smoothing angles specified, aborting
--- FilterDrawsurfsIntoTree ---
      302 references
       84 (84) emitted drawsurfs
       84 stripped face surfaces
        0 fanned face surfaces
        0 surface models generated
        0 skybox surfaces generated
        0 SURFACE_BAD surfaces
       84 SURFACE_FACE surfaces
        0 SURFACE_PATCH surfaces
        0 SURFACE_TRIANGLES surfaces
        0 SURFACE_FLARE surfaces
        0 SURFACE_FOLIAGE surfaces
        0 SURFACE_FORCED_META surfaces
        0 SURFACE_META surfaces
        0 SURFACE_FOGHULL surfaces
        0 SURFACE_DECAL surfaces
        0 SURFACE_SHADER surfaces
      489 redundant indexes supressed, saving 1 Kbytes
--- FixBrushSides ---
--- EndModel ---
       10 light entities stripped
      158 BSP planes
--- WriteSurfaceExtraFile ---
Writing f:\startrek\baseef\maps\jbm1.srf
Writing f:\startrek\baseef\maps\jbm1.bsp
Wrote 0.0 MB (47680 bytes)
        1 seconds elapsed

VIS:


2.5.16
1 threads
Q3Map         - v1.0r (c) 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant    - v1.5.0 Oct  8 2004 08:08:27
Voter turnout
--- InitPaths ---
Searching for "elite" in "F:/startrek/Tools/q3map2/q3map2.exe" (0)...
Searching for "elite" in "-vis" (1)...
Searching for "elite" in "f:/startrek/baseef/maps/jbm1.map" (2)...
VFS Init: ..//baseef/

--- Vis ---
Loading f:\startrek\baseef\maps\jbm1.bsp
Loading f:\startrek\baseef\maps\jbm1.prt
    82 portalclusters
   159 numportals
   316 numfaces
   318 active portals
     0 hint portals
visdatasize:1320

--- BasePortalVis (318) ---
0...1...2...3...4...5...6...7...8...9... (0)
      3 average number of passages per leaf
      0 MB required passage memory

--- CreatePassages (318) ---
0...1...2...3...4...5...6...7...8...9... (0)

--- PassagePortalFlow (318) ---
0...1...2...3...4...5...6...7...8...9... (0)
creating leaf vis...
cluster    0 :   41 visible
cluster    1 :   40 visible
cluster    2 :   56 visible
cluster    3 :   51 visible
cluster    4 :   41 visible
cluster    5 :   39 visible
cluster    6 :   56 visible
cluster    7 :   51 visible
cluster    8 :   23 visible
cluster    9 :   23 visible
cluster   10 :   36 visible
cluster   11 :   36 visible
cluster   12 :   36 visible
cluster   13 :   36 visible
cluster   14 :   36 visible
cluster   15 :   36 visible
cluster   16 :   56 visible
cluster   17 :   23 visible
cluster   18 :   48 visible
cluster   19 :   51 visible
cluster   20 :   23 visible
cluster   21 :   23 visible
cluster   22 :   27 visible
cluster   23 :   62 visible
cluster   24 :   66 visible
cluster   25 :   67 visible
cluster   26 :   56 visible
cluster   27 :   23 visible
cluster   28 :   48 visible
cluster   29 :   50 visible
cluster   30 :   23 visible
cluster   31 :   23 visible
cluster   32 :   27 visible
cluster   33 :   62 visible
cluster   34 :   66 visible
cluster   35 :   67 visible
cluster   36 :   23 visible
cluster   37 :   23 visible
cluster   38 :   38 visible
cluster   39 :   30 visible
cluster   40 :   53 visible
cluster   41 :   37 visible
cluster   42 :   30 visible
cluster   43 :   53 visible
cluster   44 :   54 visible
cluster   45 :   51 visible
cluster   46 :   38 visible
cluster   47 :   29 visible
cluster   48 :   29 visible
cluster   49 :   45 visible
cluster   50 :   45 visible
cluster   51 :   59 visible
cluster   52 :   27 visible
cluster   53 :   29 visible
cluster   54 :   58 visible
cluster   55 :   52 visible
cluster   56 :   48 visible
cluster   57 :   60 visible
cluster   58 :   47 visible
cluster   59 :   48 visible
cluster   60 :   54 visible
cluster   61 :   46 visible
cluster   62 :   29 visible
cluster   63 :   29 visible
cluster   64 :   45 visible
cluster   65 :   45 visible
cluster   66 :   46 visible
cluster   67 :   38 visible
cluster   68 :   38 visible
cluster   69 :   36 visible
cluster   70 :   19 visible
cluster   71 :   27 visible
cluster   72 :   46 visible
cluster   73 :   16 visible
cluster   74 :   58 visible
cluster   75 :   52 visible
cluster   76 :   50 visible
cluster   77 :   60 visible
cluster   78 :   46 visible
cluster   79 :   48 visible
cluster   80 :    3 visible
cluster   81 :    3 visible
Total visible clusters: 3368
Average clusters visible: 41
Writing f:\startrek\baseef\maps\jbm1.bsp
Wrote 0.0 MB (49000 bytes)
        0 seconds elapsed

Light:


2.5.16
1 threads
Q3Map         - v1.0r (c) 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant    - v1.5.0 Oct  8 2004 08:08:27
Voter turnout
--- InitPaths ---
Searching for "elite" in "F:/startrek/Tools/q3map2/q3map2.exe" (0)...
Searching for "elite" in "-light" (1)...
Searching for "elite" in "f:/startrek/baseef/maps/jbm1.map" (2)...
VFS Init: ..//baseef/

--- Light ---
Map has shader script f:\startrek\baseef\maps/../scripts/q3map2_jbm1.shader
        0 shaderInfo
Loading f:\startrek\baseef\maps\jbm1.bsp
Loading f:\startrek\baseef\maps\jbm1.srf
--- LoadMapFile ---
Loading f:\startrek\baseef\maps\jbm1.map
entering f:\startrek\baseef\maps\jbm1.map
       10 light entities
--- SetupBrushes ---
       35 opaque brushes
--- SetupDirt ---
       48 dirtmap vectors
--- SetupSurfaceLightmaps ---
       84 surfaces
       78 raw lightmaps
        0 surfaces vertex lit
       84 surfaces lightmapped
       84 planar surfaces lightmapped
        0 non-planar surfaces lightmapped
        0 patches lightmapped
        0 planar patches lightmapped
--- SetupTraceNodes ---
     5165 trace windings (1.30MB)
    10125 trace triangles (0.85MB)
     5080 trace nodes (0.31MB)
     2541 leaf nodes (0.16MB)
        2 average windings per leaf node
       23 max trace depth
--- SetupGrid ---
Grid size = { 64, 64, 128 }
     1008 grid points
--- CreateLights ---
       10 point lights
        0 spotlights
        0 diffuse (area) lights
        0 sun/sky lights
--- SetupEnvelopes ---
       10 total lights
        0 culled lights
--- TraceGrid ---
0...1...2...3...4...5...6...7...8...9... (0)
42 x 24 x 1 = 1008 grid
      251 grid points envelope culled
      113 grid points bounds culled
--- MapRawLightmap ---
0...1...2...3...4...5...6...7...8...9... (0)
    30600 luxels
    20794 luxels mapped
     6200 luxels occluded
--- SetupEnvelopes ---
       10 total lights
        0 culled lights
--- IlluminateRawLightmap ---
0...1...2...3...4...5...6...7...8...9... (0)
    30600 luxels illuminated
--- IlluminateVertexes ---
0...1...2...3...4...5...6...7...8...9... (0)
      342 vertexes illuminated
      189 lights plane culled
       21 lights envelope culled
        0 lights bounds culled
      288 lights cluster culled
--- StoreSurfaceLightmaps ---
Subsampling...collapsing...sorting...allocating...storing...projecting...done.
    27540 luxels used
    32768 luxels stored (84.05 percent efficiency)
       10 solid surface lightmaps
        9 identical surface lightmaps, using 486 luxels
        0 vertex forced surfaces
        0 vertex approximated surfaces
        2 BSP lightmaps
        2 total lightmaps
        4 unique lightmap/shader combinations
Writing f:\startrek\baseef\maps\jbm1.bsp
Wrote 0.1 MB (155368 bytes)
        0 seconds elapsed


(CobraA2) #4

I found the problem - my lights were partly inside the floor!

I had just set up a few test lights so I could test the level, but never bothered to set their height or anything - they defaulted to being inside the floor, and I guess that messed stuff up.