Page 1 of 1

Caulk versus Nodraw

Posted: Mon Dec 12, 2005 1:19 am
by G3mInI
Now that the stock multiplayer maps are available, I see that the devs used nodraw quite a bit instead of caulk.

I am looking for the reason why and what the advantages of using nodraw are instead of caulk.

My thought so far is that nodraw is used on detail brushes because nodraw is not structural?

And use caulk on on all structural brushes?

What does this affect?

G3mInI

Posted: Mon Dec 12, 2005 5:41 am
by bdbodger
If you try to put caulk on the sides of a water brush you will make it solid caulk changes the properties of it nodraw doesn't . That is one example of the differences between them .

Posted: Mon Dec 12, 2005 12:26 pm
by G3mInI
So would it be safe to assume that nodraw is best for detail brushes and fence masks, while only use caulk for structure?

Is there any kind of a performance hit with nodraw vs. caulk?

I elaborate a bit more....

Does the engine draw both caulk and nodraw in the same way?

G3mInI

Draw

Posted: Mon Dec 12, 2005 8:09 pm
by tltrude
The engine does not draw "nodraw" or caulk.

Caulk is used as a preformance booster because the game does not have to draw those surfaces--ones that the players can not see anyway. If a players sees caulk, it will look like a "hall-of-mirrors". So, only use it where they can't see it. Caulk blocks vis.

Nodraw is used to hide brush surfaces that would otherwise be seen. Like the back and sides of a treeline or a balcony railing. A brush that has nodraw on it can only have one other texture. Using more than one will cause a "mixed fence mask" error.

Posted: Tue Dec 13, 2005 5:54 pm
by G3mInI
Ok good explanation and it is what I was thinking too.

I only wonder why the devs used nodraw on the stock maps like they did. They used it extensively on brushes that would never be seen, such as the backside of walls, under the ground, all over basically, and then also used caulk in other areas but similar conditions such as behind walls and under the map.

An example of what I am talking about... look at obj_team4 (bridge) map released by EA. Look at how much nodraw was used in places that, at least myself, would use caulk. Such as in the hotel area, nodraw is used in places where I would have used cualk.

That is why I initially asked this question.

Just a preference of the mapper maybe?

**Sidenote not relevant to topic... bdbodger... your sig must be hosted on a secure server, because everytime I view this thread or any thread you have posted in, I get a prompt for username and password, when I cancel, your sig shows as a red x. I moderate a forums myself and found that it was being caused by people who had their sigs at a site that was secure.

G3mInI