[Gtkradiant] I cannot defeat this segfault in q3map2 (during the lighting phase, due to having to much lighting (which I need, it's a big map)
Miguel Ghobangieno
mikeeusaa at yahoo.com
Sun Aug 19 18:37:16 CDT 2007
I cannot defeat this segfault in q3map2 (during the
lighting phase, due to having to much lighting (which
I need, it's a big map):
r00t at debian:~$ /usr/games/q3map2 -v -connect
127.0.0.1:39000 -game quake3 -fs_basepath
/usr/share/games/nexuiz/ -fs_game data -light -deluxe
-lomem
-fast -lightmapsize 1024
/home/r00t/.nexuiz/data/maps/castlebunker63.map
2.5.17
Winsock Initialized
my address is 127.0.1.1
WINS_Connect: Unknown error
Net_Connect: error connecting
threads: 4
Q3Map - v1.0r (c) 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.17
GtkRadiant - v1.5.0 Mar 25 2007 21:40:43
Last one turns the lights off
--- InitPaths ---
VFS Init: /home/r00t/.q3a/data/
VFS Init: /usr/share/games/nexuiz//data/
VFS Init: /home/r00t/.q3a/baseq3/
VFS Init: /usr/share/games/nexuiz//baseq3/
--- Light ---
Generating deluxemaps for average light direction
Enabling low-memory (potentially slower) lighting mode
Fast mode enabled
Default lightmap size set to 1024 x 1024 pixels
Storing all lightmaps externally
Map has shader script
/home/r00t/.nexuiz/data/maps/../scripts/q3map2_castlebunker63.shader
entering scripts/shaderlist.txt
entering scripts/shaderlist.txt (2)
etc
etc
610 shaderInfo
Loading
/home/r00t/.nexuiz/data/maps/castlebunker63.bsp
Loading
/home/r00t/.nexuiz/data/maps/castlebunker63.srf
--- LoadMapFile ---
Loading
/home/r00t/.nexuiz/data/maps/castlebunker63.map
entering
/home/r00t/.nexuiz/data/maps/castlebunker63.map
1996 light entities
--- SetupBrushes ---
22376 opaque brushes
--- SetupDirt ---
48 dirtmap vectors
--- SetupSurfaceLightmaps ---
72878 surfaces
65728 raw lightmaps
57 surfaces vertex lit
72821 surfaces lightmapped
69961 planar surfaces lightmapped
0 non-planar surfaces lightmapped
2860 patches lightmapped
1390 planar patches lightmapped
--- SetupTraceNodes ---
Segmentation fault
So I need some help in how to get rid of this segfault
in the q3map2 source. I have allready (in the past few
months) raised the MAX_EDGE_LINES and
MAX_ORIGINAL_EDGES and removed the MAX_VISIBILITY
limit . (The source for the edits are at
https://cat2.dynu.ca/cat2/programs.html#Q3MAP2
https://cat2.dynu.ca/cat2/q3map2-bigvis-gtkradiant.tar.gz)
The map source is (the map is GPL'd btw) at
https://cat2.dynu.ca/cat2/castlebunker63.map
I've used a skybox for lighting outside, inside I use
pointlights and try to not have too many (consolidate
the ones I can). So I've tried to optimize but I've
hit the limit. I've also tried upping the blocksize to
32k and upping the gridsize too, both approaches still
result in a segfault. I'm guessing that the variable
in which somenumber is stored is not big enough and
when the count hit's the limit of the x-bit interger
or float it crashes. I need to know what to change in
the source so the new compiler bin can handle this map
and it's lights.
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
More information about the Gtkradiant
mailing list