Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Compound Convex Hull Objects #8

Closed
GoogleCodeExporter opened this issue Mar 28, 2015 · 8 comments
Closed

[Feature Request] Compound Convex Hull Objects #8

GoogleCodeExporter opened this issue Mar 28, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

Could support for convex decomposition compound objects be added?

Original issue reported on code.google.com by danwoo...@gmail.com on 12 Aug 2010 at 11:52

@GoogleCodeExporter
Copy link
Author


What is the best way in Maya to deal with compound objects?

In the 3ds Max plugin we use the 'grouping' option, does Maya have something 
similar?
Thanks for the feedback!

Original comment by erwin.coumans on 12 Aug 2010 at 8:53

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

The way I've seen it done in the past that worked best was to parent all the 
convex hull meshes under a group node, and simply select the group as a target 
for conversion to convex hull - it would create one "body" node and treat it as 
a single object.

Original comment by danwoo...@gmail.com on 12 Aug 2010 at 11:06

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

There is an experimental HACD automatic convex decomposition in latest trunk.

We should make this a separate tool

Original comment by erwin.coumans on 17 Feb 2012 at 5:04

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Issue 37 has been merged into this issue.

Original comment by erwin.coumans on 15 Mar 2012 at 11:04

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author


We need to add the option to create a single rigid body with multiple child 
shapes.
Those can then go into a btCompoundShape.

Some options: 

1) Add a 'compound shape' button in the UI that can handle multiple selected 
objects
2) Automatically create a compound shape for all connected nodes in a Maya 
group node

Once we can deal with compound shapes, we can solve Issue 37 too, although I 
need to check which collision shape(s) we need to use in Bullet to get this 
done.

Original comment by erwin.coumans on 15 Mar 2012 at 11:15

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Option 3 is to merge two or more separate rigid bodies into a single rigid body 
with a btCompoundShape.

I suppose option 2 is easiest, using the Maya group node.

Original comment by erwin.coumans on 15 Mar 2012 at 11:16

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Basic support for composite/compound convex hull is added in trunk.
http://code.google.com/p/dynamica/source/detail?r=148

The center of mass is automatically shifted, so that the object behaves 
'reasonable'. No control over this shift is exposed currently.

Usage: create a number of meshes, add them in a group, select the group, and 
hit the 'active convex hull' button. See also scenes/CompositeGroup.ma example.

Original comment by erwin.coumans on 21 Mar 2012 at 1:16

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Here is a video how to do it:
http://www.youtube.com/watch?v=Qv55k-vtyG8

Original comment by erwin.coumans on 22 Mar 2012 at 4:26

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant