Jason Perkins
18 years ago
If this the SAP space is really working (see tracker item below) any chance
we could get it into the trunk? It is still very useful even without
dCollide2(), and is much more likely to get worked on in the trunk.
Jason
---
On Nov 8, 2007 12:56 PM, SourceForge.net <***@sourceforge.net> wrote:
Patches item #1335198, was opened at 2005-10-22 17:53
Message generated for change (Comment added) made by markdjwilliams
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=382801&aid=1335198&group_id=24884
Category: New Feature
Group: Needs Feedback
Status: Open
Summary: Sweep and Prune Space
Initial Comment:
From: Aras Pranckevicius
Date: Mon Apr 25 01:56:06 2005
Subject: [ODE] SAP space (was: Large physics worlds...)
submit/upload it somewhere?
http://nesnausk.org/nearaz/files/ode-sapspace-050425.zip
(30kb).
It's not a patch, as I don't have diff/patch right now
and am too lazy
to get them. Some readme is included; basically it's
one new cpp file
and a couple of lines added to ODE include files.
Should be pretty
basic to integrate.
Now, about it:
* Does complete re-sort on each collide call. That is,
no temporal
coherence of any kind. The good side of this is that it
handles very
fast moving things well.
* Has no collide2 implemented :(
* Depends on Opcode sources being present
(collision_sapspace.cpp
includes Opcode.h and uses radix sorter from there).
* Uses radix sort for the sweep phase. Uses single
precision floats
internally (ODE can still use doubles), which I think
must be standard
IEEE floats (Opcode's radix sorter assumes IEEE
floats). I think
that's not a problem on most platforms.
In my own usage scenarios, I've seen SAP either beating
other spaces
by large amount, or beating them by small amount :) YMMV.
------------------------------
we could get it into the trunk? It is still very useful even without
dCollide2(), and is much more likely to get worked on in the trunk.
Jason
---
On Nov 8, 2007 12:56 PM, SourceForge.net <***@sourceforge.net> wrote:
Patches item #1335198, was opened at 2005-10-22 17:53
Message generated for change (Comment added) made by markdjwilliams
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=382801&aid=1335198&group_id=24884
Category: New Feature
Group: Needs Feedback
Status: Open
Summary: Sweep and Prune Space
Initial Comment:
From: Aras Pranckevicius
Date: Mon Apr 25 01:56:06 2005
Subject: [ODE] SAP space (was: Large physics worlds...)
Should I package the patch again, and maybe
I know I for one would love to try it out... Are
there any majorissues with it?
Ok, here goes the sweep-and-prune space for ODE:http://nesnausk.org/nearaz/files/ode-sapspace-050425.zip
(30kb).
It's not a patch, as I don't have diff/patch right now
and am too lazy
to get them. Some readme is included; basically it's
one new cpp file
and a couple of lines added to ODE include files.
Should be pretty
basic to integrate.
Now, about it:
* Does complete re-sort on each collide call. That is,
no temporal
coherence of any kind. The good side of this is that it
handles very
fast moving things well.
* Has no collide2 implemented :(
* Depends on Opcode sources being present
(collision_sapspace.cpp
includes Opcode.h and uses radix sorter from there).
* Uses radix sort for the sweep phase. Uses single
precision floats
internally (ODE can still use doubles), which I think
must be standard
IEEE floats (Opcode's radix sorter assumes IEEE
floats). I think
that's not a problem on most platforms.
In my own usage scenarios, I've seen SAP either beating
other spaces
by large amount, or beating them by small amount :) YMMV.
------------------------------
...