Re: Confused about hint brushes
Posted by $loth on
Sat Jan 15th 2005 at 9:31pm
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
The thing I am confused about is which side do you apply the hint
'texture' and which side do you apply the skip to. I have looked at the
sdk example but it's not that much help.
Help appreciated.
Re: Confused about hint brushes
Posted by ReNo on
Sat Jan 15th 2005 at 9:49pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
The plane on which a face with the "hint" texture lles on will become a
split for leafs. You can apply it to as many of few faces of a brush as
you like - each face you put it on will cause a leaf split.
Re: Confused about hint brushes
Posted by Leperous on
Sat Jan 15th 2005 at 9:55pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
... which in English means 'skip' sides are ignored, but if it's against a wall or not visible then you can use hint, it doesn't really matter.
Re: Confused about hint brushes
Posted by omegaslayer on
Sat Jan 15th 2005 at 10:22pm
Posted
2005-01-15 10:22pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
google----> hint brush tutorial :biggrin: There is one at a counterstrike web site that explained it very well.
Re: Confused about hint brushes
Posted by $loth on
Sun Jan 16th 2005 at 7:48am
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
Cheers for the help, I did do some googling and ended up at VERC, but it didn't explain it in plain english :sad:
Re: Confused about hint brushes
Posted by Myrk- on
Sun Jan 16th 2005 at 12:27pm
Posted
2005-01-16 12:27pm
Myrk-
member
2299 posts
604 snarkmarks
Registered:
Feb 12th 2002
Occupation: CAD & Graphics Technician
Location: Plymouth, UK
The people at Verc resemble the battling seizure robots... of course they don't speak english!
Re: Confused about hint brushes
Posted by Guessmyname on
Sun Jan 16th 2005 at 1:10pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
The people at VERC have a slight grasp of gobbledegook and nothing else
Re: Confused about hint brushes
Posted by Paladin[NL] on
Sun Jan 16th 2005 at 2:30pm
157 posts
56 snarkmarks
Registered:
May 4th 2004
Occupation: Student/mapper
Location: Netherlands
Well, though VERC has a vast knowledge of 'almost' every aspect of how HL1 and Source works, the completly lack the capacity to share it with other less wise people in plain english...
Re: Confused about hint brushes
Posted by omegaslayer on
Thu Feb 24th 2005 at 10:59pm
Posted
2005-02-24 10:59pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
Have you used func_occluders (ignore the spelling)? But it blocks
models behind it. Just look at the sample sdk map to explain how to use
them.
Re: Confused about hint brushes
Posted by Finger on
Fri Feb 25th 2005 at 2:23am
Finger
member
672 posts
1460 snarkmarks
Registered:
Oct 13th 2001
Hint brushes don't actually occlude anything - they only cut visblocks. There is a good example map with the sdk that shows how a hintbrush is used, to block objects on the other side of a short wall (doesn't extend to the ceiling).
When the engine calculates visibility, it does so from within the visblock that you are standing. This visblock can be very large, and allow much more visibility than just your perspective. To see these visblocks ingame, type mat_leafvis 1 in the console.
Static, my bet is that your visblocks extend above the wall that is supposed to be blocking other parts of the level. This sample map (not at my pc, don't have the exact link..but it's in the sdk_content folder) on hintbrushes shows the exact way to fix this problem.
Re: Confused about hint brushes
Posted by Static88 on
Fri Feb 25th 2005 at 5:27pm
122 posts
52 snarkmarks
Registered:
Dec 31st 2004
Occupation: USMC
Location: USA
Thanks for the .doc. Reading it right now. Very helpful and easy to understand.
Re: Confused about hint brushes
Posted by ReNo on
Fri Feb 25th 2005 at 6:11pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Excellent tutorial, good job on that :smile:
Re: Confused about hint brushes
Posted by SaintGreg on
Sat Feb 26th 2005 at 4:57am
212 posts
51 snarkmarks
Registered:
Dec 3rd 2004
If anyone has played the new cs map cs_compound you can see how valve uses a large hint brush the exact same way as in the sdk hintbrush map. See it was useful after all!
Re: Confused about hint brushes
Posted by $loth on
Sat Feb 26th 2005 at 8:00am
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
That map looks like something out of HL2, not in a bad way though.
Re: Confused about hint brushes
Posted by Liberal.Nyulism on
Sat Feb 26th 2005 at 9:55am
67 posts
227 snarkmarks
Registered:
Jan 7th 2005
Occupation: exec
Location: USA
Just want to add a bit of information to the thread:
If you build your map, and type " mat_visleaf 1" in the console, you can wander around your map, looking at each visblock, and decide which "tall" ones can be split, then go back into hammer and add a hint brush where you want to split it.
Thoughts:
You can spend a LOT of time on this problem and not impact the speed of your map. In fact, you can quite easily make it far worse. I have overloaded vis a couple of times,getting dozens of cluster-saw-into-cluster errors.
Lowering the ceilings and working with skybox textures seems to give a better result.
You can get better performance increases by following everyone's advice to make everything possible into a func_detail. That seemed to have the greatest impact on my vis performance.
Don't ignore your skybox either. I have a detailed skybox and when I put a dome in it, and didn't turn it into an entity, it gave me two dozen errors.
It's easy to look at visblock widths, but if you trim heights with hints, you often get better performance, since it's the problem of visibility going OVER architecture that's usually the problem.
Vis splits on the 1024 unit boundary (the big grid lines in hammer), and positioning your geometry so that it takes advantage of those splits is helpful.
I would like a tool that works like the nav mesh editor for pruning the vis tree. That would be useful.
Hope something above helps.