Sidebar

На карте падает fps.

tylik

Member
18.12.08
87
31
На карте падает fps.

Я делаю карту, для моего уровня пока нормально, ну да ладно. Почему у меня в некоторых местах карты fps со 100 падает до 40. Вот сама карта. Попутно создания карты я буду еще задавать вопросы и бумаю услышу хорошие ответы
 

Cep}I{

>: 4 8 15 16 23 42 ▌
23.11.08
1 006
35
  • Золотая медаль 221
  • Золотая медаль 333
Наверное потому, что р_спид зашкаливает. Набери в консоле:
r_speed 1
developer 1

И посмотри на значения wpoly в тех местах, где fps падает: должно быть где-то не более 1000-1200. А вообще, чем меньше тем лучше.
 

tylik

Member
18.12.08
87
31
У меня wpoly достигает до 1450. Как это исправить? Cep}I{, можешь скачать карту и посмотреть. Просто может я большую ошибку сделал. Но я вот не делал слишком много деталей, значит полигонов не много должно быть, но все равно. Тем более на КазНет ФО закинул :)
 

Cep}I{

>: 4 8 15 16 23 42 ▌
23.11.08
1 006
35
  • Золотая медаль 221
  • Золотая медаль 333
Первое - ты скомпилировал карту без рада. Поэтому на ней светло и нет теней.
Второе - http://cs-mapper.by.ru/tutorials/t6rspeeds.shtml - читай внимательно. Написано как оптимизировать карту.
Третье - надеюсь в таком виде карта не останется? :)
 

tylik

Member
18.12.08
87
31
Еще вопрос: Я сделал солнце, читая статью о ее создании. Но когда компилировал у меня освешение просчитывается всегда до 200 из 3150. И когда включаю карту, она по прежнему без теней и очень светлая. Почему? Солнце сделал внутри коробки с небом, pitch - "-45", angle - "45", brightness - "255 255 128 145" Больше ничего не делал. Солнце не находится внутри чего-то
 

Sadi

Шестиструнный Самурай
17.06.05
3 105
40
22
0
  • Спец медаль MC
  • Золотая медаль 221
  • Бронзовая медаль 211
2 tylik:
Скриншот карты из редактора и параметры компиляторов в студию
 

tylik

Member
18.12.08
87
31
Вот
full.bat сказав(ла):
@echo off
set WADROOT=c:\games\half-life
set mapname=tanker.map

hlcsg.exe -estimate "%mapname%"
hlbsp.exe -estimate "%mapname%"
hlvis.exe -estimate -full "%mapname%"
hlrad.exe -estimate -chart -extra -dscale 1 -bounce 4 -smooth 100 "%mapname%"
 

Вкладення

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

Sadi

Шестиструнный Самурай
17.06.05
3 105
40
22
0
  • Спец медаль MC
  • Золотая медаль 221
  • Бронзовая медаль 211
Лог компиляции кинь
И какими компиляторами пользуешься?
 

tylik

Member
18.12.08
87
31
Код:
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 -estimate tanker.map 

-= Current hlcsg Settings =-
Name                 |  Setting  |  Default
---------------------|-----------|-------------------------
threads               [       2 ] [  Varies ]
verbose               [     off ] [     off ]
log                   [      on ] [      on ]
developer             [       0 ] [       0 ]
chart                 [     off ] [     off ]
estimate              [      on ] [     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 tanker.map
CreateBrush:
 (1.69 seconds)
SetModelCenters:
 (0.01 seconds)
CSGBrush:
 (1.54 seconds)
Using WAD File: \mapping\counter strike mapping\valve\decals.wad
Using WAD File: \mapping\counter strike mapping\valve\halflife.wad
Using WAD File: \mapping\counter strike mapping\valve\liquids.wad
Using WAD File: \mapping\counter strike mapping\cstrike\cstrike.wad
added 4 additional animating textures.
Texture usage is at 0.60 mb (of 4.00 mb MAX)
3.74 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 -estimate tanker.map 

-= Current hlbsp Settings =-
Name               |  Setting  |  Default
-------------------|-----------|-------------------------
threads             [       2 ] [  Varies ]
verbose             [     off ] [     off ]
log                 [      on ] [      on ]
developer           [       0 ] [       0 ]
chart               [     off ] [     off ]
estimate            [      on ] [     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 'tanker.prt'
2.58 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 -estimate -full tanker.map 

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

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


 931 portalleafs
2976 numportals
BasePortalVis:
 (3.41 seconds)
LeafThread:
 (87.12 seconds)
average leafs visible: 109
g_visdatasize:37031  compressed from 108927
90.63 seconds elapsed [1m 30s]

-----   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.exe -estimate -chart -extra -dscale 1 -bounce 4 -smooth 100 tanker.map 

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

vismatrix algorithm  [          Original ] [          Original ]
oversampling (-extra)[                on ] [               off ]
bounces              [                 4 ] [                 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  [           100.000 ] [            50.000 ]
direct threshold     [            25.000 ] [            25.000 ]
direct light scale   [             1.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 ]


3160 faces
Create Patches : 15679 base patches
0 opaque faces
165565 square feet [23841418.00 square inches]
1 direct lights

BuildFacelights:
Malformed face (201) normal @ 
(272.00, 2160.00, -464.00)
(256.00, 2160.00, -464.00)
(256.00, 2160.00, -368.00)
(272.00, 2160.00, -368.00)
Error: Malformed face normal
Description: The texture alignment of a visible face is unusable
Howto Fix: If using Worldcraft, do a check for problems and fix any occurences of 'Texture axis perpindicular to face'


-----   END   hlrad -----
 

Sadi

Шестиструнный Самурай
17.06.05
3 105
40
22
0
  • Спец медаль MC
  • Золотая медаль 221
  • Бронзовая медаль 211
Вот ошибка
Error: Malformed face normal
Description: The texture alignment of a visible face is unusable
Howto Fix: If using Worldcraft, do a check for problems and fix any occurences of 'Texture axis perpindicular to face'
Примененный тип выравнивания текстуры на видимой поверхности объекта не возможен. Проверьте карту на ошибки, нажатием [Alt-P]. Исправьте все ошибки «Texture axis perpindicular to face»
 
Останнє редагування:

tylik

Member
18.12.08
87
31
Не разговаривайте со мной на вы, мне как-то не по себе, даже если из этикета. Всего-то 16 лет ) Сейчас попробую, хотя ошибок не замечал
Все нашел, но скажите как этого избегать чтобы ошибок больше не было?
 
Останнє редагування:

Dr.Katz

New member
03.02.10
740
0
0
Просто почаще проверяй на ошибки через alt+p пока не освоишься в маппинге более менее, и вертексами сильно не балуй :)
 

Game Server

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

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