## Maya Training

Introduction to Hard Surface Modeling

## Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

## Maya Training

Shading, Lighting and Rendering the Bedroom in MR

## Maya Training

Robot volume one - Modeling with animation in mind

## Maya Training

Spach-Alspaugh House the complete courseware

## Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

## New Maya Training

Batman by Jason Edwards
You are here > Home > SimplyMaya Community Forums

# Welcome to Simply Maya

 Simply Maya User Community - Maya Tutorials Boolean Difference + Bevel = broken geometry!?
 Register FAQ Members List Calendar Mark Forums Read

 10-11-2005, 09:28 AM #1 Steve555 Subscriber   Join Date: Oct 2005 Posts: 37 Thanks: 0 Thanked 0 Times in 0 Posts Boolean Difference + Bevel = broken geometry!? If I take a simple poly cube (no subs), then place a smaller poly cube half-way in one of its faces, then do a Boolean->Difference, I end up with a square recess in the larger cube, which is what I want. If I then do a Bevel on the entire object, the geometry get really screwed up with the front face missing, and where the hole was, I now have an intersection solid shape. This is quick to try and completely repeatable. If I subdivide the large cube first, bevel works as expected, but I don't want that. This is nothing to do with the Bevel size/shape either as it happens with even the tiniest bevel. Interestingly, if you just try to bevel the 4 edges of the face with the hole, the hole completely dissapears. Is this a bug?... the geometry seems so simple I can't see where there could be a conflict? Thanks Steve
 10-11-2005, 01:44 PM #2 stavs82 Registered User   Join Date: Sep 2002 Posts: 101 Thanks: 0 Thanked 0 Times in 0 Posts From my experience booleans are a very "Dirty" way of modeling. Booleans sometimes generate strange results and with the model that you are mentioning you can get the same results by just extruding a face scaling, and then extruding that face down into the box. After that when you do your boolean it will work properly.
 11-11-2005, 10:58 AM #3 PKPHaLaNX Registered User   Join Date: Oct 2004 Location: Germany, Cologne Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts Maya's Booleans are really strange... You should read the complete Maya Online Help about Booleans, there are many tips... I'm using them too - frequently and i think if you know how booleans work, you know why your geometry gets killed. So... some tips: Booleans are fully mathematical, so be prepared to loose geometry if you are modelling in too small dimensions... if my bools fail i scale both objects to 10x to try it in a larger dimension. this is caused by floating point operations. So if you try to bool to small areas, the position of vertices may float to 0 and your geometry is lost dont bool unless you are moving and scaling in at least 0.1 steps because it leads to floats floating to 0. but as said before... always try other moethods first - if you can do it without booleans, do it that way. dirty trick: if you need a boolean AND (addition) and cant do without it... try combine... ;-) but dont tell anyone
 14-11-2005, 06:53 AM #4 Steve555 Subscriber   Join Date: Oct 2005 Posts: 37 Thanks: 0 Thanked 0 Times in 0 Posts Thanks for the advice guys. I guess you intuitively know what to avoid doing after a while, and the other methods of achieving the same result - in this case - are probably faster anyway. However, having dabbled (emphasise 'dabbled' ! )with coding 3d engines in OpenGL, I still can't find any good reason why the problem should happen in this simple case. At a stretch, I could understand some normals getting flipped, but this just seems like a good ol' bug! (...but I'd love to find out what I'm probably missing.) Still, who cares... superb software; I can't wait to get better at it, and this seems one of the friendliest, most clued-up forums I've seen :-). Thanks Steve
 14-11-2005, 07:14 AM #5 PKPHaLaNX Registered User   Join Date: Oct 2004 Location: Germany, Cologne Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts Like said before, this is not a bug... It's mathematical uncorrectness... I hope this gets better as soon Maya and 3DS merge...
 14-11-2005, 07:42 AM #6 Steve555 Subscriber   Join Date: Oct 2005 Posts: 37 Thanks: 0 Thanked 0 Times in 0 Posts Thanks PKPHaLaNX. "this is caused by floating point operations. So if you try to bool to small areas, the position of vertices may float to 0 and your geometry is lost" OK, but so long as they're not integers, why are they floating anywhere? "this is not a bug... It's mathematical uncorrectness..." Well put! OK, I'm in danger of being a pedant now ;-) , but when floats (or doubles) floor to zero when you'd rather they didn't, this 'annomaly' is usually debugable and correctable. I don't have 1% of the brain cells of the Maya guys, so I know I'm missing something... I'd just love to be able to understand the reasoning behind this.
 14-11-2005, 07:45 AM #7 PKPHaLaNX Registered User   Join Date: Oct 2004 Location: Germany, Cologne Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts Have no time testing... send me a sample scene to , where i just have to test the bool and i tell you the main reason, because there a about 100000 reasons why a bool could fail. __________________ _________________________________ iQuestionary.de | idevel.de Stephan Baltzer _________________________________
 14-11-2005, 07:50 AM #8 Steve555 Subscriber   Join Date: Oct 2005 Posts: 37 Thanks: 0 Thanked 0 Times in 0 Posts OK, thanks.
 14-11-2005, 09:24 AM #9 PKPHaLaNX Registered User   Join Date: Oct 2004 Location: Germany, Cologne Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts Got it! Dude... you had a hole in the pocket ;-) (Good ol Beatle's joke) I tried it... no way without triangulating ( Looks ugly, not nice to model ) But.... :attn: Do you know Subdivisions on Polygon Objects? Look at the screenshot. You need edges at the front after your bool - and you can't insert edges after the bool because of the "Cannot start up a hole"-issue So... you have to raise the Subdivisions on your base object so the bool has some "food". My english is bad today, i think the screenshot tells it all. Attached Thumbnails   __________________ _________________________________ iQuestionary.de | idevel.de Stephan Baltzer _________________________________
 14-11-2005, 09:26 AM #10 PKPHaLaNX Registered User   Join Date: Oct 2004 Location: Germany, Cologne Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts After bool Attached Thumbnails   __________________ _________________________________ iQuestionary.de | idevel.de Stephan Baltzer _________________________________
 14-11-2005, 09:27 AM #11 PKPHaLaNX Registered User   Join Date: Oct 2004 Location: Germany, Cologne Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts After Bevel... Attached Thumbnails   __________________ _________________________________ iQuestionary.de | idevel.de Stephan Baltzer _________________________________
 14-11-2005, 10:04 AM #12 Steve555 Subscriber   Join Date: Oct 2005 Posts: 37 Thanks: 0 Thanked 0 Times in 0 Posts "You need edges at the front after your bool - and you can't insert edges after the bool because of the "Cannot start up a hole"-issue" Didn't know this issue! And sorry, I should have known from OpenGL that polys with holes (like the face after the boolean) are evil. ;-) This actually answers a lot of questions I had on other modeling problems; assuming Maya will automatically create 'true' edges for me after certain operations is probably wrong. As a newbie I'd been avoiding sub-ing too much 'food' because of the extra detail I don't want. (This also tripped me up with nurbs until I realised the need to insert isoparms to make some detailing work properly.) Thanks :bow:

A little bit about who we are