Character Animation - proposing a better way.

View previous topic View next topic Go down

Character Animation - proposing a better way.

Post  sgreenwalt on Mon Jun 08, 2009 4:00 am

If you think this is a good idea, I will write it.

One problem with MD2 is that for every frame, it saves ALL vertex data . . . even for vertices that are static.

This results in much data redundancy and a larger file.

Maybe I am wrong about the above . . . but after reviewing the MD2 export script in Blender . . . I think I am correct.

Maybe we could tweak MD2 like so that.

1. The set of static (unchanging) vertices is specified only once.
2. Changing vertices are recorded frame-by-frame (as usual).

We would then have to update the SIO2 engine so that:

1. With every draw, it always draws the set of static vertices (always going back to that record).
2. Draws the changing vertices as usual.

This would reduce overall file size, and might even slightly improve rendering time.

By the way, the MD2 exporter in Blender (even the supposedly updated one) has serious flaws.

Is there a better option than MD2? Why not create our own (better) format?

What do you think?


Last edited by sgreenwalt on Mon Jun 08, 2009 4:00 am; edited 1 time in total (Reason for editing : typo)

sgreenwalt

Posts : 18
Join date : 2009-04-24
Location : Layton, Utah

View user profile

Back to top Go down

Re: Character Animation - proposing a better way.

Post  sio2interactive on Mon Jun 08, 2009 4:14 am

What I think is that you haven't fully check the SIO2_SDK, a hint... check tutorial15 Wink

And in the next version the hybrid animation system of SIO2 include action strips... meaning that mesh and actions are now in separated file... Wink

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Character Animation - proposing a better way.

Post  sgreenwalt on Wed Jun 17, 2009 8:51 pm

Thanks for pointing me in the right direction.

By the way . . . what you have done is really just . . . amazing . . . astounding . . .

sgreenwalt

Posts : 18
Join date : 2009-04-24
Location : Layton, Utah

View user profile

Back to top Go down

skinned meshes for animated characters?

Post  Hector_2009 on Thu Jul 30, 2009 5:12 pm

Just check version 1.4 and it's very nice to have actions separated from objects. Inside actions, however, all vertices positions and normals are recorded for all keyframes. Just wondering is it possible to have skinned meshes for animated characters, in which case the storage required would be much less and the visual effect could be smoother. Just my 2cents.


Thanks

Hector_2009

Posts : 9
Join date : 2009-06-20

View user profile

Back to top Go down

Re: Character Animation - proposing a better way.

Post  sio2interactive on Thu Jul 30, 2009 5:39 pm

The idea is that you DO NOT insert every frame of the animation... only the one that matters...

And if you really want skeletal animation Im telling you that you cannot have more than 5 rag dolls animated characters...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Character Animation - proposing a better way.

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum