Here is a modified version of my model viewer for AGK.
I just added in the animation features today, so I hope it doesn't have any bugs in it. (test it for me, see attached ZIP)
W, S, A, D - tilt and pan the camera
Q, E - rotate the object
Arrow Keys move the camera on X and Z
Right Shift and Enter move the object up and down.
The folder opens your model. ( I added more file extensions other than just X like before, but your textures need to be PNG)
If it has more than 1 animation, then the 3 little buttons next to the folder appear to navigate though the animations.
The program displays..
The Model's File Name
The # of animations for that object
The Name of the animation selected (I have number 2 selected in the screenshot)
The number of frames for the animation selected.
The buttons to the right of the animation navigation buttons are for playing the animation selected.
The first button is for the Frames Per Second you want to play it (speed) just click it to increment and 20 is max, then it cycles back to 1 fps
The next Button that says STOP in the image above also PLAYs the animation, so you can PLay then Stop on a frame , then Play again to resume.
The next button is the reset for starting the animation at the first frame again, but you have to STOP before you can RESET, not while playing.
The next button over (says 5 in screenshot) just displays the current frame you are on.
I hope this helps, and I know it is very basic right now, but I will be adding to it now and then.
Quote: " I found some animated objects in the Internet, but the animation is described by frame numbers, e.g. frames 21-31 attack, frames 32-39 got hit etc."
It sounds like that object has all of the animations together in one animation name, just like the FPSC classic models.
So, all you will need is the animation name and you will be good to go if you follow the instructions in the help manual.
Just load the object in this program and it should tell you the name.
Edit
I have deleted the old ZIP because I added mouse controls as requested.
Hold down the left mouse button to move the model left - right - up - down
Hold down the right mouse button to rotate the model left or right
Use the scroll wheel (if your mouse has one) to move the camera forwards or backwards for zooming
I will be adding a start and end range for the animation playback soon, for those models that have all animations named as one.
I also went back to starting at zero, so the program frame numbers coincide with the time AppGameKit uses for playing animations.
Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1