Join also our Discord channel! Click here.

[HELP] Where to start on creating a model/animation viewer

Post questions about game models here, or help out others!
User avatar
chrrox
Moderator
Posts: 2569
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1323 times

Re: [HELP] Where to start on creating a model/animation view

Post by chrrox » Tue Jun 13, 2017 12:44 pm

you should use the sample script to export an animation then look at the exported animation file in a hex editor.
then follow the script along with the hex as it reads to understand how animation is stored.
Then you should try to re write the importer on your own.
once you do this it should be much easier for you to look at the data in your format and make an import script.

User avatar
askB
advanced
Posts: 43
Joined: Mon Feb 06, 2012 3:52 am
Has thanked: 6 times

Re: [HELP] Where to start on creating a model/animation view

Post by askB » Tue Jun 13, 2017 2:11 pm

Even though there are scripts made for specfic animations, do they generally have the same structure when you code one?

User avatar
chrrox
Moderator
Posts: 2569
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1323 times

Re: [HELP] Where to start on creating a model/animation view

Post by chrrox » Tue Jun 13, 2017 6:53 pm

animations always follow a close format they just pack the data differently.
one developer could store the entire position each frame or another developer might only keep changes and need the original skeleton complete the animation.
but if you can follow this sample your sample should not be too hard.

User avatar
askB
advanced
Posts: 43
Joined: Mon Feb 06, 2012 3:52 am
Has thanked: 6 times

Re: [HELP] Where to start on creating a model/animation view

Post by askB » Wed Jun 21, 2017 2:20 am

Like always, I appreciate all of everyone assistance thus far; im starting to understand how data is read through hexing. However, I cant code python...at all. Ive decided to take a class on basic python scripting, then within in a few weeks try to create a script using what you all have provided for me.

Post Reply