moving from coordinate to coordinate
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.
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.
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
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.
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.
ok, here's the patch(i think there was one in examples/tutorials also):
> jit.slide based moving