Results 1 to 2 of 2

Thread: Non-linear Interpolation

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2005
    Location
    Cleveland, Ohio
    Posts
    255

    Non-linear Interpolation

    I have some coordinates:

    X-127
    Y-345
    Z-2

    Then a second later, I have some new coordinates

    X-132
    Y-328
    Z-1

    Now, I need to come up with some sort of math aligorithm to generate a smooth curve in between these two numbers, resulting in smoother movement.

  2. #2
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: Non-linear Interpolation

    To make a smooth movement you probably should only devide this one move into moresteps. to caculate the steps just use for each dimension.
    (newvalue-oldvalue)/numberofsteps

    From the data given I see now reason for a nonlinear Interpolation, only if your complete movement is nonlinear, but than you would know the nonlinear-function (wouldn't you).
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width