Inside3D!
     

QER Motion and Animation Interpolation

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
Stroggos



Joined: 14 Apr 2009
Posts: 43

PostPosted: Sat Apr 25, 2009 1:38 am    Post subject: QER Motion and Animation Interpolation Reply with quote

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
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Sat Apr 25, 2009 3:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Stroggos



Joined: 14 Apr 2009
Posts: 43

PostPosted: Sat Apr 25, 2009 8:43 am    Post subject: Reply with quote

Thanks
_________________
Dont even try to port Quake 4 to the ipod
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group