moving from coordinate to coordinate


    Feb 28 2006 | 12:46 am
    hi,
    i have a list with the actual-coorsinates and a list with new coordinates...
    now i want to move an opengl object to this new coords... how is possible with an efficient amount of objects...
    is "line" the right direction?
    greest p.

    • Feb 28 2006 | 11:44 pm
      Only if you want a straight translation, which is not always wanted.
      You can combine line and scale with a table to have a incremental or decreasing speed. Just a hint for some better effects.
      Propably there are some nicer effects to do with the movement, but line is th easiest way in my book.
    • Mar 02 2006 | 2:08 am
      i enjoy doing those things in matrix land. you can store all your transformations in jit.matrix, few of them actually(one for every keyframe), then you can interpolate between them using jit.slide or jit.op's and jit.expr's.
      if you're interested in this approach, i'll try to patch something up quickly:)
      hth, nesa
    • Mar 03 2006 | 10:44 am
      Well I'm interested :)
      It is always nice to see other ways of doing stuff, especially when you have no idea that it could also be done that way.
      To see the confinement of the framework you are working in so to speak.
    • Mar 03 2006 | 8:38 pm
      hi and thanks,
      for now my solution was "line" and a "* 1.2" for sure i'm interested in nesas solution too... thx for your help to both of you.
      p.
    • Mar 04 2006 | 8:05 pm
      ok, here's the patch(i think there was one in examples/tutorials also):
      > jit.slide based moving