Hint Brushes

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

i guess ill have 2 read it all over again like the author said :wink:
Image
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post by crunch »

M&M wrote:y does it have 2 be triangular shaped?y is the smaller hint not needed?
Hint brushes are not like vis in that they do not create an actual "space."
Rather, they create portals which absolutely cannot see each other.
If 2 adjacent portals cannot see each other, then also any portals past tha original portal cannot be seen either.

With that in mind, concentrate on the angled side of the large hint brush.
That side is contacted by the structural corner of the wall (for reference, Wacko's pic, point B)
That contact creates 2 portals on that angled hint face. One at the midpoint of the angled side below the wall corner, and one also on the angled side above the wall corner.
Those 2 portals cannot see each other, therefore you have effectively cut off the portal chains.
The reason the rest of the hint must fill the area is to avoid extra view portals created along the straight parts of the hint brush. Since it abuts the wall, the hint makes no portals on the parallel edges, the wall portal is all that is drawn.
Any gap between those sides would render the hint ineffective since extra portals that can see each other would be created.

The smaller hint is not needed because the larger hint seals the 2 areas.
All that small hint does is create 2 more unneeded view portals.
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

Excellent responses, Crunch and Wacko. You've both helped me out a lot. Maybe one of you can transcribe this thread into a tutorial...
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

crunch wrote:Hint brushes are not like vis in that they do not create an actual "space."
Rather, they create portals which absolutely cannot see each other.
If 2 adjacent portals cannot see each other, then also any portals past tha original portal cannot be seen either.
So I am wrong telling that the rectangular hint brush in the sketch would work?
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post by crunch »

The rectangular hint brush won't work.
It does not create any portals that cannot see each other.
I took the liberty of editing your pic to show what I mean:

Image

The only portal the hint brush adds in this situation is face EB.
EB can see all it's neighboring portals, does not break the view-chain, and therefore won't work.

Here is that hallway ingame with the rectangle hint:

Image

and here, the same view, but with the triangle hint. (Notice the room at the end of the hall is not drawn.)

Image

And, here is what it looks like when I added that small hint triangle again:

Image

The reason that I put it there now becomes obvious. Yes. I have created a new portal in the hallway, but it can't see the inner corner of the hallway drawn in the middle image. So by adding 2 portals there, I have effectively reduced the portals drawn by 6 with that hint, and note the FPS gain.
Image
User avatar
ziptie2k2
Major
Posts: 326
Joined: Wed Jan 21, 2004 5:19 pm
Contact:

Post by ziptie2k2 »

OK how did you get your fps to show more than 98? mine just sets there at 98 until it goes down for some reason.
I once was lost, but now........... I'm still lost!
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

well,it appears that he has a super duper graphics card .i never saw fps like this b4.4 him he could make a map with no vis ,area portals and hint brushes and still be able 2 run it fast enough.(i need an emoticon 4 envy,where is it :wink: )
Image
User avatar
chris_in_cali
Sergeant
Posts: 65
Joined: Thu Jun 26, 2003 9:46 am

Post by chris_in_cali »

Wow! :o
Fantastic!
Nice a clear explanation AND you actually know what you're talking about. How'd you get so smart?
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

ziptie2k2 wrote:OK how did you get your fps to show more than 98? mine just sets there at 98 until it goes down for some reason.
M&M wrote:well,it appears that he has a super duper graphics card
there seems to be something else, because I have GF FX5900 and my FPS stay under 100 as well, in any map, with any settings... E.g. I did a simple box, just a light and an info_playerstart. All settings minimum and 640x480 and I get FPS 96,4 (with MTex 0.46). Where is the checkbox to swith off that limitation??
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Set com_maxfps to 1000 or something. It however has no other than analytical purpose (like crunch did) since your monitor probably can't draw a lot more than 120 fps (vertical refresh rate).

btw with 0.82 Mtex even my voodoo 3 card can crank out 80 fps :)
Image
User avatar
ziptie2k2
Major
Posts: 326
Joined: Wed Jan 21, 2004 5:19 pm
Contact:

Post by ziptie2k2 »

Thanks JV_Map, I knew it wasn't graphics card, as this machine has the radeon 9800 xt, which should keep up. 8-) (it better for the price)

And could you fill me in on the mtex deal, I'm lost :oops:
I once was lost, but now........... I'm still lost!
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

jv_map wrote:Set com_maxfps to 1000 or something. It however has no other than analytical purpose (like crunch did) since your monitor probably can't draw a lot more than 120 fps (vertical refresh rate).
cheers, jv.
this leads more or less directly to this topic: 60Hz refresh rate in MOHAA
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

i still need an emoticon 4 envy 4 all those high grafix cards :evil: :wink: .if a map didnt have "very nice" vis design and has bad fps would setting the com_maxfps 1000 make it better?
Image
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post by crunch »

To be honest, as jv_map said, it is really for analytical purposes.

It won;t increase the true FPS that you are getting. Rather, it is more a ratio.

Instead of a scale of 0-100, you will acheive a scale of 0-300.

It just makes it easier to see the FPS difference in small increments.

What you see as 260 in that screen is really about 80 FPS.
Image
User avatar
ziptie2k2
Major
Posts: 326
Joined: Wed Jan 21, 2004 5:19 pm
Contact:

Post by ziptie2k2 »

AAAAHHHHHHHH I see, here's another one for ya. Is there a way to set something so you can see the fps of a crappier machine, card etc? I am currently using a pretty stout machine, and when I go into maps I had on the old one, the fps never goes bellow 80, but I know it was about 40 on the old one. I want to see what it can be on a lower machine so I dont get carried away 8-)

BTW I have all settings that I know of set as high as they will go, will that do it in itself? cause it still shows at least a fps of 80.
I once was lost, but now........... I'm still lost!
Post Reply