Archived

This topic is now archived and is closed to further replies.

Promit

StickMan: Advanced Data Structures/Linear Interpolation in VB

Recommended Posts

Promit    13246
StickMan is very cool. You have a stick figure and you can position his head, chest, waist, hands, and feet. You can also set keyframes. Then the program will do a linear interpolation between the nodes of keyframes. Hit play and he will move just how you set him(make him dance, it''s fun). This uses what I call a linked tree(as opposed to a linked list). The chest, for example, is in fact a member of the head(ok, there are a few glitches when working with VB). Soon to be ported into C. Full VB source included. (WARNING: I didn''t spend too much time thinking about this, so it is a little weird how it works. The C version should be much much cleaner!) www.geocities.com/promitr/StickMan.zip ----------------------------- The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
I wrote something similar in VB.. but it loaded a Milkshape 3d object, and textured & lit the object (using OpenGL with VB), as well as displayed the animations... but you couldn''t do the editing in VB, it only displayed it. Similar concept though, as it did have linear interpolation of key frames and such :o).

Billy

Share this post


Link to post
Share on other sites