Sidebar

В чем подвох?В руках?

Enjeker

New member
12.01.17
37
29
0
0
Ust-Kut
В чем подвох?В руках?

Итак,здравствуйте,меня интересует вопрос оптимизации карты,точнее,судя по строкам Дмитрича фпс зависит от r_speeds,точнее от wpoly и epoly,но тут есть интересное,я создал карту,всё хорошо,максимальные wpoly мною обнаруженный составил 700(скрин),но при этом у меня фпс 25-30(Это как?),решил поинтересоваться,зашёл на карту jb_mini,спустя 15секунд нашёл место 1.5к wpoly(скрин) без 10,100фпс(Это как?),думаю,может что не то,побегал ещё немного,ещё место 1.6к wpoly(скрин),80фпс.Люди добрые,как итог,кто сможет мне разъяснить в чём проблема.Сделал карту,но надо оптимизировать,и,думаю,можно будет хотяб к себе залить на серв.
P.S разрешение текстур стен на моей мапе 96x64
 

Вкладення

Останнє редагування:

Mpak

Мрак поглотит всех!
VIP
19.06.08
3 815
62
48
Екб
  • Золотая медаль 311
  • Золотая медаль 332
  • Золотая медаль 221
  • Серебряная медаль 311
  • Золотая медаль 215
  • Серебряная медаль 152
  • Бронзовая медаль 235
2 Enjeker:
У тебя какие-то проблемы с картой. Ты как компилировал? Через редактор? Или через батник? Нам бы логи посмотреть компиляторов. Подскажем, в чем ошибка.
 

DrTressi

Хрустик
06.03.10
6 425
31
  • Журналист
2 Enjeker: Ну ты либо не поставил свет, либо не откомпилировал карту через hlrad, либо на карте присутствуют ошибки, препятствующие компиляции hlrad'ом.

Подробности, как сказал тов. Мрак, в логах.
 

Enjeker

New member
12.01.17
37
29
0
0
Ust-Kut
Всё на 1 диске,в одной папке(исходник с компиляторами),использую батник,логи в-вот :
Код:
hlcsg v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlcsg -----
Command line: hlcsg.exe 123.map 

-= Current hlcsg Settings =-
Name                 |  Setting  |  Default
---------------------|-----------|-------------------------
threads               [       4 ] [  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 ]
onlyents              [     off ] [     off ]
wadtextures           [      on ] [      on ]
skyclip               [      on ] [      on ]
hullfile              [    None ] [    None ]
min surface area      [   0.500 ] [   0.500 ]
brush union threshold [   0.000 ] [   0.000 ]

Wadinclude list :
[zhlt.wad]


entering 123.map
CreateBrush:
 (0.11 seconds)
SetModelCenters:
 (0.01 seconds)
CSGBrush:
 (0.31 seconds)
Using WAD File: \counter-strike 1.6\cstrike\cs_assault.wad
Using WAD File: \counter-strike 1.6\cstrike\cs_dust.wad
Using WAD File: \counter-strike 1.6\cstrike\cstrike.wad
Using WAD File: \counter-strike 1.6\cstrike\tswad.wad
Using WAD File: \counter-strike 1.6\valve\cached.wad
Using WAD File: \counter-strike 1.6\valve\decals.wad
Using WAD File: \counter-strike 1.6\valve\fonts.wad
Using WAD File: \counter-strike 1.6\valve\gfx.wad
Using WAD File: \counter-strike 1.6\valve\halflife.wad
Using WAD File: \counter-strike 1.6\valve\liquids.wad
Using WAD File: \counter-strike 1.6\valve\spraypaint.wad
Using WAD File: \counter-strike 1.6\valve\tempdecal.wad
Using WAD File: \counter-strike 1.6\valve\xeno.wad
added 3 additional animating textures.
Texture usage is at 0.31 mb (of 4.00 mb MAX)
0.52 seconds elapsed

-----   END   hlcsg -----



hlbsp v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlbsp -----
Command line: hlbsp.exe 123.map 

-= Current hlbsp Settings =-
Name               |  Setting  |  Default
-------------------|-----------|-------------------------
threads             [       4 ] [  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 ]
notjunc             [     off ] [     off ]
subdivide size      [     240 ] [     240 ] (Min 64) (Max 240)
max node size       [    1024 ] [    1024 ] (Min 64) (Max 4096)


BSP generation successful, writing portal file '123.prt'
0.45 seconds elapsed

-----   END   hlbsp -----



hlvis v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlvis -----
Command line: hlvis.exe -full 123.map 

-= Current hlvis Settings =-
Name               |  Setting  |  Default
-------------------|-----------|-------------------------
threads             [       4 ] [  Varies ]
verbose             [     off ] [     off ]
log                 [      on ] [      on ]
developer           [       0 ] [       0 ]
chart               [     off ] [     off ]
estimate            [     off ] [     off ]
max texture memory  [ 4194304 ] [ 4194304 ]
priority            [  Normal ] [  Normal ]

fast vis            [     off ] [     off ]
full vis            [      on ] [     off ]


 435 portalleafs
1370 numportals
BasePortalVis:
 (0.12 seconds)
LeafThread:
 (2.51 seconds)
average leafs visible: 105
g_visdatasize:20354  compressed from 23925
2.70 seconds elapsed

-----   END   hlvis -----
Post automatically merged:

xDShot сказав(ла):
Вангую еще и vis забыл.

А может еще и дыра на карте.
Смотря что вы под дырами ввиду имеете,если дырку в облаке,в пространство, вряд ли.Если что иное, то не знаю
 
Останнє редагування:

Enjeker

New member
12.01.17
37
29
0
0
Ust-Kut
Ренфилд сказав(ла):
Где компилятор hlrad?
Он в папке, и в бат-ке прописан,это конфиг батника
Код:
@echo off
setwaroot=E:\VHE\Valve Hammer Editor\ZHTL
setmapname=123.map

hlcsg.exe "123.map"
hlbsp.exe "123.map"
hlvis.exe -full "123.map"
hlrad.exe -extra -dscale 1 -smooth 100 bounce 4 "123.map"
 
Останнє редагування:
VIP
12.08.04
18 877
462
83
  • Бронзовая медаль 103
  • Деревянный домик Скааржа
  • Серебряная медаль 213
  • Золотая медаль 136
  • Бронзовая медаль 141
  • Серебряная медаль 125
  • Золотая медаль 221
  • Золотая медаль 213
  • Золотая медаль 232
  • Серебряная медаль 132
".map" это лишнее.

Post automatically merged:

По минимуму батник должен быть таким.

hlcsg 123
hlbsp 123
hlvis 123 -full
hlrad 123 -extra
 
Останнє редагування:

Enjeker

New member
12.01.17
37
29
0
0
Ust-Kut
Skaarj сказав(ла):
".map" это лишнее.

Post automatically merged:

По минимуму батник должен быть таким.

hlcsg 123
hlbsp 123
hlvis 123 -full
hlrad 123 -extra
Сейчас поправлю
Итак, переделал батник,как мне и сказали, перекомпилировал, лог поменялся,есть ошибка,что нет света, но вопрос, какой именно свет нужен? light_environment?
Код:
hlcsg v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlcsg -----
Command line: hlcsg 123 

-= Current hlcsg Settings =-
Name                 |  Setting  |  Default
---------------------|-----------|-------------------------
threads               [       4 ] [  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 ]
onlyents              [     off ] [     off ]
wadtextures           [      on ] [      on ]
skyclip               [      on ] [      on ]
hullfile              [    None ] [    None ]
min surface area      [   0.500 ] [   0.500 ]
brush union threshold [   0.000 ] [   0.000 ]

Wadinclude list :
[zhlt.wad]


entering 123.map
CreateBrush:
 (0.08 seconds)
SetModelCenters:
 (0.00 seconds)
CSGBrush:
 (0.23 seconds)
Using WAD File: \counter-strike 1.6\cstrike\cs_assault.wad
Using WAD File: \counter-strike 1.6\cstrike\cs_dust.wad
Using WAD File: \counter-strike 1.6\cstrike\cstrike.wad
Using WAD File: \counter-strike 1.6\cstrike\tswad.wad
Using WAD File: \counter-strike 1.6\valve\cached.wad
Using WAD File: \counter-strike 1.6\valve\decals.wad
Using WAD File: \counter-strike 1.6\valve\fonts.wad
Using WAD File: \counter-strike 1.6\valve\gfx.wad
Using WAD File: \counter-strike 1.6\valve\halflife.wad
Using WAD File: \counter-strike 1.6\valve\liquids.wad
Using WAD File: \counter-strike 1.6\valve\spraypaint.wad
Using WAD File: \counter-strike 1.6\valve\tempdecal.wad
Using WAD File: \counter-strike 1.6\valve\xeno.wad
added 3 additional animating textures.
Texture usage is at 0.31 mb (of 4.00 mb MAX)
0.41 seconds elapsed

-----   END   hlcsg -----



hlbsp v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlbsp -----
Command line: hlbsp 123 

-= Current hlbsp Settings =-
Name               |  Setting  |  Default
-------------------|-----------|-------------------------
threads             [       4 ] [  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 ]
notjunc             [     off ] [     off ]
subdivide size      [     240 ] [     240 ] (Min 64) (Max 240)
max node size       [    1024 ] [    1024 ] (Min 64) (Max 4096)


BSP generation successful, writing portal file '123.prt'
0.37 seconds elapsed

-----   END   hlbsp -----



hlvis v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlvis -----
Command line: hlvis 123 -full 

-= Current hlvis Settings =-
Name               |  Setting  |  Default
-------------------|-----------|-------------------------
threads             [       4 ] [  Varies ]
verbose             [     off ] [     off ]
log                 [      on ] [      on ]
developer           [       0 ] [       0 ]
chart               [     off ] [     off ]
estimate            [     off ] [     off ]
max texture memory  [ 4194304 ] [ 4194304 ]
priority            [  Normal ] [  Normal ]

fast vis            [     off ] [     off ]
full vis            [      on ] [     off ]


 435 portalleafs
1370 numportals
BasePortalVis:
 (0.07 seconds)
LeafThread:
 (1.98 seconds)
average leafs visible: 105
g_visdatasize:20354  compressed from 23925
2.09 seconds elapsed

-----   END   hlvis -----



hlrad v2.5.3 rel (May  2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
-----  BEGIN  hlrad -----
Command line: hlrad 123 -extra 

-= Current hlrad Settings =-
Name                | Setting             | Default
--------------------|---------------------|-------------------------
threads              [                 4 ] [            Varies ]
verbose              [               off ] [               off ]
log                  [                on ] [                on ]
developer            [                 0 ] [                 0 ]
chart                [               off ] [               off ]
estimate             [               off ] [               off ]
max texture memory   [           4194304 ] [           4194304 ]
priority             [            Normal ] [            Normal ]

vismatrix algorithm  [          Original ] [          Original ]
oversampling (-extra)[                on ] [               off ]
bounces              [                 1 ] [                 1 ]
ambient light        [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light        [           256.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 ]
global gamma amount  [             0.500 ] [             0.500 ]
global sky diffusion [             1.000 ] [             1.000 ]

opaque entities      [                on ] [                on ]
sky lighting fix     [                on ] [                on ]
incremental          [               off ] [               off ]
dump                 [               off ] [               off ]


2852 faces
Create Patches : 22174 base patches
0 opaque faces
209396 square feet [30153028.00 square inches]
Error: No Lights!
Description: lighting of map halted (I assume you do not want a pitch black map!)
Howto Fix: Put some lights in the map.


-----   END   hlrad -----
Огромное спасибо за помощь,теперь всё работает)

Post automatically merged:

xDShot сказав(ла):
Вангую еще и vis забыл.

А может еще и дыра на карте.
Ваши способности вас подвели, вся проблема была в батнике (пара лишних деталей) и в свете.
 
Останнє редагування:

ElbeR

Wunderknabe
23.04.09
856
36
Вот и весь подвох:
Код:
Description: lighting of map halted (I assume you do not want a pitch black map!)
Howto Fix: Put some lights in the map.
 

Game Server

Доноры Красавчики

Користувачі онлайн