New vis_leafgroup tutorial!
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
New vis_leafgroup tutorial!
Hi! I made a tutorial based on how I optimized FPS in the worst spot on Vemork factory
Here it is:
http://www.planetmedalofhonor.com/rjuka ... orial.html
Contains a very complex example map file that shows the vis optimizing.
I just threw the tutorial together in a really short time, so point out its flaws and I'll fix it at once... got to go now... in a hurry...
Here it is:
http://www.planetmedalofhonor.com/rjuka ... orial.html
Contains a very complex example map file that shows the vis optimizing.
I just threw the tutorial together in a really short time, so point out its flaws and I'll fix it at once... got to go now... in a hurry...
of course Rox, there's no such word as "spelt" either.
Thx Bjarne, I've spent close to two weeks now trying to optimize the FPS in my map with some success, but not to my standards. And, just like with your map, my main problems are inside and not outside. I have one FPS problem outside that gets down to the high teens and mtex of 45+, but it's only at the spawn area so I'm not to worried about it, though I'm still working on it. Inside problem is in a room with a lot of detailed brushes and patches, so I've been trying a number of different things.
Let me ask this question. Should we not intersect leafgroups or make multiple leafgroups with the same targetname?? Did you do that in your map?
Thx Bjarne, I've spent close to two weeks now trying to optimize the FPS in my map with some success, but not to my standards. And, just like with your map, my main problems are inside and not outside. I have one FPS problem outside that gets down to the high teens and mtex of 45+, but it's only at the spawn area so I'm not to worried about it, though I'm still working on it. Inside problem is in a room with a lot of detailed brushes and patches, so I've been trying a number of different things.
Let me ask this question. Should we not intersect leafgroups or make multiple leafgroups with the same targetname?? Did you do that in your map?
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Good that you mentioned the targetnames, I must add a note on that in my tutorial:
I found that you should always name the targetnames yourself. As an exampe "distiller_hall_southwest" is a better name than the name given by Radiant when using the CTRL+k method to target brushes ( then they get crappy names like "mv1" & "mv5" ).
I see no problem in using intersecting vis_leafgroups.
As for using multiple vis_leafgroups with the same targetname, I dont think you CAN set the same name on multiple vis_leafgroups... so dont do that...
I found that you should always name the targetnames yourself. As an exampe "distiller_hall_southwest" is a better name than the name given by Radiant when using the CTRL+k method to target brushes ( then they get crappy names like "mv1" & "mv5" ).
I see no problem in using intersecting vis_leafgroups.
As for using multiple vis_leafgroups with the same targetname, I dont think you CAN set the same name on multiple vis_leafgroups... so dont do that...
-
tuffstuff7
- Captain
- Posts: 265
- Joined: Mon Jan 06, 2003 12:59 am
- Contact:
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
I re-made the tutotial again to make it easier to understand, and I added some nice pictures for those of you that cant read
http://www.planetmedalofhonor.com/rjuka ... orial.html
http://www.planetmedalofhonor.com/rjuka ... orial.html
You may be right Bjarne, what I did was make two brushes with the VIS tex, selected both of them, went to the entity window and entered a targetname of like "vis1". Then I made the opposing leafgroup and gave it a tagetname of "vis2". I then targeted it to vis1 and it drew a line to both leafgroups, but their targetnames were then different such as you stated above, like "mv1" and "mv2". I was wondering how that happened. Thx.
yep you can put all the leafs you want, name them each with own targetname ... (i have it as b1, b2 bla bla but some i use names)Bjarne BZR wrote: I found that you should always name the targetnames yourself. As an exampe "distiller_hall_southwest" is a better name than the name given by Radiant when using the CTRL+k method to target brushes ( then they get crappy names like "mv1" & "mv5" )
then if you try to use CTRL+K radiant will keep your names in the targeting so ... b1 will target b2, b3 bla bla ...
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Thanx Hunter for pointing that out! I explain How to do it but not Why in my tutorial
Added a section explaining why to the "Basics" section of the tutorial:
Added a section explaining why to the "Basics" section of the tutorial:
ThanxVis tutorial wrote:So why would you waste your precious time with this? Well: sometimes the map compiler will have a rather different opinion on what can be seen from a specific place in the map than you... If you take a look at the pictures in step 5 in the How to do it section, you will see that a lot more than you think is drawn by the game engine. This does not have to be a problem if it does not drop the FPS a lot, but if it does: you will want to learn about the magic of vis_leafgroup.

