Jump to content

  • Log In with Google      Sign In   
  • Create Account


Programming modifyable meshes

  • You cannot reply to this topic
4 replies to this topic

#1 ShiroAisu   Members   -  Reputation: 103

Like
0Likes
Like

Posted 27 June 2014 - 08:18 AM

How do games like skyrim allow the meshes to be modified (in the characters face section for instance)?

One way I was thinking about doing it was to simply have shape keys (as they are called in blender), that I could then apply to the mesh with sliders, but 1. I don't know if such a file format exists or if I'll have to come up with a format myself, 2. I don't know if "shape keys" if the official name for what they are (basically they are hierarchical (or not) vertex modifiers), and 3. I don't know if this is the way to go, or if I'm complicating (or simplifying) things here.

Any insight on the subject would be much appreciated, and thank you in advance.



Sponsor:

#2 Tutorial Doctor   Members   -  Reputation: 1521

Like
2Likes
Like

Posted 27 June 2014 - 08:26 AM

I think there are several terms for "shape keys," one of which is "morph targets."

The vertices are gradually approaching a final state from an initial state.

Per-vertex animation.
Shape interpolation.

They call me the Tutorial Doctor.


#3 ShiroAisu   Members   -  Reputation: 103

Like
0Likes
Like

Posted 27 June 2014 - 08:49 AM

Ok thanks, morph targets seems to be the closest to what I was looking for search wise. I still don't know if there is a file type I should be using to store these targets, or if there is no convention regarding that. Should I just export the targets to a file and use it with the mesh it belongs to?



#4 Tutorial Doctor   Members   -  Reputation: 1521

Like
1Likes
Like

Posted 27 June 2014 - 02:43 PM

I've seen morphs done in an XML file before.

Example:
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Morph+animation

I think Poser by Curious labs uses XML also.

They call me the Tutorial Doctor.


#5 Solid_Spy   Members   -  Reputation: 401

Like
0Likes
Like

Posted 01 July 2014 - 09:32 PM

Usually shape keys are used for facial animation, however sometimes bones may be used. Or somewhat of both :3!







PARTNERS