存储3d模型的骨骼运动 [英] Store skeleton movement of a 3d model

查看:61
本文介绍了存储3d模型的骨骼运动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Blender创建了一个带有骨骼的3D模型。现在我想使用visual studio应用程序(C#或C ++)访问这个3d模型。例如,按钮很少。一个是抬起你的左手。一旦我按下它,3d模型的左手正在上升。使用搅拌机,我可以动画这个3D模型,以便左手上升。但我的问题是我的系统需要显示超过50个预先动画的动作(转向左侧等),并且每按一次按钮就需要调用它们。所以我想知道我如何存储这个3D模型,以便我可以打电话。但另一个问题是文件大小的数据库会非常大,因为每个3d模型的大小会很大。但我有一个想法只存储骨架(骨骼)的运动,并使用应用程序有问题地逐帧绑定骨骼运动与3d模型。所以我需要你的帮助才能知道实施这个的可能性,如果你有任何建议,请告诉我。我是学生,这是我的最后一年项目。感谢每一个帮助..

解决方案

你不存储每一帧的动作。您存储位置,称为关键帧,用于移动到的各个部分。然后,您的动画引擎必须根据将零件从当前位置移动到这些位置所需的时间量来逐步计算各个零件的中间位置,并逐帧逐步移动零件,称为插补

I have created a 3D model with bones using Blender. now i want to access this 3d model using a visual studio application(C# or C++). as an example there are few buttons. one is "rise your left hand". once i press it left hand of 3d model is getting rise. using blender i can animate this 3d model so that left hand rising. but my problem is my system need to display more than 50 pre-animated actions (turn head to left side, etc) and need to call them once each buttons press. so i want to know how i store this 3d models so that i can call. but another problem is then database of file size will be very large because of size of each 3d model will be large. but i have an idea to store only the movement of skeleton(bones) and bind the bone movement with 3d models frame by frame problematically using the application. so i need your help to know the possibility of implementing this and if you have any suggestion idea, let me know. i am a student and this is for my final year project. thanks for every helps..

解决方案

You don''t store the movements of every frame. You store the positions, referred to as "keyframes" for various pieces to move to. Your animation engine then has to figure out the intermediate positions of the various parts based on the amount of time it should take to move the parts to those positions from their current positions and incrementally move the parts, frame-by-frame, called "interpolation".


这篇关于存储3d模型的骨骼运动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆