[ODE] Fwd: [ opende-Patches-1547895 ] HeightField Float Precision Bugfix

David Walters hidden.asbestos at googlemail.com
Mon Aug 28 11:18:35 MST 2006


I've just checked in an equivalent for this patch using the global
dEpsilon defined in config.h - Please can the authour of this patch
confirm that this problem is solved - your epsilon values were larger
I think thant FLT_EPSILON / DBL_EPSILON.

If it still fails - please provide the configuration ( dimensions /
edge vertex counts) of the heightfield that would cause this assert to
trigger - and on what plaforms / precision configurations you are
using.

Regards,
Dave.



On 28/08/06, Jason Perkins <starkos at gmail.com> wrote:
> FYI...
>
> ---------- Forwarded message ----------
> From: SourceForge.net <noreply at sourceforge.net>
> Date: Aug 28, 2006 8:42 AM
> Subject: [ opende-Patches-1547895 ] HeightField Float Precision Bugfix
> To: noreply at sourceforge.net
>
>
> Patches item #1547895, was opened at 2006-08-28 14:42
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=382801&aid=1547895&group_id=24884
>
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: Bug Fix
> Group: In UNSTABLE
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Tuan Kuranes (kuranes)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: HeightField Float Precision Bugfix
>
> Initial Comment:
> using dSingle
> I get assert in in heightfield.cpp:283 with dz or dx
> values like -0.00002f, just because the lack of Epsilon
> in considering float operation in that method.
>
> Here is a simple addition that prevents the problem and
> still lets heighfield collider works fine.
>
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=382801&aid=1547895&group_id=24884
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>


More information about the ODE mailing list