View previous topic :: View next topic |
Author |
Message |
Stroggos
Joined: 14 Apr 2009 Posts: 43
|
Posted: Sat Apr 25, 2009 1:38 am Post subject: QER Motion and Animation Interpolation |
|
|
i put in the QER Interpolations tutorials into my stock quake engine (now called CQuake and who hasn't) and everytime i build it and use the nailgun the muzzle flash apears instead of flashing on each side like it should you can see the flash in the middle moving right to left and back is there a way to fix it??? I know its not the engine because all it is is GLQuake in 32bits with a few fixes from Fitzquake and DirectQ. _________________ Dont even try to port Quake 4 to the ipod |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Sat Apr 25, 2009 3:33 am Post subject: |
|
|
test the distance the verticies move between the two frames, and if they're greater than a certain distance apart (limit varies per model) make them snap instead of lerp.
If you can figure out a range of verts to lerp at load time, you may not need to test distance, just don't lerp the muzzleflash verts. _________________ What's a signature? |
|
Back to top |
|
 |
Stroggos
Joined: 14 Apr 2009 Posts: 43
|
Posted: Sat Apr 25, 2009 8:43 am Post subject: |
|
|
Thanks _________________ Dont even try to port Quake 4 to the ipod |
|
Back to top |
|
 |
|