[ODE] Proposal: Change Heightfield Origin

Jason Perkins starkos at gmail.com
Thu Jul 13 08:18:41 MST 2006


On 7/13/06, Martijn Buijs <buijs512 at planet.nl> wrote:
> While I agree that it would be more consistent compared with other primitives,
> I'm against it for two reasons:
> 1) I believe it actually complicates things, and it is easy to apply the offset
> manually anyway.

Can you elaborate on why you think centering the origin complicates things?

Yes, it is easy to apply an offset to change the origin, but I think
that's just another reason to make heightmaps behave like the other
primitives. You can always apply an offset to get the old behavior.


> 2) I think neither origin is 'correct' (or wrong), therefor I suggest we keep it as simple as
> possible (the way it is now).

IMHO it will be simplest for new users if it behaves like the other
primitives. Or perhaps you had a different measure of "simple"?


> Reminds me of something else, I think the we should make the 'float' data path
> precision-independent.

I agree with this.

Jason


More information about the ODE mailing list