FlightGear多屏显示调试_第1页
FlightGear多屏显示调试_第2页
FlightGear多屏显示调试_第3页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、MultipleMonitorsinFlightGear:QuickandDirtyTableofcontentsIHtllIIJ=d,laJK<B-IJdla-4faAIGHdJiaIaL-InIalaA4,LBifl-&AJJfI|&<mK1aKIJ-1<*!<!<I&IJh-IJla-|_ALhLJn.1caIKILLJLIPiziKmvhcmuftiHirsLii+卜卜“USim(henutter事ithniiHvcFdjiL,g,财“一,哥3土“-2Stmiu!«ljivcwithMrtitint!"-naii

2、jwnihjm.,3SciikSiLdvc,“_3ILIL3GJ3IQ!JJ«1I-LL91.1GIBKAA>!,B>flLJLI.&hBI-I_13_B1HILJI,a£-liLaLLaMalIbL9JJl_ILflL.IJ.I:nLJIzL-ilBJaLIIBHJJ!JL>1ImI.HJd<LBBiJLImprEiveiTiriilSanilwi-Liiiffi、4h<1oL!LI1K,mImI.hLh.1|HLJI4IS4mI34一l_wI!=,-I-*I1_l&LdLA二*|,4laLJ!IILlaUIKJail上=!4

3、.LhliJn_l»I_A4ISli'plHjIkiiJctheo.kK”匕tStcirojscopkflying.-“一Trouhk'sbimH制-,-,.iBr,-,BP,,.7FI骐hnMcvdci*-.-.JirIHlIIIIii.KBJs.JB.Mii4JjUMa(Bfcj4jAfcBajij-majAHiBBij.i.alijB.Ll.liBJLUaUiUBaB44|jBe-la.|tUBBJttlulBJ4.uBauujibjj.1ajxi.ai.jxij.i.HujI.ai.aa.7r4a-iTl-9Sdr-r4-l-!=*r-r-|三rsEa'

4、;iNITrhBS><r-i<4r4bri!e99<i-al*!iei"r-i-rI-bMIFr-TTI-HTAi-gpFTr+ATI-rNetwork.心«一-“5“一7SumniaryLawMa.undidkicumcioiinhirnwiEKMrKIntroductionItj-lhjtulikeits,Mminii心tmedwcquLipmcnland沪心myupMiiHiipknuHvikiFxfiirnigfuGcmpcniujiifniihBuiyoumigliL血wgoddas»u»rinwiiioflUHipum

5、、也xlmojiitDr&tluieyoucnseiupnow皿themforasth>ntime.Thisha.quickunddirtygunli:fiirsellingupmulLipIcriMHiitUKKforFligbtriedrinju-t-IvuinmijickPositionthemonitorsAligningtheimageswillbemucheasierifyoufollowtheseguidelines:Keepthescreensvertical(nottilted.Raiseorlowereachmonitorsothattheircentersa

6、realignedhorizontally(Fig.1.Placethemonitorsateyelevel.Positionallthescreensthesamedistancefromyoureyes.Aimallthemonitorsdirectlyatyoureyes.Inotherwords,yourlineofsightshouldbeperpendiculartothefaceofthemonitorimage.Fig1.AlignhorizontallyoncenterStartthemasterwith-native-fdmThe“master”computeriswhic

7、heveroneyoudesignatetocomputetheflightdynamicsmodel(FDMforthenetwork.Forthistutorial,we'lldesignatethecomputerattachedtothemonitorinfrontandcenterasthemaster.The-native-fdmoptiontellsthemastertosenditsFDMresultstoanothercomputer.Theformis-native-fdm=socket,out,60,IPofslave,5500,udpAddoneoftheseo

8、ptionsforeachslavecomputer.The60referstothenumberoftimespersecondthatthemasterwillsendupdatedFDMinformationtotheslave.The5500istheUDPportnumbertouse.ThisoptioncanbesetintheGUIlauncherbyclickingAdvanced>Input/Output.Startaslavewith-fdmand-native-fdmStarteachslavewiththeseoptions:-fdm=external-nati

9、ve-fdm=socket,in,60,5500,udpNotethedoublecomma-noIPaddressneedstobespecified.The60referstotherateatwhichtheslaveshouldexpecttoreceiveFDMupdatesfromthemasterandshouldmatchthecorrespondingfieldofthemaster's-native-fdmoption.The5500istheUDPportnumbertouse.TheseoptionscanbesetintheGUIlauncheratAdvan

10、cedFlightModelandAdvanced->Input/Output.ScaleslaveIfallyourscreensarethesamephysicalsize,skiptothenextsection.Ifyourslaveandmastermonitorsaredifferentsizes,youneedtoscaletheimagesdisplayedonthescreenstoapproximatelythesamephysicalsize.Ifyourmastermonitorisalreadysettoareasonablefieldofview,don

11、9;tchangeit.Usethex/Xkeyontheslavetozoomitsdisplayinoroutsothatitsimageisthesamephysicalscaleasthemaster.Forexample,usearulertophysicallymeasurethedistancebetweentwoarbitraryinstrumentsontheinstrumentpanel,thenzoomtheslavesothatthedistancebetweenthesametwoinstrumentsisthesame(Fig.2.Fig2.Scaletothesa

12、mesizeMakenoteoftheresultingfieldofviewsothatyoucanputitonthecommandlinenexttimeandnothavetorepeatthisstep.Thenewfieldofviewbrieflyshowsonthedisplaywhenyouzoominorout.Thecommandlinetousethefutureis:-fov=degreesGUIuserscanalsoenterthefieldofviewinAdvanced>Rendering->FOV.PanslaveIfyou'vefoll

13、owedthesuggestionssofar,thenthisfinaladjustmentwillbemagicallysimple.Right-clickthemousetogetintopanviewmode(wherethecursorbecomesadoubleheadedarrow.Avoidpanningupordown.Justpanrightorlefttowheretheimageshouldbe.Youmightwanttopositionyouraircraftonapavedrunwayinpreparationforthisadjustment.Taxialitt

14、ledistancesothatthedistinctrunwaymarkingsappeartobecontinuousfromonedisplaytotheother,asifthemonitorswerewindows.Weavearoundabitandcheckthattherunwaymarkingsflowfromonescreentoanotherasyouwouldexpect.Afteryouestablishthecorrectviewangle,youcanavoidhavingtodothisstepinthefuturebyspecifyingtheangleont

15、hecommandline.UnliketheFOV,thepanangledoesn'tappearonthescreenwhenyouchangeit.Youcandiscoveryourcurrentpananglebybrowsingtheinternalpropertytreeat/sim/view/config/headingoffset-deg.Thecommandlineformattouseinthefutureis:-prop:/sim/view0/config/heading-offset-deg=degreesUsenegativeoffsetstolookto

16、theright,positiveoffsetstolookleft.GUIusersareoutofluck(theAdvanced->Rendering->ViewOffsetsettingandthe-view-offsetcommandlineoptionevidentiallydosomethingelse.ImprovementsandvariationsBestFOVThefieldofview(FOVinasingle-monitorsetupisflexible.Yourbrainunderstandswhatyoureyesseeacrossawiderange

17、ofFOVsettings.Whenyouaddasecondorthirdmonitor,youaremorelikelytonoticedistortionsfromanincorrectlychosenFOVcompoundedacrossmultiplescreens.There'saquickanddirtymethodtodeterminethecorrectFOVifyourmonitorsareimmediatelyadjacenteachotherwithlittleornovisualgapbetweenscreens.Measureorestimatetheang

18、lefromyoureyestotheleftmostandrightmostedgesoftheoverallimage(Fig.3.Dividebythenumberofmonitors.ZoomFig3.FieldofviewStepoutsidethecockpit150oTotalFOV=150oEachmonitorFOV=1503=50oAfteryouselectanewvieworigin,makeanoteofthethreevaluesintheviewlocationGUIsothatyoucanspecifythesevaluesonthecommandlineint

19、hefutureandnothavetorepeatthisexercise.Theformatis:-prop:/sim/view0/config/x-offset-m=meters-prop:/sim/view0/config/y-offset-m=meters-prop:/sim/view0/config/z-offset-m=metersUsepositiveXvaluestomoveyourviewpointtotheright,positiveYoffsetstomovehigher,andpositiveZoffsetstomoveaft.StereoscopicflyingUs

20、ingtheviewlocationadjustmentdescribedintheprevioussection,youcanviewtheworldinthreedimensions.Placetwomonitorssidebysideasclosetogetheraspossible.Shiftthevieworiginofonetotheleft,andtheothertotheright,fortheeffectasshowninFigs.5aand5b.Fig5a.RemotePeruvianAndesinstereo,forcrosyedviewingFig5b.RemotePe

21、ruvianAndesinstereo,fornon-ross-eyedviewingTroubleshootingFlightModelIfthemasterdisplayshowsaninstrumentpanelbutnoscenery,verifythatoption-fdm=externalisnotonthecommandlineorinanyconfigurationfile.IntheGUIlauncher,verifythatAdvanced->FlightModelisnotsettoexternal.Ifaslavestartsupinadifferentparto

22、ftheworldorotherwiseseemstorunindependentofthemaster,verifythattheslaveusestheoption-fdm=external.AnglesIfyoujustcan'tgettheimagestomatchupinitiallyortoremainalignedasyoupitchandrollyouraircraft,thencheckthatyoubeganyouralignmentprocedurewiththefrontcenterdisplaysettoviewdirectlyforwardwithnopit

23、ch.Youcanmovethefrontdisplaydirectlyrightorleftwithnoproblem,butanymovementupordownwillmakeithardertoalignthedisplaysonthesides.AlsocheckthatyoubeganyouralignmentprocedurewiththecenterdisplaysettothecorrectfieldofviewJt'easytosetthecenterdisplaytoafieldofviewtoowide,whichthenstrainstheforgivingg

24、eometryofourquick-and-dirtyapproach.RenderingIftheterrainlooksdifferentonthemasterandslave,orifrunwaysorotherobjectsappeardifferent,checkthatthemasterandslaveusethesamesceneryandobjectsdata.Thisisgenerallyanythingatorbelow$FG_ROOT/data/andat$FG_SCENERY.Thesedirectoryhierarchiescanbereplicatedlocally,orsharedatacommonnetworklocation.Ifthemasterandslaveshowdifferentcloudlayers,ordifferentvisibility,orpositionofthesun,orappeardifferentinotherways,checkthatthemasterandslaveusethesameorcompatibleoptions.Ifthecommandlinesappeartobethesame,checkforoptionsinallthepossibleconfigurationfilessuchasprefe

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论