首页 > 代码库 > Ported my old SPH solver in Unity
Ported my old SPH solver in Unity
Here is the link to the web player version,
http://www-scf.usc.edu/~taian/pages/sph/builds/12212014/12212014.html
Weekend project. Just wanted to rejuvenate my graphics programming stuff.
It was originally written in C, not even C++. Most operations are done with entire memcpy, memset..
In C#/Unity..Damn... so slow, guess will have to relearn GPGPU..
把4年前的SPH solver重新写在Unity里了
原本的C openGL程序在C#/Unity里慢了好多,当然你用List比直接memcpy数组要低效很多。。
以后优化优化,看来重新学习GPGPU是必要的了!!!
Ported my old SPH solver in Unity
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。