Cutting 3D meshes

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Cutting 3D meshes

Postby andylegate » Sun Dec 09, 2007 1:00 pm

Ooooookay....

So I've got this wall, I've got it just the way I want it. Textured too.

Ooops, I forgot to put in a doorway, or a window, or it's later and I'm adding to the darn building.....

In anycase...how do I cut a hole in the mesh?

There's a great tutorial on Alcugs, but it has you staring with a plane, not a 3D object, and then making it 3D.

I've already got the mesh the way I want it, but now I need to cut it.

How? I've tried several things, but no go, the mesh goes back to how it was before, solid with no hole.

EDIT: Later, after a hot dog, and putting on eye glasses.... Oh......hehehe. So there IS a tutorial for that......*whistles some* Okey Dokey......here's the URL for anyone else that is blind as me... :oops:

http://alcugs.almlys.org/wiki/index.php/Dustin%27s_Fifth_Tutorial
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Cutting 3D meshes

Postby Chacal » Sun Dec 09, 2007 2:34 pm

Anyone knows how Plasma reacts to that?
I remember in the old days of the Quake engine (or was it DOOM?), cutting a hole in a mesh was a big no-no as the engine would break it down in a lot of small polys and this would have a huge impact in performance.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: Cutting 3D meshes

Postby Paradox » Sun Dec 09, 2007 2:40 pm

The cool thing about Blender, is that Plasma uses the same vertices and faces as Blender.

The hard part about cutting through objects is how Blender handles its Booleans. Booleans can be used to union, difference, and intersect two meshes. This usually creates a lot of unnecessary new vertices which can slow Plasma down.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Cutting 3D meshes

Postby Chacal » Sun Dec 09, 2007 2:53 pm

I suppose the trick is to go back and delete the unneeded vertices by hand.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: Cutting 3D meshes

Postby andylegate » Sun Dec 09, 2007 3:22 pm

Yes, that' is what I did when I was done.

What I like about Blender compared to the Radiant that COD uses, is that you can intersect your brushes with no problems. In the Radiants, that was a big no-no. You had to bevel your edges to meet them together. If you did intersect your brushes, you would get a ton of BSP errors when you went to compile your map, and enough of those, and the map would not compile at all. Even if you got it to compile, you would end up with the "Hall of mirrors" effect where they intersected.

Just about any CSG operation (IE hollowing out a cube to make a room, etc) was a big no-no.

Then, in the Ravenshield editor, CSG's were how you made rooms! Complete opposite of the COD editors!
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Cutting 3D meshes

Postby Grogyan » Sun Dec 09, 2007 9:21 pm

I put a question, exactly the same as this some time ago.

With Paradox's help, found that you need to,
1) Make a mesh with which to "cut" the original with.
2) Select that mesh in object mode and move it to where the original is to be "cut"
3) Hold down the shift key and select the original mesh
4) You should now have 2 meshes selected
5) Press the "W" key and select difference
6) Move or delete the 2 highlighted meshes and presto you will find a new mesh, cut in the way that you asked Blender.

Here is a video of the operation on YouTube.

http://www.youtube.com/watch?v=OlRgWgDrGxQ
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Cutting 3D meshes

Postby andylegate » Sun Dec 09, 2007 9:46 pm

Thanks Grogyan.

There is one thing that both you and the Tutorial needs to mention though:

It's important to select the mesh that you are USING to cut with first, and the mesh that you want to BE CUT second.
If you do it the other way around, your cutter mesh is the one that get's cut! ;)

This did work great, and I was able to make 6 windows in a flash.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Cutting 3D meshes

Postby Grogyan » Sun Dec 09, 2007 10:13 pm

andylegate wrote:Thanks Grogyan.

There is one thing that both you and the Tutorial needs to mention though:

It's important to select the mesh that you are USING to cut with first, and the mesh that you want to BE CUT second.
If you do it the other way around, your cutter mesh is the one that get's cut! ;)

This did work great, and I was able to make 6 windows in a flash.


If you do it in the steps I have outlined, it should be ok.

I asked this same question before, cause I had done some CSG for Unreal Editor, and it was very easy to work with, all you have to remember is with Blender, when you use a boolean, use the new mesh and rename it, and delete the old.
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Cutting 3D meshes

Postby Aloys » Mon Dec 10, 2007 10:15 am

As Paradox mentions, the big problem with booleans operations in Blender is that 99% of the time they tend to create an awfull resulting mesh and you need to spend time cleaning the mesh manualy.. And when you do that on complex meshes the time you need to spend to clean the mess is prohibitive...
Blender 2.44 (and I guess 2.45 as well) as slightly improved that, but it is still far from great...
Personally, as much as possible I try to avoid boolean operations, I do most of my work manually in Edit mode; much like in the tutorial Andy mention in his first post..
If Blender supported proper CSG things would be much easier.. :)
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Cutting 3D meshes

Postby Chacal » Mon Dec 10, 2007 11:03 am

Nice to know some things never change...

Three tricks I used back then:
- first split the mesh so that the mesh to be cut is as small as possible;
- manually delete unneeded vertices after the cut;
- do the cut, but only use the result as a template to build a new object manually, don't keep it.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest