With the Animation Showcase sample, I commented out most of the code and left out just the basics part, which is create a box, and then play the animation on the box as follows:
dbLoadAnimation ( "demo1.wmv" , 1 );
dbPlayAnimationToImage ( 1 , 1 , 0 , 0 , dbAnimationWidth ( 1 ) , dbAnimationHeight ( 1 ) );
dbLoopAnimation ( 1 );
dbMakeObjectBox ( 1 , 350 , 350 , 1000 );
dbScaleObject ( 1 , 100 , 100 , 1 );
dbSetObject ( 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 );
dbTextureObject ( 1 , 1 );
but what I end up having is a box which the top does not match the size of the bottom... Why is that?
Ultimately, what I'm planning to do is create a box and play an animation on that box. Can anyone show me this? thanks.