BoolPro: A better mesh boolean

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

REPLY TO THREAD
 
Thread Tools Search this Thread Display Modes
  07 July 2012
Hi @chewy, our discussion about this is just a few posts above. Actually boolPro does preserve the normals, but for the kind of operation you want, as I said, I believe the normal preservation is ill defined (mathematically / algorithmically). Meaning the result that you expect from the algorithm isn't consistent for various inputs. Thus for this situation it is impossible do to anything until a better definition is found.
Actually this task is not even on the todo list, which unfortunately I don't think I would have time to take care of, unless something really critical would emerge. But don't despair, on the first thread I also published my code, and there should be some good people out there that can help. Also I don't understand how autodesk didn't get the hint by now, and bought carvelib and officially added it to maya.

@8bit, first if maya bool satisfy your needs, then by all means use it. This plugin intention was to fill holes, which the maya bool can't fulfill, but no reason not to use them both.
Concerning your problem. First I see that you use textures, and uv preservation is still on the todo list, so you'll have to set a new uv map after the bool operation. If uv mapping isn't the problem (does it render well without texture?) then I guess there's a problem in your geometry, so make sure that it's clean. Beyond that, I I'll need you to attach the models, and tell me the steps that you have taken to produce the results, and exactly where the problem lies, and I'll try to look into it. If the models are as simple as in the images, then a script to build the models would suffice.

Cheers

Last edited by zoharl : 07 July 2012 at 07:10 AM.
 
  10 October 2012
Some tips for building the plugin under OS X:

http://forums.cgsociety.org/showthr...=1072917&page=2
 
  11 November 2012
Oh my god.

I wish I'd found this thread before having to cut up my terrible awful mesh into chunks in order to boolean it bit by bit.

Thank you.
 
  11 November 2012
Hi Zohar,

Sooooooo happy that I found this thread because I almost decided to do the same thing as you do!
But when I try to use your plug-in on my case, it fails...
In my case, there are two meshes overlapping each other at some faces. The result disappear when I use Maya boolean union.
It seems that when too many faces of the operand meshes overlap, Maya boolean fails.
Hopefully you can help me solving this problem with BoolPro!
Thanks a lot!

Daniel
Attached Files
File Type: zip AandB.zip (57.0 KB, 6 views)
 
  11 November 2012
Yes, the function of maya boolean operation is to make the mesh disappear, and sometimes it has a bug and it does a boolean operation

A boolean op algorithm isn't magic. For the algorithm to infer the shape, the data should be:

1. Closed, water-tight surface.
2. Manifold topology, preferably triangulated.

Having said that, I've seen some cases that carveLib (the core of boolPro) makes the most of it (some cases border on magic) and can cope with inputs that not necessarily follow the requirements. I wish Sergei (the author of carvelib) would publish the algorithm he used (maybe you can also contact him).

For you specific case:

1. After Mesh>fill hole, boolpro was able to union the shapes, but I wouldn't vouch for the resulting quality. The intersection was nonsense.
2. Triangulation could never hurt.
3. Try maya's cleanup and MeshLab cleaning filters, so that your meshes would follow the requirements, and you won't need any magic.
4. If you don't care about topology, you should reconstruct the meshes, e.g. try a filter of MeshLab such as Poisson surface reconstruction.

To summarize: You can cleanup a bit and massage your meshes, and hope for good, or you can do a decent job and follow the requirements, and then I would be surprised if boolpro fails.
 
  11 November 2012
Hi Zohar,

Thanks for the reply!
I'll see what I can do.

Daniel
 
  01 January 2013
Hi Zohar,

Thanks for the this plugin!

I'm just wondering how to make a boolean difference with it.

Doing just like you said, I only can get an union.

Sorry if it is an idiot question, I'm a newbie with Maya yet.

Thank you one more time!
 
  01 January 2013
Select the objects with the BoolPro node, go to the attribute editor, switch to the BoolPro node tab, and change the operation from union to difference.
 
  01 January 2013
Oh! It works great! Thanks!
 
  04 April 2013
Just wanted to jump in and thank you for this. I'm modelling a room that is geometrically complex and this script has really helped me out.

Here's a preview of what I am modelling (I'll post the finished room later)

 
  04 April 2013
@WodenDigital, that looks nice (although I can't estimate where you used the bool).

Thanks to @sit10, we now have binaries for Mac x64 2012-2013.
 
  04 April 2013
Tried this and its working great.
Booled some complex meshes together, then just did a triangulation followed by a quadrangulation. Added a phong material and looked for shading errors: none.

Great plugin. Ill use this for work.

EDIT: I'm gonna make a MEL UI for it later... at least for my own personal use. If someone else wants it then I'll share ofc.
__________________
Nightshade UV Editor (script for Maya) - Extends Maya's default UV Texture Editor with additional tools.

Last edited by DeadlyNightshade : 04 April 2013 at 11:10 PM.
 
  05 May 2013
is it possible to have a 2014 compatible, thanks!
__________________
So you get NOTHING! You LOSE! Good DAY sir!
ピザやマンドリン
 
  05 May 2013
Originally Posted by elvis75k: is it possible to have a 2014 compatible, thanks!


Added.

@DeadlyNightshade, cheers. Please elaborate on the UI.
 
  05 May 2013
Originally Posted by zoharl: Added.

@DeadlyNightshade, cheers. Please elaborate on the UI.


Thanks pal!
__________________
So you get NOTHING! You LOSE! Good DAY sir!
ピザやマンドリン
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:32 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.