欢迎来到天天文库
浏览记录
ID:40058534
大小:147.33 KB
页数:48页
时间:2019-07-18
《DirectX Tutorial》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、[counter]djdirectxtut.html:Lastupdated21April1999.hitssince23Nov1997GameProgrammingwithDirectXCopyright(C)DavidJoffe1997-1998.Menu:●DisclaimerReadthisbeforeyougetyourlawyerstocallme.●IntroductionOverviewofthistutorial.●TutorialThetutorialitself.●DownloadDownloadzippedversionofthistutorialforofflin
2、eviewing.●ResourcesLinkstootheronlineDirectXresources.●FAQFrequentlyAskedQuestions.DisclaimerThisdocumentandallfilesandcodeprovidedwithitareprovided"asis"andwithoutanywarrantyatall,noteventheimpliedwarrantyoffitnessofuseforanyparticularpurpose.IamNOTresponsibleforanyharmthatmightcomefromuseormisus
3、eofeitherthisdocumentoranyofthefilesavailablefordownloadfromthissite.Neitheristhereanyguaranteethattheinformationinthisdocumentiscorrect.Ifyoudonotagreetothis,leavethissitenow.IntroductionTargetaudience:C/C++WindozeprogrammerswhowanttolearntowriteapplicationsthatuseMicrosoft'sconfusingAPI,DirectX.
4、ThetutorialusesMFC,butmostofthestuffisMFC-independent.Contributing:Ifanyoneoutthereisinterestedincontributingtothistutorial(Iwouldlovetomakeitbetterbutamlimitedbytime/energyconstraints)thenpleaseletmeknow(feedback.html.)Bugs:Ihavebeenmadeawareofacoupleofbugsinthecodesample.Onedayfarinthefuturewhen
5、IfindtimeIwillfixthem.Pleaseletmeknowifyoufindanymistakesinthearticle.1999/04/20:Ihaveaddedanewnot-quite-completesample,ddsamp(noMFC,phew!).ThisdemonstratesthePutPixelmethoddescribedin5.1.2.ImadeitwithVisualC++6,butifyouhaveanincompatiblecompileryoushouldstillbeabletojustthesourcefilesinanyproject
6、youcreate.SomewordsaboutDirectX:ThenextfewparagraphsconstitutemycommentaryandcritiqueofDirectX.Iamsoap-boxing;soyoucanskiptherestofthissectionifyoudon'twanttohearmyrants.IwrotethefollowingparagraphlastDecember1998.Iknowthistutorialisabitbrief,somewhatinadequateandhasafewbugs,butatthemomentI'veprac
7、ticallystoppeddoinganyprogrammingusingDirectX,andhavethusalsoforthemomentstoppedupdatingthistutorial.IgrewtodisliketheDirectXAPI;itisbulky,itisovercomplicated,itisproprietary,itispoorlydesigned,andthereisnotechni
此文档下载收益归作者所有