Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    149
  • comments
    510
  • views
    94995

Animated Model Loading

Sign in to follow this  
noaktree

77 views

The editor can now load the animated model format. I had to rewrite some of the tangent generation functions in the animation library to get the shader materials working properly. Animated models are loaded in as static meshes in the initial pose they were modeled in. Materials are edited exactly the same as with the static meshes. This editor could easily be expanded with plugins to support multiple file formats.

Another adjustment was made so that if a model is not centered around (0,0,0) in model space, the camera in the editor will still be able to center the object. This is done by finding the center of the mesh, in model, space and aligning the camera using the X and Y coordinates from that center. Once this is done the camera makes incremental steps backwards from the object until it is completely in the frustum. I'll add camera shift along the XY coordinates using the middle mouse button soon.

Next I'll add save for the DEAM files and this thing should be fully operational - though more like the fully operational death star from Return of the Jedi than the original. Still needs a shield generator on a nearby moon to keep it safe from invading star cruisers.

[Edit]Here is a DEAM (Depth Engine Animated Model) Dwarf with three bumpy materials using one light.

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!