I'm Reviving These Forums

Avatar
HalfPortalLife3
20 Posts
Posted Oct 04, 2012
Because someone said to do so. These forums don't seem dead, and a post by me isn't going to do anything. Regardless, I am posting.

P.S. I can map now, trust me. I know how to use every tool (except Carve) and every entity (including brush entities like func_rotatings).

Keep on doing whatever it is you do, I'll get back to making personal maps for HL2 and playing Black Mesa.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Oct 04, 2012
Replied 9 minutes later
By far the best way to use the carve tool: Don't :biggrin:
Avatar
portal2tenacious
393 Posts
Posted Oct 04, 2012
Replied 4 minutes later
What exactly is the carve tool? I guess its probably good I don't know about it, but what's so terrible?
Avatar
HalfPortalLife3
20 Posts
Posted Oct 04, 2012
Replied 5 minutes later
Its an inefficient version of the clipping tool, but thats only true for shapes like octagons. Nacimota has a guide on the Carve tool, theres a link about it on the bottom of the Carve Tool's page on the VDC. He says its good for making rectangular holes, which are pretty much the only holes in Portal 2 mapping.
Avatar
msleeper
4,136 Posts
Admin
Posted Oct 04, 2012
Replied 3 minutes later

HalfPortalLife3 wrote:
Namicomata
She

Avatar
Lpfreaky90
2,842 Posts
Posted Oct 04, 2012
Replied 3 minutes later

portal2tenacious wrote:
What exactly is the carve tool? I guess its probably good I don't know about it, but what's so terrible?

In theory carve tool is amazing; you let two brushes intersect and the carve tool carves a hole in the surface.

In 99.95% of the cases however it goes wrong. The algorithm often makes bad decisions, with can give:
* Problems when re-scaling your brush.
* Microbrushes
* Wrecked up visleaves.

The clip tool can do precisely the same, but it requires a few more actions. it does give you a lot
more control though. If you can handle the clip tool, you should totally use that rather then the carve tool. If you can't handle the clip tool, stop now and learn to use it. Don't come back before you know how to use it.

Avatar
UsCobra11
272 Posts
Posted Oct 04, 2012
Replied 11 minutes later

npc_msleeper_boss wrote:
HalfPortalLife3 wrote:

Namicomata
She

What's the big deal mslipper?

Avatar
wrathofmobius
216 Posts
Posted Oct 04, 2012
Replied 5 minutes later

Lpfreaky90 wrote:
portal2tenacious wrote:

What exactly is the carve tool? I guess its probably good I don't know about it, but what's so terrible?

In theory carve tool is amazing; you let two brushes intersect and the carve tool carves a hole in the surface.

In 99.95% of the cases however it goes wrong. The algorithm often makes bad decisions, with can give:
* Problems when re-scaling your brush.
* Microbrushes
* Wrecked up visleaves.

The clip tool can do precisely the same, but it requires a few more actions. it does give you a lot
more control though. If you can handle the clip tool, you should totally use that rather then the carve tool. If you can't handle the clip tool, stop now and learn to use it. Don't come back before you know how to use it.

This is the example I usually give, taking carving to the extreme: http://i.imgur.com/yqGm5.png
That is four spheres carved into each other. The blue lines in the 3D view are the edges of visleaves.
Nacimota used to have a fantastic article about it on his website but it's currently down. :sad:

UsCobra11 wrote:
What's the big deal mslipper?

I see what you did there UsCubra11.

Avatar
narsqrd
35 Posts
Posted Oct 04, 2012
Replied 12 minutes later

HalfPortalLife3 wrote:
I can map now, trust me. I know how to use every tool

I know how to use a hammer and a screwdriver, but that doesn't mean I can build a good house hehe

Avatar
Lpfreaky90
2,842 Posts
Posted Oct 04, 2012
Replied 5 minutes later

wrathofmobius wrote:
This is the example I usually give, taking carving to the extreme: http://i.imgur.com/yqGm5.png

you should totally check out this amazing video on youtube:
http://www.youtube.com/watch?v=xh9Kr2iO4XI
If you manage to actually compile a map with terrain that is made with this method we will probably ban you :thumbup:

terrain -> displacements.
Cutting stuff from other stuff -> clip tool.

Avatar
FelixGriffin
2,680 Posts
Posted Oct 04, 2012
Replied 20 minutes later
Also, NEVER clip or carve something with indicator lights on it. "Accessed Deleted Entity. Tell a programmer!" Nothing big happens...except that every lidlight on that section has the Brush Face field cleared out. :razz:
Avatar
UsCobra11
272 Posts
Posted Oct 04, 2012
Replied 38 minutes later

Lpfreaky90 wrote:
Possibly the worst SDK video of all time

:cry:

Avatar
Lpfreaky90
2,842 Posts
Posted Oct 05, 2012
Replied 3 hours later

FelixGriffin wrote:
Also, NEVER clip or carve something with indicator lights on it. "Accessed Deleted Entity. Tell a programmer!" Nothing big happens...except that every lidlight on that section has the Brush Face field cleared out. :razz:

Just, never, carve.

As for the clip part, it's perfectly fine to cut something with indicator lights on it! The thing is that your brushes won't have the same brush id's anymore. Basically, if you'd have a box say 128x128x128 inside you have 6x6 faces. Since you need 6 brushes to conceal the block, and each brush has 6 sides as well.
We created those brushes first so basically face 1-36 are taken.

Now we apply an overlay (like indicator lights) to face 4. (this means brush 1) if we cut this in half we suddenly have 2 brushes, rather then 1. So 12 brushes rather then 6. This means that all sides get a new number, since there are two new brushes. To prevent errors, hammer continues after 36, so our two new brushes will get the face id's to 48. (Note that 1-6 are empty now)

Because we applied the overlay to face 4 and it's gone now, the overlay does not show up again. The easiest way to fix this is to select the overlay, open the overlay's properties and go to "Brush faces..." and then use the "pick" button to select the brush face where the overlay is on and it shows up perfectly again!

Avatar
josepezdj
2,386 Posts
Posted Oct 05, 2012
Replied 3 hours later

Lpfreaky90 wrote:
The only way to fix this is to select the overlay again, and apply it to one of the new faces, and it shows up perfectly again!

Nope... there is still another way if the overlay is already placed on a brush surface that has been clipped: open the overlay's properties and go to "Brush faces..." and then use the "pick" button to select the brush face where the overlay is on.

Avatar
Lpfreaky90
2,842 Posts
Posted Oct 05, 2012
Replied 2 hours later

josepezdj wrote:
Lpfreaky90 wrote:

The only way to fix this is to select the overlay again, and apply it to one of the new faces, and it shows up perfectly again!

Nope... there is still another way if the overlay is already placed on a brush surface that has been clipped: open the overlay's properties and go to "Brush faces..." and then use the "pick" button to select the brush face where the overlay is on.

sorry, I re-phrased this the wrong way. Your method is absolutely the easiest way to fix this.

Avatar
ChickenMobile
2,460 Posts
Posted Oct 06, 2012
Replied 15 hours later

narsqrd wrote:
HalfPortalLife3 wrote:

I can map now, trust me. I know how to use every tool

I know how to use a hammer and a screwdriver, but that doesn't mean I can build a good house hehe

Aren't you forgetting a saw and dirt moving tools? Housebuilder pfft

Avatar
BenVlodgi
633 Posts
Posted Oct 06, 2012
Replied 1 hour later

wrathofmobius wrote:
This is the example I usually give, taking carving to the extreme: http://i.imgur.com/yqGm5.png
That is four spheres carved into each other. The blue lines in the 3D view are the edges of visleaves.
I see what you did there UsCubra11.

those kinds of visleafs would probably happen with 3 spheres anyways.... func_detail everything.... and aslong as you only are making 1 clip into a brush, its really no big deal

but it is still a bad too, and shouldn't be used often

Avatar
FelixGriffin
2,680 Posts
Posted Oct 06, 2012
Replied 7 hours later
I've been using the carve tool to make sqaure holes in the walls to put my door and boxdropper instances into. I thought that wasn't too bad for visleaves and such? I could use the clip tool as well, but it takes longer and gives the same result.
Avatar
josepezdj
2,386 Posts
Posted Oct 06, 2012
Replied 41 minutes later

FelixGriffin wrote:
I've been using the carve tool to make sqaure holes in the walls to put my door and boxdropper instances into. I thought that wasn't too bad for visleaves and such? I could use the clip tool as well, but it takes longer and gives the same result.

What I think is that it does NOT give the same result. If you obtained the same result must be only by coincidence. As said above the carve tool algorithm makes many unecessary brush pieces... Please check the attached door frame I made by clipping and using the vertex tool. Whenever the carve tool could be remotely useful, the vertex tool, altogether with the clipping tool, will get over it by far :wink:

Attachments
josepezdj_door_frame_prefab.vmf
0.08 MB 26 downloads
Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Oct 06, 2012
Replied 20 minutes later
Sorry, I mean just to make a square hole. I have an instance using the clipped-up door frame from the zoo_mechanics file, I just needed someplace to put it.

Carve gave me two pieces on the sides, one on the top, and one on the bottom.