http://crytek.com/cryengine/presentations/spherical-skinning-with-dual-quaternions-and-qtangents
使用quaternion对skinning进行优化:
- 使用dual quaternion来取代matrix4x3
- 使用quaternion取代vertex stream中的tangnet,binormal项
得到的结果是:
- vertex shader constants削减1/3
- 把vertex中的tangent/binormal/normal项压缩至8byte
DualQuaternion
总体上说会带来性能的提升,具体在:
- 积累transformation会变快
- apply transform会变慢
- shader constant的下降会大幅度提升性能(这里在某些显卡上有一个constant waterfall的情况,所以constant的降低非常有意义)
美术制作这里:
制作动画会从linear变到spherical,所以需要做一些改变。
TangentFrameCompress
这里所谓的tangent frame就是vertex中的tangent/binormal/normal项。
如果完全不做压缩,那就是sizeof(float)*3*3 = 36byte,所有相关压缩之后会降到8byte。
这里是把这个矩阵压缩到一个quaternion,解出t,b,n的方法是:
由于quaternion是normalized,所以quaternion又可以只保留xyz项,w项推算出来,符号不是问题。
这里一个注意就是gpu 浮点数处理0的时候和cpu的ieee不一样,所以如果quaternion的w是0的时候要加一个很小的bias。
分享到:
相关推荐
CRYENGINE是Crytek创建的强大实时游戏开发平台
The GPU Pro: Advanced Rendering Techniques book series covers ready-to-use ideas and procedures that can solve many of your daily graphics-programming challenges. The third book in the series wouldn’...
The GPU Pro: Advanced Rendering Techniques book series covers ready-to-use ideas and procedures that can solve many of your daily graphics-programming challenges. The third book in the series wouldn’...
The GPU Pro: Advanced Rendering Techniques book series covers ready-to-use ideas and procedures that can solve many of your daily graphics-programming challenges. The third book in the series wouldn’...
The GPU Pro: Advanced Rendering Techniques book series covers ready-to-use ideas and procedures that can solve many of your daily graphics-programming challenges. The third book in the series wouldn’...
CRYENGINE is a game engine developed by Crytek for PC, Playstation, Xbox, Android, and iOS. It can be used to create AAA games, movies, high-quality simulations, and interactive applications. It is ...
-Sponza model was downloaded from crytek's website:http://www.crytek.com/downloads/technology/ -Model was tweaked by German Zamorano(http://german01.deviantart.com/) and Kong Foong Ching...
-Sponza model was downloaded from crytek's website:http://www.crytek.com/downloads/technology/ -Model was tweaked by German Zamorano(http://german01.deviantart.com/) and Kong Foong Ching...
<br>3Dfacto Adobe Systems Apple Budapest University of Technology and Economics CGGVeritas The Chinese University of Hong Kong Cornell University Crytek Czech Technical ...
<br>3Dfacto Adobe Systems Apple Budapest University of Technology and Economics CGGVeritas The Chinese University of Hong Kong Cornell University Crytek Czech Technical ...
版本 0.1.1 使用 Qt 框架 4.7 编写的孤岛危机 3 (:copyright: Crytek GmbH) 服务器管理员的独立应用程序; 允许使用 CryHTTP 通信协议管理专用服务器。 执照 C3 外部管理界面是免费软件:您可以根据自由软件基金会...
cryengine 3 crytek 资料
cryengine 3 cookbook crytek 手册
色氨酸该存储库包含CRYENGINE的源代码。 可以在找到有关git入门的说明,以及有关使用启动器项目和git源代码的详细信息。建造为了进行编译,您需要安装: Visual Studio 2015、2017或2019 脚步: 从下载SDK zip。...
-CRYENGINE是Crytek创建的功能强大的实时游戏开发平台。 -Caffe2是一个轻量级,模块化和可扩展的深度学习框架。 -Google的通用Java,C ++和JavaScript库,用于解析,格式化和验证国际电话号码。 -openFrameworks是...
Crytek Sponza - 200 毫秒 建造 要求:MS Visual Studio 2013 只需打开 .sln 文件,设置 x64 模式并按 build。 构建后在 libs/ 中找到 2 个 dll-s 并将它们复制到 x64/Release(Debug),就在 .exe 旁边
-CRYENGINE是Crytek创建的功能强大的实时游戏开发平台。 -Caffe2是一个轻量级,模块化和可扩展的深度学习框架。 -Google的通用Java,C ++和JavaScript库,用于解析,格式化和验证国际电话号码。 -openFrameworks是...
CRYSISFPS.M- 8800GTX SLI 系统上的 CRYTEK 游戏引擎基准测试 图形硬件通常根据它在类似负载下的表现来衡量在密集的 3D 游戏中。 游戏中系统性能的衡量标准是它可以渲染多少帧每秒 (FPS)。 目前,只有一个小消费级...
Screen Space Ambient Occlusion (SSAO) is a rendering technique for efficiently approximating the well-known ... It was used for the first time in a video game in the 2007 PC game Crysis made by Crytek.
稀疏Voxel Octree(Vulkan版) 使用栅格化管线,高效的SVO光线行进器和简单的SVO路径跟踪器的GPU SVO ...Crytek Sponza(2 ^ 10) 圣米格尔(2 ^ 11) 客厅(2 ^ 12) Vulkan(新) 19毫秒 203毫秒 108毫秒 Ope