10-03-2008, 12:11 PM | #1 |
Interzone technican
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
framerate-probs
Hi there,
while running around in my still unfinished map i noticed that the frame-rate fluctuates extremely. Please have a look at the 2 screenshots, they are from the same pov, but looking into slightly different directions. Notice that the fps drops to 1/4 between the 2. I sealed the window so that this shouldnt have any effect but it made no difference. It seems theres a lot of stuff rendered that cannot be seen. I dont know what to do ... |
|
10-03-2008, 01:40 PM | #2 |
FF Loremaster
Beta Tester
Join Date: Sep 2007
Posts Rated Helpful 4 Times
|
Do you have any displacements? What could be happening is in the top picture you have displacements that have blocks behind them stopping you from rendering stuff behind them (a good thing) and in the other picture you have no such block and it causes a large portion of your map to be rendered from that view point.
Try looking with mat_wireframe 1 and see what you can see being rendered. It could also be prop_details I do believe. Actually yes, that seems to be the issue. On the chart, look at the World Rendering bar. The comparison shots show that the second screen is rendering more. The other bars show this as well, but none as dominantly as that bar.
__________________
"The nine most terrifying words in the English language are: 'I'm from the government and I'm here to help.'" Ronald Reagan |
|
10-03-2008, 02:56 PM | #3 |
Interzone technican
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
thanks for your time, Credge.
I removed the displacement-maps and moved all func_details back to world. But it didnt help |
|
10-03-2008, 03:29 PM | #4 |
Interzone technican
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
ok, in a desperate act i removed all the prop_statics, prop_physics and the only waterbrush that was there ... now its fine fps-wise ...
|
|
10-03-2008, 05:20 PM | #5 |
FF Loremaster
Beta Tester
Join Date: Sep 2007
Posts Rated Helpful 4 Times
|
One thing you could do is make a wall inside of your displacement. This way, you still get the great look of the displacement and the wall that's inside of it stops anything from being rendered.
I had this problem with my first map. I made all of the walls displacements (real curvy) and the entire map was being rendered, resulting in some fairly bad FPS. After putting walls in the displacements it worked fine.
__________________
"The nine most terrifying words in the English language are: 'I'm from the government and I'm here to help.'" Ronald Reagan |
|
10-03-2008, 06:08 PM | #6 |
no war but class war
Fortress Forever Staff
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout Gametype: ctf Affiliations: [w~k!] Posts Rated Helpful 3 Times
|
Whatever it is you're doing, it looks pretty good
|
|
10-04-2008, 06:18 AM | #7 |
Retired FF Staff
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
mat_wireframe 3 in console
Will help you figure out why you get the lag. |
|
10-04-2008, 09:08 AM | #8 |
Interzone technican
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
hmm, it looks like a lot of stuff gets rendered that shouldnt be rendered because it cannot be seen. Almost the whole inside of the building gets rendered when im outside and looking at it. Dunno why ...
|
|
10-05-2008, 03:37 AM | #9 |
Retired FF Staff
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
What you did wrong exactly, I can't tell from the screenshots in this thread but if I had to guess, I'd look for func_details in bad spots or displacements with no brushes behind... Remember that func_details and displacements don't block vis.
Check out tutorials on optimization and you'll be able to understand what you did wrong that makes it render the inside of the base. You could start here: http://www.student.ru.nl/rvanhoorn/o...d21edda385c5ce |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|