Hint Brushes
Moderator: Moderators
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
Hint Brushes
Okay, I was reading thorugh the Manual VIS tutorial that shipped with the Spearhead SDK when I came across the following-
"Other tools exist, like hint brushes, that are better suited for optimizing framerate in indoor scenes."
So, how exactly are hint brushes used? Do they function like areaportals or are they a simplified version of VIS? I'm just curious to know the answer.
"Other tools exist, like hint brushes, that are better suited for optimizing framerate in indoor scenes."
So, how exactly are hint brushes used? Do they function like areaportals or are they a simplified version of VIS? I'm just curious to know the answer.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

Actually, hint brushes perform a little bit like both.
In an indoor area, a hall with a 90 degree bend, for example, they function like an area portal in that when properly placed, they prevent the area beyond the hint from being drawn.
At the same time, they function like a vis_leafgroup because they will end portal chains in that same area.
Basically, they are used in situations when viewblocking in structural passages/rooms is needed, and yet no doors exist for the use of area portals.
But that is not the limit of their use.
Depending on skybox design in outdoor maps, they can be used to keep areas of the map from being drawn while in other areas.
There are a few tutorials out there about it, but I don't remember links off the top of my head.
In an indoor area, a hall with a 90 degree bend, for example, they function like an area portal in that when properly placed, they prevent the area beyond the hint from being drawn.
At the same time, they function like a vis_leafgroup because they will end portal chains in that same area.
Basically, they are used in situations when viewblocking in structural passages/rooms is needed, and yet no doors exist for the use of area portals.
But that is not the limit of their use.
Depending on skybox design in outdoor maps, they can be used to keep areas of the map from being drawn while in other areas.
There are a few tutorials out there about it, but I don't remember links off the top of my head.
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
Another question-
How would I use hint brushes? Is it as simple as placing them inside interior areas and leaving them be, or is there more to it than that?
\
How would I use hint brushes? Is it as simple as placing them inside interior areas and leaving them be, or is there more to it than that?
\
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

Basically, they would be inserted around corners, filling the space among structural brushes.
Like area portals, they will not work if the surrounding brushes are not structural.
Something like this:

Note: the smaller hint brush is not necessary. Also note that the ceiling is removed for view, and all brushes are structural.
No doors are necessary at either end of this passage for the hint to work.
Similarly, hint brushes can be used in large divided rooms much in the same way.
Like area portals, they will not work if the surrounding brushes are not structural.
Something like this:
Note: the smaller hint brush is not necessary. Also note that the ceiling is removed for view, and all brushes are structural.
No doors are necessary at either end of this passage for the hint to work.
Similarly, hint brushes can be used in large divided rooms much in the same way.
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
Sweet, thanks for the response!
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
Because it increases the fps by not drawing what the player can't see.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
im confused
.i wanna learn more about hint brushes.i know what the can do and y they should be used.im more confused about the placement of them.y does it have 2 be triangular shaped?y is the smaller hint not needed?is there a tut about these?cause i havent seen any about hint brushes,just area portals and vis.
VIS doesn't decided whether the player can see something, because in the VIS compile stage, there's no playeromniscient wrote:ti deosnt draw what the player cant see. thats what vis is isnt it????
Right?
yeah, why??M&M wrote:y does it have 2 be triangular shaped?
because, if the whole hallway1 was just one leaf, there would nevertheless be no point in it from where hallway2 (space at the right of the big triangle) could be seen.M&M wrote:y is the smaller hint not needed?
there was once something in the Monty Python's Flying Circus: "How not to be seen - Part One: The larch"... errrm, maybe this was something completely differentM&M wrote:is there a tut about these?
once again, about the triangular shape...
i think, you could also do rectangular hint brushes. which is wrong (see below)
If A, B and C lie on one straight line, leaf 1 and 2 won't see each other. But to know where C would have to be, you'll have to draw a triangle A-C-D and then, why should u replace it afterwards? Also, in the triangular space to the left of leaf 2 but still below line B-C, hallway 1 will be seen (because u entered a leaf where 1 can be seen) and this will be avoided by Crunch's triangle A-C-D...errrm, most of this is wrong,
so u'd better read crunch's explanation
i think, you could also do rectangular hint brushes. which is wrong (see below)

If A, B and C lie on one straight line, leaf 1 and 2 won't see each other. But to know where C would have to be, you'll have to draw a triangle A-C-D and then, why should u replace it afterwards? Also, in the triangular space to the left of leaf 2 but still below line B-C, hallway 1 will be seen (because u entered a leaf where 1 can be seen) and this will be avoided by Crunch's triangle A-C-D...errrm, most of this is wrong,
Last edited by wacko on Sun Feb 22, 2004 1:17 pm, edited 1 time in total.
ROFLthere was once something in the Monty Python's Flying Circus: "How not to be seen - Part One: The larch"... errrm, maybe this was something completely different
take a look at it here
as soon as u understood that tut, hint brushes ought to be easy, u - as far as I understood things - just add additional leafs manually with them...M&M wrote:yeah ,i know that one.but that doesnt explain hint brushes at all,it just says they are another means 2 an end ,instead of the one explained (which is detail)


