Jump to content

My terrain is corrupted, HELP!


Brian Cassil
 Share

Recommended Posts

This is a problem I have faced several times in working with complex terrain objects. See for yourself:

 

 

filepush.asp?file=garbage.jpg

 

Here's what happens:

 

I create the existing terrain by using contours and the terrain compound object control. Then cutout the roads, walks, curbs, etc. by extruding plan shapes and creating boolean intersections with copies of the orignial terrain. Then I edit the mesh objects using soft selection, view align, and the move transform to flatten building areas and create ramps etc. All will be going well when at some point I open my file and it looks like the above image. WHY!!! What did I do wrong, and why would it do this midstream. Is there something about using soft-selection on mesh-objects that were created with booleans that makes them unstable. Do I need to convert booleans to editable meshes rather than add the edit mesh modifier.

 

Okay I realize I'm rambling so any help would be greatly appreciated. I don't expect you to tell me how to recover my uncorrupted terrain, that would be too much to hope for. But If someone has a clue as to how to avoid this problem I would sure appreciate it being passed along.

Link to comment
Share on other sites

2 comments:

 

1st, DON'T use max native booleans, they are terrible. If you do make sure to convert the boolean to a mesh after completing each boolean. If you want to use booleans I strongly suggest getting npower's boolean plugin, works like a charm and doesn't corrupt your mesh and you can stack booleans without issue.

 

2nd, It looks like you have flipped normals on your mesh. Add a normal modifier to you site and unify the normals. Then add a smooth modifier. You will probably have to edit the smoothing groups manually to get everything right.

 

Hope this helps...

Link to comment
Share on other sites

No flipped normals here. The hole you see in the middle is where a structure goes, and the really wierd black spots are created from the mesh vertices being thrown about so.

 

I'll take your advice on converting max booleans to editable meshes immediatly. Also, I've used power-booleans in the past (the demo actually) and you're right, works like a charm, however it seems to me that this really should work in max. I mean, this has been an issue with max since release 1 and the developers seem to do nothing about it!

Link to comment
Share on other sites

I agree with Jim Kessler on this one. Don't use native max booleans, and in fact, don't use them at all on terrain modeling (my opinion). I've found a different method that works great. I make the terrain just as you mentioned, with contours and the terrain tool. Then take your terrain geometry and hit the ShapeMerge tool under the compound objects pulldown. Pick your plan shape to apply it to the terrain, drop it to an editable poly or mesh and pick the polygon level and it should automatically choose the area that you just cut. If it doesn't, just pick the faces you want. Then you have two options: 1) Detach that selection and extrude it however high you want to. OR 2) Don't detach the selection, but instead assign it a material ID and apply a material to it with that same ID and also apply the UVW map accordingly (hopefully I'm not insulting your intelligence if you already know this stuff). I would suggest making different shapes to use instead of one big one. So for instance if making a parking lot or something, make a shape for the general curb line, then another for the medians, etc...you'll have less problems that way. Also, you mentioned that you like to flatten the terrain for the buildings footprint, so to do that just take those vertices and flatten them with the meshtools plugin that you can get on the web somewhere (I can't remember-but it's free!). I hope I've helped you a little and let us know what you decide to do!

Link to comment
Share on other sites

Thanks for the detailed reply, I'll try using shape-merge although I've never had much success with it in the past. I definetly will need to detatch the shapes from each other as there are lots of mesh editing I need to do on the individual elements.

 

Now, I'm not familiar the "Mesh-Tools" I've heard that thrown around a little but I have no actual experience with it. Can you give me a little more info on where it can be downloaded for?

Link to comment
Share on other sites

  • 3 weeks later...

I don't have any clue why it would do that either. I've had that sort of random-corruption problem a few times in several totally unrelated situations.... in general, Terrain seems to be much less useful than it ought to be.

 

As for Meshtools... it is HANDY. It doesn't work with Editable Meshes, you'll want to convert them to Editable Poly-- but that has better modeling commands in the first place anyway. Only thing it's missing is Extrude Edge. Invisible edges go away, you can delete edges without losing faces, and Meshtools on top of that is leaps and bounds more useful than anything Editable Mesh by itself will do. There's commands like Select Edgeloop and Convert Selection to Polygons and so forth. Go get it!

Link to comment
Share on other sites

Hey Gnarly, I've downloaded and installed meshtools but since I have absolutely no experience using them and there doesn't seem to be any sort of instructions really, how do I use them? I can't even access them apparently. When I go to customise user interface I see them under main UI in thier own category but am I lost as to what to do from there! Do I apply them as modifiers (doubtfull) access them within the parameters of an editable poly or through the quads menu? I've tried all those with no success.

Link to comment
Share on other sites

You need to use the Customize User Interface dialog to make yourself buttons or hotkeys so you can USE the meshtools commands. I myself have no skill with this process at all-- heck, I don't even really use the quadmenus much, since I was so used to not having them in version 3.1.

 

What I did was gave meshtools its own toolbar, and stuck that in the Tab Menu, which I hardly ever use-- so when I need meshtools commands, I hit Y to bring down the Tab Menu and there my buttons are. Probably a silly method, but there it is.

 

What you do is go into the Customize User Interface window, and pick the tab of the type of command you want the meshtools to be-- keyboard shortcuts, menu, toolbar, whatever. Then search for 'meshtools' in the 'Category' rollout, and once you pick that you'll see a list of all the commands in the Action window below that. If you are in the Toolbar tab, you can drag and drop them from their window onto existing toolbars, or hit the 'New' button and get a new toolbar to drop them onto, and then stick that toolbar wherever you want.

 

You just have to make sure to SAVE the UI after you're done, or you'll have to do it all over again the next time you open the program.

 

Kindof a hassle to get the stuff to work, yeah-- but in the end, it's worth it!!

 

 

Ohhh yeah and using them-- that's just like other commands, they're grayed out when you can't use em, and light up when you can... or at least, most of them are that way. They're to be used while in subobject mode on an Editable Poly object-- try it on an Editable Mesh or anywhere else and you're asking for error messages. Other than that it's pretty simple. To use Edge Loop Select you just go into Edge mode and pick an edge, and then hit the Edge Loop Select... and bang, you've got a loop. Hope all that makes sense!

 

[ March 18, 2003, 12:58 AM: Message edited by: Gnarly Cranium ]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...