Search found 6 matches

by iemfi
Sun Mar 31, 2013 9:59 pm
Forum: Questions and Help
Topic: GetConvexHull not completing in some cases
Replies: 10
Views: 7562

Re: GetConvexHull not completing in some cases

Hmm, I can't seem to reproduce it any more. I think it was because I was actually using the stable version when I thought I downloaded the dev version :oops:.
by iemfi
Sun Mar 31, 2013 5:57 pm
Forum: Questions and Help
Topic: GetConvexHull not completing in some cases
Replies: 10
Views: 7562

Re: GetConvexHull not completing in some cases

Wow, if only every company's support was like yours! The trees work great now after some refactoring of my code. One thing I noticed while testing was that sometimes when a compound body is created overlapping a static mesh it blows up and generates NaN values. Is this expected? Not really an issue ...
by iemfi
Sat Mar 30, 2013 7:00 pm
Forum: Questions and Help
Topic: GetConvexHull not completing in some cases
Replies: 10
Views: 7562

Re: GetConvexHull not completing in some cases

Thank you! Nice to know I wasn't just slowly losing my mind. I'm curious though, why does the creation of the compound body affect it? Is it something to do with the data structures?
by iemfi
Fri Mar 29, 2013 10:40 pm
Forum: Questions and Help
Topic: GetConvexHull not completing in some cases
Replies: 10
Views: 7562

Re: GetConvexHull not completing in some cases

I've been unable to reproduce the problem in the demo but I think I've narrowed down the issue. If I do not add the list of created CompoundShapeEntrys into a new compound body, it proceeds smoothly. If I create the CompoundBodys it gets stuck. I've uploaded the whole source, it should go straight t...
by iemfi
Fri Mar 29, 2013 6:39 pm
Forum: Questions and Help
Topic: GetConvexHull not completing in some cases
Replies: 10
Views: 7562

Re: GetConvexHull not completing in some cases

+ [0] {X:-0.8577047 Y:14.19758 Z:-4.866044} Microsoft.Xna.Framework.Vector3 + [1] {X:-0.07056456 Y:14.0434 Z:-5.165401} Microsoft.Xna.Framework.Vector3 + [2] {X:-0.09851751 Y:14.08656 Z:-5.261027} Microsoft.Xna.Framework.Vector3 + [3] {X:-0.05788735 Y:14.14983 Z:-5.182701} Microsoft.Xna.Framework.Ve...
by iemfi
Fri Mar 29, 2013 1:56 pm
Forum: Questions and Help
Topic: GetConvexHull not completing in some cases
Replies: 10
Views: 7562

GetConvexHull not completing in some cases

Hi, I have a problem with making convex hulls. I use the pruning method in ConvexHullHelper first then ensure that there are more than 5 vertices. It works fine most of the time with thousands of different convex hulls. The problem is that every once in awhile it gets stuck in the main loop of Conve...