荣耀彩票代理

  • 热门专题

一个初学者关于vr游戏开发的优化总结

作者:  发布日期:2016-11-09 20:22:03
  • ZUIJINZAIZUOYIGEGUANYUvrYOUXIDEXIANGMU,ZUOWEIYIGEGANGGANGBIYEBINGQIEGANGGANGJINRUZHEIYIXINGYEDEXINSHOU,YOUTAIDUOTAIDUODEDONGXIXUYAOXUELE。JINGGUOZHEIGESANGEYUEDESHIJIAN,ZAIZHENGGETUANDUIDEHEZUOXIA,SUANSHIJIBENWANCHENGLEYOUXIBA,PINGTAISHISANXINGDEgear vr,XIANYOUZAISANXINGGUANFANGSHANGDIANSHANGJIA,QISHIYOUXIXIANZAIHAIBINGBUHENWANSHAN,HENDUObugKENENGHAIMEIXIUFU,YONGHUTIYANYEMEIYOUZUOHAO,DANSHIYOUYUZHONGZHONGYUANYINHAISHISHANGJIALE,HAOPINGLVBUGAO。BUGUOZHEICIYERANGWOXUEDAOLETINGDUODEDONGXIDE,ZAIZHEILIJIUSHAOWEIJILUYIXIA,ZUOWEIYIGEXINSHOUDEJINGYAN,YEXIWANGYIHOUHAINENGDUIZHAOZHEQUZUOYIHOUDEYOUXI。

    荣耀彩票代理ZHEICIYAOJIANGDESHIGUANYUXINGNENGYOUHUAZHEIYIKUAI,YINWEIZHIQIANZHUNBEIZAIoculusSHANGSHANGJIA,DANSHIoculusSHANGJIAYOUGEYINGXINGYAOQIUJIUSHIZAInote4 note5 s6 s7DENGSHOUJISHANGDEYUNXINGZHUNLVBIXUJIEJIN60,ERWOMENDEYOUXIYIKAISHIBINGMEIYOU,YINCIJIUZUOZHEIYIKUAIDEJILU。ZUOvrDEDOUZHIDAO,QISHIvrBINGBUTONGYUPUTONGYOUXI,WOJUEDEZUIZUIBUTONGDEYIDIANJIUSHIvrDEXUANRANSHIPUTONGYOUXIDELIANGBEI,YINWEIYOULIANGGEJINGPIAN,YINCIZAIXINGNENGYOUHUASHANGBIXUXIAHENDADEGONGFU,HENYIHANWOMENZHIHUALEBUDAOYIGEYUEDESHIJIANZUOZHEIYIFANGMIAN,SUOYIQISHIXIAOGUOBUSHITEBIEHAO,ZHINENGSUANJIBENMANZUNENGWANDEYAOQIU,DANDUIYUXUANYUNZHEIGEWENTIHAISHIMEIYOUDEDAOTEBIEHAODEHUANJIE。

    荣耀彩票代理ZHEILIBIXUSHUODAOunityZIDAIDEYIGEGONGJUWEIZHIWEIYUWindows->profiler,ZHEIGEGONGJUZHUYAOKEYIKANDAODANGNIDEYOUXIZAIYUNXINGDESHIHOU,SHENMEWUPINHUOZHENAGEJIAOBENZHANYONGLETEBIEDADESHIJIAN,DAOZHINIDEYOUXIBIANDEHENMAN,YOUYUWOZUODESHIXUANRANFANGMIANDEYOUHUA,SUOYIZHUYAOYEJIUSHIKANKANCPU ,GPUHERenderSANGEXUANXIANGLIMIANDENEIRONG,RANHOUGENJUFANKUIJIEGUOQUZUOSHIQING。

    WOGERENJUEDE,YOUHUADEZUIZHUYAODEMUDEYINGGAIJIUSHIJIANSHAODraw CallDEDIAOYONGLIANG,overdrawZHIDEJIUDANGWOMENBAYIGETUXINGDESUOYOUXINXIBAOKUOWEIZHI,FAXIAN,YANSEDENGCHUANDIJIDIANNAO,RANHOUDIAOYONGYIXILIEAPI,BINGBATAMENFANGZHIDAOgpuKEYIFANGWENDEZHIDINGWEIZHI,ZHIHOUDIAOYONGLE_glDrawMINGLING,YIGEMINGLINGJIUSHIYICIDraw call,LIRU,YIGECHANGJINGLIYOUSHUIYOUSHU,WOMENXUANRANSHUIDESHIHOUSHIYONGDESHIYIGEmaterialYIJIYIGEshader,DANXUANRANSHUDESHIHOUJIUXUYAOYIGEWANQUANBUTONGDEmaterialHEshader,NEIMEJIUXUYAOCPUZHONGXINZHUNBEIDINGDIANSHUJU、ZHONGXINSHEZHIshader,ERZHEIZHONGGONGZUOSHIJISHIFEICHANGHAOSHIDE。YINWEI,JIANSHAODraw Call JIUCHENGLEZHONGZHONGZHIZHONGDEBUZHOU。XIAMIANSHIWOMENYOUXIZUODEYIXIESHIQING。

    1,ZAIDAJIANMOXINGFANGMIAN,YIKAISHIWEILEQIUBIZHEN,YINCIZAIJIANMOSHANGDOULIQIUWANMEI(RANERWOMENZUMEIYOUZHUANYEDE,DOUSHICHENGXUYUANZHUANXINGJIANMO),SUOYIZUODEBINGBUZENMEHAOKANDANSHIMIANSHUTEBIEDUO,ERMIANSHUDUOJIUHUIDAOZHIXUANRANCISHUBIANDUO,ZHEIYANGHENHAOXINGNENG,YINCIZAIZHIZUODEZHONGQIWOMENJIUYISHIDAOZHEIGEQUEDIAN,SUOYIJIUKAISHIDAFUDUDEGAIMOXING,JIBENMEIGEMOXINGDOUHUIKANYIBANDEMIAN,DANSHIZAISHOUJINEIDEXIAOGUOKANQILAIYEBINGBUSHITEBIECHA,RANERHUIYOUYIXIEDIFANGKENENGKANQILAIBINGBUSHITEBIEBIZHEN,YINCIJIUYONGLEFAXIANTIETUQUGENGJINYIBUYOUHUABIAOMIAN。ZAIDAOHOUQI,YOUYUCHANGJINGNEIWUPINDUOLE,SUIRANDANGEMOXINGDEMIANSHUSHAOLE,DANRENGRANBUNENGJIANDIdraw call DEDIAOYONGSHU,YINCIWOMENYOUZUOLEYICIMOXINGXIUGAI,ZHEIYICI,JIUSHIHEBINGCAIZHIQIU,JIBENSHANG,WOMENBAMEIGECHANGJINGLIMIANSUOYOUJINGTAIDEWUPINDOUHEBINGLE,ZHEIJIANSHIQISHIunityHAOXIANGYOUYOUZIDAIDEHEBINGTIETUDEGONGJU,DANWOMENMEIYONGDAO,HAISHIRANGJIANMORENYUANBACAIZHIQIUHEBING,BINGQIEBACHANGJINGNEIDEWAIQIAOYEHEBINGLE,JINGGUOZHEIGEFANGSHI,WOMENDEdraw callDIAOYONGLIANGYOUZAICIJIANBANLE。

    2,ZAICHANGJINGDEYOUHUASHANG,WOMENZHUYAOYUNYONGLEHONGBEIJISHU,ZAIunity,SUIRANSHISHIGUANGZHAOKEYIDAILAITEBIEHAODETIYANXIAOGUO,DANSHI,GENDIANNAODUANDEBUYIYANG,SHOUJIDUANYOUYUcpuBINGBUSHISHIFENQIANGDA,YINCISHISHIGUANGTAIDUOHUIDAOZHIXUANRANCISHUDADAZENGJIA,ZUIZHONGHUIFANYINGZAIHUAMIANDOUDONGSHIFENLIHAI,BINGQIEKADUNXUANYUNGANHENQIANG,YINCI,ZAIWOMENDEYOUXIZHONG,ZHIYOUYIGESHISHIGUANGZHAO,QITADEGUANGZUOWEIHONGBEIGUANGZHAO,ZAIZHEILIJIUBIXUSHUODAOYIGEGUANGZHAOTANZHEN(lightprobe),ZHEIGEDONGXIDEZUOYONGJIUSHIYONGYUJINGTAIHONGBEIZHONG,DUIFEIJINGTAIWUTICHANSHENGYIGEMONIGUANGZHAO。ERZHEIGEGUANGZHAOBINGBUSHIDONGTAIDE,ERSHIJINGTAIDE,CONGYOUXIYUNXINGSHIJIUXUANRAN,ZAIYOUXIGUOCHENGZHONGBINGBUHUIZHONGFUXUANRAN,ZHEIYANGZUODEHAOCHUJIUSHIZHIYOUZAIYOUXIKAISHISHIJIUZHIZUOYICIRANHOUJIUMEIYOUZAICIDUINEIXIEBEIBIAOJIGUODEWUPINJINXINGXUANRAN,ZHEIYIBUFENBINGBUSHIWOFUZEDESUOYIZHILEJIEXIA,DAZHIDEZUOFAJIUSHIZAISHIDANGDEWEIZHITIANJIAGUANGZHAOTANZHEN,RANHOUBAMEIGEJINGTAIDEWUPINDEstaticDAGOU(ZHEILIBIXUZHUDINGDAODESHIRUGUOCHANGJINGYOUYONGDAOZIDONGXUNLUHUOZHESHIQITADEDONGXIZEXUYAOBADUIYINGDEXUANXIANGGOUQUDIAO),RANHOUXUANZEwindows->lightingLIMIANYOUGEsceneLIMIANDEbuildJIUKEYI,ZHEILIXUYAOZHUYIDEYOULIANGDIAN,YIDIANSHIZAIwindows->lightingZHONGMORENDEHUAYOULIANGGEDONGXISHIGOUXUANDE YIGESHIprecomputed realtime giHEbaked gi,ZHEILIWOMENXUYAOBADIYIGEDEGOUQUDIAOYINWEIZHEIGESHIGUANYUSHISHIGUANGDE,DIERGEJIUSHIYOUDESHIHOUKENENGZAIXUANRANWANCHENGHOUDECHANGJINGZHONGWUPINBIAOMIANHUIYOULUANLUANDE,ZHEISHIYINWEIUVDEYUANYIN(JUTIDEYEBUTAIQINGCHU),ZHEISHIXUYAOZHAODAOWUPINDEMOXINGZAITADEGenerate Lightmap UVGOUXUANJIUKEYILE。CIWAIJIUSHIpixel lightDESHULIANG,WOMENDEYOUXILIMIANSHI1,ZHEIGEDESHEZHIFANGSHISHIZAIeditLIMIANDEproject setting LIMIANDEqualityLI,ZHEILIMIANYOUHENDUODONGXIDOUKEYICAOZUO,BAOKUOFANGJUCHIDEYIXIE,HAIYOUYINYINGXIAOGUODE,HAIYOUQITAYIXIE。

    荣耀彩票代理3,ZAIDAIMAFANGMIAN,JINLIANGSHAOZAIupdateYONGgameobject.findZHEIGEHANSHU,HAOXIANGZHEIGEHANSHUSHIBIANLISHIDEXUNZHAOWUPIN,ZHEIYANGHUIJIANGDIXINGNENG,WOMENCAIYONGDEFANGFASHIZAIDINGYIDESHIHOUDINGYIYIGEGONGYOUDEgameobjectHUOZHEKEJIANDESIYOUgameobject,RANHOUZAIMIANBANZHONGBADUIYINGWUPINLADAOXIANGYINGWEIZHI,ZHEIGEFANGFAHAOXIANGYEBINGBUSHIZUIHAO,TINGYIGEDASHENSHUOZUIHAODEFANGSHIYINGGAISHIZAIYIKAIDESHIHOUJIUDINGYILEBINGQIEfindHAO,ZHIHOUJIUBUZAIZUOCHAXUNDECAOZUO,ZHEIYANGDEDAIMAYEBUHUITEBIELUAN。RANHOUJIUSHISHAOYONGupdateHANSHU,ZHIYUWEISHENMEWOYEBUSHITEBIEQINGCHU,WOMENHUAZAIDAIMASHANGDESHIJIANBINGBUSHITEBIEDUO。

    荣耀彩票代理4,SHIYONGZHEDANGTICHUJISHU,ZHEIGEJISHUYESHIunityZIDAIDESHIFENQIANGDADEYIKUANJISHU,ZHEIYIJISHUZHUYAOSHIJIANGWOMENDECHANGJINGFENCHENGXUDUOGEXIAOKUAI,RANHOUJIANGSHEXIANGJIKANDEDAODEDIFANGDEWUPINXIANSHICHULAI,KANBUDAODEJIUBUXIANSHI,ZHEIGEDIFANGQISHIYEBUSHITEBIENANCAOZUO,YESHIYAOXUANZEstaticLIMIANDEOccludee static,RANHOUZAIDIANKAIWindows->OcclusionCullingLIMIANSHEZHIbakeDEDAXIAO,RANHOUDIANJIbakeJIUKEYILE,ZHEILIYOULIANGPIANJIESHAOZHEDANGTICHUDEWENZHANGKEYICANKAO:

    http://docs.unity3d.com/Manual/OcclusionCulling.html

    http://bbs.9ria.com/thread-216913-1-1.html

    荣耀彩票代理QISHI,HAIYOUYIMENJISHUJIUSHILODJISHU,DANSHIYOUYUWOMENDEYOUXICHANGJINGBINGBUSHITEBIEDA,SUOYIJIUMEIYOUYONGDAOZHEIYIJISHU,ZHEIYIJISHUDEZUOFASHIXUYAOZAIJIANLIMOXINGDESHIHOUJIANLIANGGEMOXING,YIGEMIANSHUDUO,JIAOWEIBIZHENDE,YIGEMIANSHUSHAO,JIAOWEICUCAODE,ZAICHANGJINGZHONG,DANGSHEXIANGJILIWUPINYUANDESHIHOUJIUSHIYONGMIANSHUSHAODEMOXING,JINDESHIHOUJIUSHIYONGMIANSHUDUODEMOXING,ZHEIYEKEYIYOUHUAYOUXIDEXINGNENG,DANSHIRUGUOCHANGJINGTAIXIAOYEMEIYOUSHENMEZUOYONG,YINCIJIUMEIYONGLE。

    QITADEYIXIEXIAODEYOUHUA:

    荣耀彩票代理1,ZAICHANGJINGZHONG,JINLIANGBUYAOYONGDAOmesh collider,YINWEIZHEIGEHENYINGXIANGXINGNENG;

    荣耀彩票代理2,YOUYUSHOUJIJIAZAICHANGJINGHENMAN,YINCIZAIYOUXISHEJIZHONGDEDIYIGECHANGJINGZUIHAOXUANYONGBIJIAOJIANDANDE,RANGWANJIAKEYIYIKAISHIJIUJINRUYIGEKESHIDECHANGJINGERBUSHIYIZHIHEIPINGDENGDAININDEZHUCHANGJING;

    ,YOUYUZAISHOUJIDUAN,SHEXIANGJIDEYIDONGHUIZAOCHENGJIAODADEXUANYUNGAN,YINCI,ZUIHAOJIUSHISHEXIANGJIYIDONGDEMANDIAN,BINGQIESHEXIANGJIZHICHAOZHEYIGEFANGXIANGXIANXINGYUNDONGBUYAOJIASUYUNDONGBINGQIEYIDONGDESHIJIANBUYAOTAIZHANG(ZHEISHIZAIYIPIANWENZHANGSHANGKANDAODE,WOMENDEYOUXIBINGMEIYOUYONGDAO);

    4,unityZIDAIDEMecanimDONGHUAXITONGYEYAOJINLIANGSHAOYONG,ZUIHAOYIGEJINGTOULIBUYAOTONGSHICHUXIANDUOGEDAIYOUanimatorDEWUPIN,ZHEIGEQINCEYEHUIYINGXIANGSHOUJIDUANDETIYAN。

    荣耀彩票代理RANHOUXIANGSHUOYIDIANJIUSHI,LINGYIGEXINGNENGYOUHUADEFANGXIANGJIUSHIGUANYUshaderDE,RANHOUZHEIGETAINAN。。。WOMENXIANZAIHAIBUHUI,SUOYIZUOCHUDEXIAOGUOYEBUSHITEBIEHAO,ZHEILIWOYAOTUIJIANLINGYIKUANTONGKUANDEYOUXIJIAOJUEMINGJIXIONG,YINGWENMINGJIAOdead secret,ZHEIKUANYOUXIZHENDEZUODETEBIEHAO,ZHEILIYOUTAMENYOUXIDEYIXIEGUANYUXINGNENGFANGMIANSHIRUHECHULIDE,FENXIANGJIDAJIAXUEXIYIXIA。

    http://robotinvader.com/blog/

    荣耀彩票代理ZUIHOUZAITUIJIANYIGEWANGZHANSHIZUOWEICHUXUEZHE(YEJIUSHIWOZHEIZHONGCAINIAO),BUZHIDAOMOUGEHANSHUSHIGANMAYONGDESHICHAXUNDEWANGZHAN,CHUXUEDEDUOXUEXIEHANSHUGANJUEYEMEIYOUSHENMEHUAICHU。

    荣耀彩票代理http://wiki.ceeger.com/ceeger.php

    XIWANGWOZHEIPIANWENZHANGNENGZAIZHEILIPAOZHUANYINYU,YEXIWANGDASHENMENNENGBANGWOZHICHUWODECUOWUHEBUZU,HUOZHESHIJIWODIANJIANYI,YINWEIQISHIDAOXIANZAIWEIZHI,SUIRANYOUXIJIBENWANCHENGLE,MOUXIECHANGJINGDEZHENLVYENENGJIBENBAOCHIZAI60,DANHAISHIXUYAOHUAHENDAGONGFUZAIZHEIYIFANGMIAN。DAJIABANGMANGZHIDIANZHIDIAN。

About IT165 - 广告服务 - 隐私声明 - 版权申明 - 免责条款 - 网站地图 - 网友投稿 - 联系方式
本站内容来自于互联网,仅供用于网络技术学习,学习中请遵循相关法律法规