[ODE] center of mass
Geoff Carlton
gcarlton at iinet.net.au
Wed Jan 11 16:25:56 MST 2006
Ok, I got around to doing what I said I'd do a few months ago.
This is the re-surfacing of a very old discussion about being able to
offset geoms from bodies without using geomTransform. Over Chrismas I
made a patch from a new version (of UNSTABLE), and wrote up a summary
about why I think its much better than the current way of doing things.
http://www.hotboxgames.com/index.php?option=com_content&task=view&id=36&Itemid=27
Essentially, its better on memory, negligible on performance (as far as
I have measured), and much easier to use. It does away with needing
geomTransform, which makes it much easier to set/remove offsets on the
fly, as well as simplifying collision callbacks. I've put it in my
version of ODE about a year ago and have been using it ever since.
Cheers,
Geoff
Geoff Carlton wrote:
> I think this was the crux of disagreement that we came to last time,
> and the main reason I didn't originally think a patch would be worth
> the time to create (it may not be put into cvs). When I have some
> free time (over the Christmas break?) I'll try make up a clean patch
> with the change - it would at the very least allow a very detailed
> examination of the pros and cons relative to the status quo.
>
> I think that with the patch in hand I can show that it is both more
> elegant, and is no worse on memory, but I'll leave that re-discussion
> for the future!
>
> Geoff
>
> Jon Watte (ODE) wrote:
>
>>
>> Last time, there was heated debate about GeomTransform being or not
>> being. I happen to think that GeomTransform elegantly factors the
>> need of doing a separate transform -- or not, and elegantly
>> implements it with the transform pointer (so it saves memory, which
>> means saving the cache).
>>
>> So, just applying it because it's proposed isn't necessarily "right".
>>
>> Cheers,
>>
>> / h+
>>
>> J. Perkins wrote:
>>
>>> On 10/28/05, Geoff Carlton <gcarlton at iinet.net.au> wrote:
>>>
>>>> The source is available on:
>>>> http://www.hotboxgames.com/index.php?option=com_content&task=view&id=17&Itemid=27
>>>>
>>>>
>>>> It contains every change and fix I've made to ode to get it working to
>>>> my satisfaction for the game SkyTracks. In regards to geomtransform
>>>> change, the core code is there and some (but not all) of the interface
>>>> functions that I listed previously.
>>>
>>>
>>>
>>>
>>> If you can find a way to pull out the important changes, I'll put them
>>> into the patch manager and try to get them applied. I'm afraid that
>>> "here's my code" is more than I can handle, even with all of my good
>>> intentions. ;)
>>>
>>> Jason
>>>
>>> _______________________________________________
>>> ODE mailing list
>>> ODE at q12.org
>>> http://q12.org/mailman/listinfo/ode
>>>
>>>
>>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
More information about the ODE
mailing list