Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: asail0712 on July 07, 2015, 03:16:53 PM

Title: How can I show animated character models in my GLSL Hacker
Post by: asail0712 on July 07, 2015, 03:16:53 PM
I cant find API from guide.
Can I show animated by GLSL Hacker??
Title: Re: How can I show animated character models in my GLSL Hacker
Post by: JeGX on July 08, 2015, 11:03:33 AM
Currently GLSL Hacker has no built-in support for animated characters.
I plan to add the support of animation stored in FBX format in the future.

You can also do animation based on morph-targets. For that, there is a minimal support with the
gh_mesh.do_linear_tweening() function that performs linear move of all vertices between two meshes (start and end targets).
The tween mesh is the mesh that is rendered:

Code: [Select]
gh_mesh.do_linear_tweening(start_mesh, end_mesh, tween_mesh, alpha)