Quake3World.com
https://www.quake3world.com/forum/

Tutorial: Using the Clipper Tool (large images)
https://www.quake3world.com/forum/viewtopic.php?f=10&t=31628
Page 1 of 1

Author:  obsidian [ 06-12-2007 04:36 PM ]
Post subject:  Tutorial: Using the Clipper Tool (large images)

This tutorial covers how to use GtkRadiant's clipper tool for 2-point, 3-point and the little known patch-clipping methods. This tutorial was created using GtkRadiant 1.4.0 and while there are some small differences in 1.5.0 or other versions, they should all work relatively the same way.


2-Point Clipping:

Image


3-Point Clipping:

Image


Using a Patch as a Clipping Plane:

Image

Author:  Survivor [ 06-12-2007 11:33 PM ]
Post subject: 

Obsidian, tremulous has a mapping wiki going on here. Do you mind if I add this to it?

Author:  wattro [ 06-13-2007 01:11 AM ]
Post subject: 

i didn't know you could clip with a patch =)

awesome!

Author:  corsair [ 06-13-2007 03:46 AM ]
Post subject: 

heh, you can't clip a patch =)
obsidian just clipped the brush behind the patch, giving a face that's more or less the same as the patch's (which is only used as reference for his 3 clipping points, and it could be used as a solid to block vis / create portals, since patches dont do that)

Author:  pjw [ 06-13-2007 05:28 AM ]
Post subject: 

corsair wrote:
heh, you can't clip a patch =)


wattro didn't say you could. He said clip with a patch, which is what obsidian showed.

corsair wrote:
it could be used as a solid to block vis / create portals, since patches dont do that)


I think you mean "could not". :)

I was also unaware of this feature. Very cool.

Author:  Kaz [ 06-13-2007 05:37 AM ]
Post subject: 

omg you can clip with patches?!? Where have I been!!?

Author:  obsidian [ 06-13-2007 07:11 AM ]
Post subject: 

Survivor wrote:
Obsidian, tremulous has a mapping wiki going on here. Do you mind if I add this to it?


Be my guest. Good to have a wiki.


You can all thank ydnar for patch clipping. I guess he was bored one day and started poking around with the GtkRadiant source. He compiled a custom patch-clip exe and released it. It was eventually merged into the 1.4.0 branch.

Patch clipping does not work in 1.5.0.
Patch clipping takes three vertex corners of the patch and uses them to form the clipping plane.

Author:  dnky [ 06-13-2007 07:51 AM ]
Post subject: 

*cough* I didnt know you could clip with a patch either :)

Author:  Silicone_Milk [ 06-13-2007 09:54 AM ]
Post subject: 

Patch-Clipping : GTKRadiant 1.4.0's best kept secret.
Until now.

Author:  pjw [ 06-13-2007 10:13 AM ]
Post subject: 

obsidian wrote:
Patch clipping takes three vertex corners of the patch and uses them to form the clipping plane.


As sock pointed out to me this morning, that could easily be potentially ugly, if you're not very careful. There's nothing that says that those three corner verts will actually form a cutting plane that's on grid with the edges of the brush you're trying to cut.

In other words, it would be like using the clipper, but not worrying about whether the points were actually on the brush edges, and just tossing them out into space. Yay for verts off the grid.

After thinking it through a bit, I'm sure I'll just stick with the clipper--it's much easier to avoid ugliness by just putting your clipping points on the brush edges/faces than by trying to make sure that the intersecting patch is placed properly.

My $0.02. :)

Edit:

corsair wrote:
Though, it could bit unsafe to go ahead an do clipping with patches -- it might give some verts that are off the grid when being careless.


LOL. We posted at the same time. Get out of my head!! ;)

Author:  corsair [ 06-13-2007 10:13 AM ]
Post subject: 

I hate when I read things that aren't there, but damnit, thats neat obsidian!

pjw: I actualy didn't mean that, but you're right the way you read it... I meant that the resulting brush could serve as a visblocker for the patch that was used, guess I wrote a bad sentence there.
sry for that, I blame some odd nights =)

edit: Hey! lol.. I already edited it out for you.. u! :D

Author:  obsidian [ 06-13-2007 10:21 AM ]
Post subject: 

@pjw: The reason for patch-clipping is just so that you can visualize the clip points, which is not always the easiest thing to do, especially with 3 points. With either patch-clipping or normal point clipping, when used unwisely can always result in vertex points off grid.

I guess I didn't show that clearly in the pics above, I should have kept the patch corners flush with the brush, but that would have been hard to see in the screenshots, so I actually extended them outwards a bit so you can see the whole patch.

Anyway, it's an alternative method of clipping that might be useful in some tricky situations where it is difficult to place the clip points. Personally, I haven't found much use for it either, but good to know it's there.

Author:  Kat [ 06-13-2007 12:06 PM ]
Post subject: 

pjw wrote:
...suff...
You wouldn't want to be using it for archtectural stuff unless you took the time to align the verts properly - mind you, you could always collapse the patch into a single 'tris' to get a proper *3 point* clipping plain; if a patch has 4 points which *3* does the feature choose from?.

For making organic stuff it'd be a great way to visualise the 'sculpt' of a cut where vert alignment isn't that much of an issue.

Author:  pjw [ 06-13-2007 01:04 PM ]
Post subject: 

Kat wrote:
if a patch has 4 points which *3* does the feature choose from?
Doesn't matter. Any three points on a (flat) plane always define the same plane. :)

Just for fun, I played around for a couple of minutes clipping with a curved patch. It was tough to predict, at times, at what angle the clipping plane was going to appear...

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/