Caulk versus Nodraw

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

Moderator: Moderators

Post Reply
User avatar
G3mInI
First Lieutenant
Posts: 187
Joined: Sat Jun 29, 2002 3:49 am

Caulk versus Nodraw

Post 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
*Area51*G3mInI****Gen

http://www.area51moh.com
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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 .
Image
User avatar
G3mInI
First Lieutenant
Posts: 187
Joined: Sat Jun 29, 2002 3:49 am

Post 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
*Area51*G3mInI****Gen

http://www.area51moh.com
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Draw

Post 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.
Tom Trude,

Image
User avatar
G3mInI
First Lieutenant
Posts: 187
Joined: Sat Jun 29, 2002 3:49 am

Post 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
*Area51*G3mInI****Gen

http://www.area51moh.com
Post Reply