Сейчас компильну на фулл - гляну.
Что значит эта ошибка в логе?
BasePortalVis:
(2.66 seconds)
LeafThread:
(474.91 seconds)
Warning: Leaf portals saw into leaf
Problem at portal between leaves 256 and 258:
(-574.000 53.000 -279.000)
(-572.483 48.914 -279.000)
(-571.531 46.372 -278.720)
(-571.531 58.416 -131.177)
(-574.014 65.038 -132.005)
average leafs visible: 328
g_visdatasize:104130 compressed from 120294
477.66 seconds elapsed [7m 57s]
----- END hlvis -----
P.S. Компильнул фулл-визом. Всё равно лаги.
Вот лог с фулл-виза..
hlcsg v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (
[email protected])
----- BEGIN hlcsg -----
Command line: hlcsg stargate -wadinclude museum.wad
Entering stargate.map
Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
clip hull type [ legacy ] [ legacy ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
nullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]
Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
[museum.wad]
23 brushes (totalling 138 sides) discarded from clipping hulls
CreateBrush:
(0.22 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(0.52 seconds)
Using Wadfile: \games\counter-strike\cstrike\decals.wad
- Contains 1 used texture, 3.70 percent of map (225 textures in wad)
Including Wadfile: \games\counter-strike\cstrike\museum.wad
- Warning: Larger than expected texture (272812 bytes): '{VISULKA2'
- Contains 26 used textures, 96.30 percent of map (57 textures in wad)
Texture usage is at 1.52 mb (of 4.00 mb MAX)
0.84 seconds elapsed
----- END hlcsg -----
hlbsp v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (
[email protected])
----- BEGIN hlbsp -----
Command line: hlbsp stargate
Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
nofill [ off ] [ off ]
noopt [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 8192)
SolidBSP [hull 0] 500...1000...1500...1737 (0.11 seconds)
BSP generation successful, writing portal file 'stargate.prt'
SolidBSP [hull 1] 500...1000...1417 (0.08 seconds)
SolidBSP [hull 2] 500...1000...1353 (0.08 seconds)
SolidBSP [hull 3] 500...1000...1500...1566 (0.09 seconds)
1.02 seconds elapsed
----- END hlbsp -----
hlvis v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (
[email protected])
----- BEGIN hlvis -----
Command line: hlvis -full stargate
978 portalleafs
3174 numportals
-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]
fast vis [ off ] [ off ]
full vis [ on ] [ off ]
BasePortalVis:
(2.66 seconds)
LeafThread:
(474.91 seconds)
Warning: Leaf portals saw into leaf
Problem at portal between leaves 256 and 258:
(-574.000 53.000 -279.000)
(-572.483 48.914 -279.000)
(-571.531 46.372 -278.720)
(-571.531 58.416 -131.177)
(-574.014 65.038 -132.005)
average leafs visible: 328
g_visdatasize:104130 compressed from 120294
477.66 seconds elapsed [7m 57s]
----- END hlvis -----
hlrad v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (
[email protected])
----- BEGIN hlrad -----
Command line: hlrad stargate
-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]
vismatrix algorithm [ Original ] [ Original ]
oversampling (-extra)[ off ] [ off ]
bounces [ 1 ] [ 1 ]
bounce dynamic light [ on ] [ on ]
ambient light [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light [ 255.000 ] [ 256.000 ]
circus mode [ off ] [ off ]
smoothing threshold [ 50.000 ] [ 50.000 ]
direct threshold [ 25.000 ] [ 25.000 ]
direct light scale [ 2.000 ] [ 2.000 ]
coring threshold [ 1.000 ] [ 1.000 ]
patch interpolation [ on ] [ on ]
texscale [ on ] [ on ]
patch subdividing [ on ] [ on ]
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [ 32.000 ]
global fade [ 1.000 ] [ 1.000 ]
global falloff [ 2 ] [ 2 ]
global light scale [ 1.000 1.000 1.000 ] [ 1.000 1.000 1.000 ]
global gamma [ 0.500 0.500 0.500 ] [ 0.500 0.500 0.500 ]
global light scale [ 1.000 ] [ 1.000 ]
global sky diffusion [ 1.000 ] [ 1.000 ]
opaque entities [ on ] [ on ]
sky lighting fix [ on ] [ on ]
incremental [ off ] [ off ]
dump [ off ] [ off ]
colour jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
monochromatic jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
softlight hack [ 0.0 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 0.0 ]
diffuse hack [ on ] [ on ]
spotlight points [ on ] [ on ]
custom shadows with bounce light
[ off ] [ off ]
rgb transfers [ off ] [ off ]
[Reading texlights from 'lights.rad']
[59 texlights parsed from 'lights.rad']
3016 faces
Create Patches : 16292 base patches
0 opaque faces
248214 square feet [35742816.00 square inches]
2 direct lights
BuildFacelights:
(31.50 seconds)
visibility matrix : 15.8 megs
BuildVisLeafs:
(122.91 seconds)
MakeScales:
(24.78 seconds)
SwapTransfers:
(25.95 seconds)
Transfer Lists : 45203606 : 45.20M transfers
Indices : 20329152 : 19.39M bytes
Data : 180814424 : 172.44M bytes
GatherLight:
(5.48 seconds)
FinalLightFace:
(2.14 seconds)
213.13 seconds elapsed [3m 33s]
----- END hlrad -----
Вроде нашёл ошибки. Вообщем модели деревьев (арньше норм работали) почемуто стали очень длинными т.е. не сами деревья (они в 3д виде номральные).. А на чертеже вверх тянутся до конца границ хаммера.
P.P.S. Убрал деревья - лаги не убрались....

(( Может кто-то сможешь решить проблему? Я дам рмф..