位置: 编程技术 - 正文

Unity3D - 图形性能优化:角色建模(unity3d图形学)

编辑:rootadmin
Unity官方文档之“图形性能优化-角色建模”的翻译,E文链接。

推荐整理分享Unity3D - 图形性能优化:角色建模(unity3d图形学),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:unity3d效果图,unity3d图文教程,unity3d图形学,unity3d效果图,unity 形变,unity图形界面,unity自带的图形系统,unity图形界面,内容如对您有帮助,希望把文章链接给更多的朋友!

Below are some tips for designing character models to give optimal rendering speed.

下面是一些设计角色模型的小提示,可以优化渲染速度。

Use a Single Skinned Mesh Renderer 使用单个蒙皮网&#;渲染器

You should use only a single skinned mesh renderer for each character. Unity optimizes animation using visibility culling and bounding volume updates and these optimizations are only activated if you use one animation component and one skinned mesh renderer in conjunction. The rendering time for a model could roughly double as a result of using two skinned meshes in place of a single mesh and there is seldom any practical advantage in using multiple meshes.

对于每个角色你应该只使用一个蒙皮网&#;渲染器。Unity使用可视裁剪和更新包围体来优化动画,并且只有组合使用一个动画组件和一个蒙皮网&#;渲染器才激活优化。对于一个模型,使用两个蒙皮网&#;比使用一个的渲染时间会大约增加一倍,并且很少有实际上的好处。

Use as Few Materials as Possible 使用尽可能少的材质

You should also keep the number of materials on each mesh as low as possible. The only reason why you might want to have more than one material on a character is that you need to use different shaders for different parts (eg, a special shader for the eyes). However, two or three materials per character should be sufficient in almost all cases.

Unity3D - 图形性能优化:角色建模(unity3d图形学)

在每个网&#;中,你应该尽可能使用最少的材质。在一个角色上使用多于一个材质的唯一原因,可能是对于不同部位你想使用不能的着色器(比如,对&#;睛使用一个特殊的着色器)。然而,在差不多所有情况下,对一个角色使用2-3种材质应该是足够的。

Use as Few Bones as Possible使用尽可能少的骨骼

A bone hierarchy in a typical desktop game uses somewhere between fifteen and sixty bones. The fewer bones you use, the better the performance will be. You can achieve very good quality on desktop platforms and fairly good quality on mobile platforms with about thirty bones. Ideally, keep the number below thirty for mobile devices and don’t go too far above thirty for desktop games.

在典型的PC游戏中,一个骨架(也就是一个角色)大约使用-个骨骼。用的骨骼越少,性能越好。使用大约个骨骼,你可以在PC平台获得很好的效果,在移动平台也可以获得相当不错的效果。理想情况下,在移动设备上保持个以下的骨骼数量,在PC游戏中不能超过个太多。

Polygon Count 多边形数量

The number of polygons you should use depends on the quality you require and the platform you are targeting. For mobile devices, somewhere between and polygons per mesh will give good results, whereas for desktop platforms the ideal range is about to . You may need to reduce the polygon count per mesh if the game can have lots of characters onscreen at any given time. As an example, Half Life 2 used – triangles per character. Current AAA games running on the PS3 or Xbox usually have characters with – triangles.

你应该使用的多边形数量依赖于你想要的表现效果和目标平台。对于移动设备,一个网&#;使用-个多边形可以获得好的效果,然而对于PC平台,理想的数量是-个。如果你的游戏需要在屏幕上同时显示很多角色,那么你需要减少每个网&#;的多边形数量。比如,《半条命2》每个角色使用-个三角形。目前在PS3或Xbox 上的3A游戏常常每个角色使用-个三角形。

Keep Forward and Inverse Kinematics Separate 将FK和IK分开

When animations are imported, a model’s inverse kinematic (IK) nodes are baked into forward kinematics (FK) and as a result, Unity doesn’t need the IK nodes at all. However, if they are left in the model then they will have a CPU overhead even though they don’t affect the animation. You can delete the redundant IK nodes in Unity or in the modeling tool, according to your preference. Ideally, you should keep separate IK and FK hierarchies during modeling to make it easier to remove the IK nodes when necessary.

导入一个动画的时候,模型的IK(反向运动学)节点会被烘培成FK(正向运动学)节点,因此,Unity不需要IK节点。然而,如果模型中存在IK节点,虽然它们并不影响动画,但是会消耗CPU。可以根据你的喜好,在Unity或建模工具中删除多余的IK节点。理想的,你应该在建模的时候保持IK和FK结构独立,这样在需要的情况下,你可以删除所有IK节点。

Unity3D - 图形性能优化:渲染统计窗口 Unity官方文档之图形性能优化-渲染统计窗口的翻译,E文链接。RenderingStatisticsWindow渲染统计窗口TheGameViewhasaStatsbuttoninthetoprightcorner.Whenthebuttonispressed,anover

【论】Unity的Input应用(一) 使用Unity做下列的功能实现:鼠标点击下去,出现抹布,抹布随着鼠标的移动而移动。当抹布擦拭神灯后,会出现灯神。//鼠标版if(Input.GetMouseButtonDown(0))

unity3D按下同一键切换不同的相机两种方法 如何按同一个键来回切换不同的摄像机呢?首先建立两个相机放在不同的物体下用来分别摄到不同的物体。如图示在sphere下的图如下:在这个相机上绑

标签: unity3d图形学

本文链接地址:https://www.jiuchutong.com/biancheng/382513.html 转载请保留说明!

上一篇:在谈Unity3d webPlayer安全沙箱机制之webservices配合(在谈到民族这个概念是我们一再指出)

下一篇:Unity3D - 图形性能优化:渲染统计窗口(unity3d效果图)

  • 预付款发票能入账吗
  • 基本税种有哪些税种
  • 税额怎么调整
  • 自动售货机进货渠道
  • 冲红发票怎么写备注
  • 公司开办费有哪些
  • 无形资产特许权使用费怎么做账
  • 投资子公司的现金流量
  • 出租固定资产取得的净收益计入什么科目
  • 劳务分包异地用预缴税款吗?
  • 预缴税款怎么操作
  • 开具发票只有票号可以吗?
  • 上月未抵扣完的进项税本月可以抵扣吗
  • 增值税普票没有地址电话开户行信息可以吗
  • 改变使用用途 规划处罚
  • 开票系统怎么改管理员名字
  • 房产税原值包括印花税吗
  • 小规模投资创业
  • 先开票还是先预约
  • 现金清查制度的内容包括
  • 企业所得税汇算表
  • 固定资产弃置费怎么算
  • 出口退税业务流程顺序
  • i912900k用什么主板好
  • 开发票没有银行回单可以入帐吗?
  • 会计如果做假账
  • 固定资金的特点
  • npm sill idealTree buildDeps 安装踩坑指南(详细版)
  • 对于接受捐赠的固定资产,其成本应当依次按照
  • PHP:session_decode()的用法_Session函数
  • 坦桑尼亚塞伦盖蒂公园有什么动物
  • 购车的进项税怎么抵扣
  • 跨的基本功有哪些
  • 换货和退货有什么区别
  • 子公司减资母公司怎么算
  • 嵌入式软件产品税率
  • 企业可以将自己辞退吗
  • 母公司破产子公司债权人申报
  • 有问题的原始凭证是什么
  • 新会计准则对财务工作的影响
  • 没有实收资本的股权原值
  • 公司转账到个人账户可以撤销么
  • 个体工商户可以开增值税专用发票
  • 以摊余成本计量的债权投资与以公允价值计量且其变动
  • 管理费用明细科目大全
  • 无形资产175加计扣除例题
  • 押金和租金
  • 金融企业有
  • 基层工会经费收入来源包括
  • 免税收入如何做分录科目
  • 报关金额多报了900美金怎么办
  • 固定资产的税法处理与会计处理的差异50字
  • 培训费做什么会计分录
  • 产品成本核算有哪些方法
  • 盈余公积是资产类科目吗
  • 新成立公司年初余额
  • mysql如何实现主从复制的具体流程
  • win10的数据使用量是什么
  • 迁移windows
  • 比较简单的字
  • GrooveMonitor.exe是什么进程?GrooveMonitor.exe可以禁用卸载吗?
  • xp软件自动启动
  • MacOS X Yosemite升级后postgresql启动报错的解决办法
  • windowsxp的开始菜单
  • win7系统连接无线鼠标
  • windows10使用ie浏览器
  • 误删了一些文件电脑不能正常启动了
  • nodejs实战教程
  • bootstrap步骤
  • shell 递归
  • 处理及遍历xml文件怎么做
  • 电脑怎么自动清除垃圾
  • javascript总结笔记
  • jquery点击按钮左右滚动效果
  • 空调设备税率多少钱
  • 股权转让申报期限
  • 如何加强税务系统财务管理工作
  • 200平交多少契税
  • 缴纳了车辆购置税能退吗
  • 车船使用税减免法律规定
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设