SandFall动画WPF [英] SandFall animation WPF

查看:106
本文介绍了SandFall动画WPF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我需要创建一个包含大量沙粒的SandFall,沙子会流到底部.应用程序应该具有一些现实的物理原理.这有可能吗?

我尝试使用Farseer Physics Engine进行此操作,但是该应用程序的运行速度太慢.
而且,我应该从哪里开始?

谢谢.
-
Eugene.

Hello,
I need to create a SandFall with lots of sand grains, and the sand can flow to the bottom. Application should have some realistic physics. Is this something thats possible?

I tried to do that with Farseer Physics Engine, but the application worked too slow.
And also, where should I start?

Thank you.
-
Eugene.

推荐答案

好主意.现在,您应该从估计pf开始,您希望模型中有多少个沙粒,以及仅该沙团模型可能需要多少内存.忘记渲染动画,先关注模型.恐怕要说,最初的估计可能会让您失望.

—SA
Great idea. Now, you should start from estimate pf how many sand grains do you want in your model and how much memory just the model of the sand mass may take. Forget about rendering of the animation, focus on the model first. I''m afraid to say, the first estimations may disappoint you.

—SA


这篇关于SandFall动画WPF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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