Search found 9 matches

by suejunghuh
Mon Nov 04, 2013 7:51 pm
Forum: Release Announcements
Topic: Bullet 2.80 SP1 release :OpenCL rigid bodies & Android
Replies: 17
Views: 213271

Re: Bullet 2.80 SP1 release :OpenCL rigid bodies & Android

Hi, I have Bullet 3.0 with openCL running beautifully (fast) in my AMD Radeon HD 7900 with Windows 7 Professional. I saw the GPU is utilized up to 95% in some of demos. My question is whether this Bullet 3.0 in OpenCL run on the next-gen game console GPU? As far as I know the following are the GPUs ...
by suejunghuh
Sat Oct 19, 2013 9:48 am
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

The plane computation was incorrect. Attached is the modified code.
In my rough benchmark, it was around 40% faster than the original.
by suejunghuh
Sun Oct 13, 2013 5:10 pm
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

By the way, the change is reflected only in voronoiConvexHullShatter not in voronoiBBShatter.
by suejunghuh
Sun Oct 13, 2013 3:48 pm
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

The code is updated to re-use the previously computed/found planes.

Note that now the iteration starts at i+1 at // UPDATE - FIX

Indeed!

Thanks.
by suejunghuh
Sun Oct 13, 2013 8:15 am
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

By the way, I have added getVerticesInsidePlanes2.
Attached is the updated header.
by suejunghuh
Sun Oct 13, 2013 7:04 am
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

Also nor my code is as efficient as it could be...
by suejunghuh
Sun Oct 13, 2013 7:03 am
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

Sorry I was testing this in a different setting where the convex was only axis-aligned when voronoiConvexHullShatter is called. Now I have changed my code so it would work on the general setting exactly the same setting like the demo. It should roughly run 2 times faster than the original demo, by s...
by suejunghuh
Thu Oct 10, 2013 6:18 pm
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

Re: A small Bug in VoronoiFractureDemo

Oh! :oops:

There should be only one fix in the method,
VoronoiBreakingDemo::voronoiConvexHullShatter
j shoud start from i+1 not 1.

Attached is the file with the comment FIX - UPDATE.

[The code has been updated with the most recent one.]
by suejunghuh
Wed Oct 02, 2013 7:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: A small Bug in VoronoiFractureDemo
Replies: 9
Views: 7303

A small Bug in VoronoiFractureDemo

In methods, VoronoiBreakingDemo::voronoiConvexHullShatter VoronoiBreakingDemo::voronoiBBShatter j shoud start from i+1 not 1. :D ----------- for (i=0; i < numpoints ;i++) { curVoronoiPoint = points ; btVector3 icp = quatRotate(bbiq, curVoronoiPoint - bbt); rbb = icp - bbmax; nrbb = bbmin - icp; plan...