Quake3World.com Forums
     Level Editing & Modeling
        Tutorial: Using the Clipper Tool (large images)


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Tutorial: Using the Clipper Tool (large images)

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 06-12-2007 04:36 PM           Profile Send private message  E-mail  Edit post Reply with quote


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




Top
                 

XXXG-00W0
XXXG-00W0
Joined: 27 Dec 2002
Posts: 2891
PostPosted: 06-12-2007 11:33 PM           Profile Send private message  E-mail  Edit post Reply with quote


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




Top
                 

Insane Quaker
Insane Quaker
Joined: 19 Feb 2006
Posts: 375
PostPosted: 06-13-2007 01:11 AM           Profile Send private message  E-mail  Edit post Reply with quote


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

awesome!




Top
                 

diabolical besier hugger in disguise
diabolical besier hugger in disguise
Joined: 17 May 2001
Posts: 4825
PostPosted: 06-13-2007 03:46 AM           Profile Send private message  E-mail  Edit post Reply with quote


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)




Top
                 

True Nightmare
True Nightmare
Joined: 06 May 2000
Posts: 4373
PostPosted: 06-13-2007 05:28 AM           Profile Send private message  E-mail  Edit post Reply with quote


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.




Top
                 

Señor Shambler
Señor Shambler
Joined: 07 Mar 2006
Posts: 849
PostPosted: 06-13-2007 05:37 AM           Profile Send private message  E-mail  Edit post Reply with quote


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




Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 06-13-2007 07:11 AM           Profile Send private message  E-mail  Edit post Reply with quote


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.




Top
                 

Veteran
Veteran
Joined: 24 Nov 2005
Posts: 188
PostPosted: 06-13-2007 07:51 AM           Profile Send private message  E-mail  Edit post Reply with quote


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



_________________
Whatever....


Top
                 

Immortal
Immortal
Joined: 12 Mar 2005
Posts: 2205
PostPosted: 06-13-2007 09:54 AM           Profile   Send private message  E-mail  Edit post Reply with quote


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




Top
                 

True Nightmare
True Nightmare
Joined: 06 May 2000
Posts: 4373
PostPosted: 06-13-2007 10:13 AM           Profile Send private message  E-mail  Edit post Reply with quote


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!! ;)




Last edited by pjw on 06-13-2007 10:16 AM, edited 1 time in total.

Top
                 

diabolical besier hugger in disguise
diabolical besier hugger in disguise
Joined: 17 May 2001
Posts: 4825
PostPosted: 06-13-2007 10:13 AM           Profile Send private message  E-mail  Edit post Reply with quote


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




Last edited by corsair on 06-13-2007 11:28 AM, edited 2 times in total.

Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 06-13-2007 10:21 AM           Profile Send private message  E-mail  Edit post Reply with quote


@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.




Top
                 

True Nightmare
True Nightmare
Joined: 14 Nov 2000
Posts: 4216
PostPosted: 06-13-2007 12:06 PM           Profile Send private message  E-mail  Edit post Reply with quote


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.



_________________
Tutorials, tools and resources


Top
                 

True Nightmare
True Nightmare
Joined: 06 May 2000
Posts: 4373
PostPosted: 06-13-2007 01:04 PM           Profile Send private message  E-mail  Edit post Reply with quote


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...




Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.