欢迎来到天天文库
浏览记录
ID:16532690
大小:823.00 KB
页数:103页
时间:2018-08-22
《基于mfc的opengl编程》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、光荣在于平淡,艰巨因为漫长《基于MFC的OpenGL编程》系列文章1,《基于MFC的OpenGL编程》Part1APrimer2,《基于MFC的OpenGL编程》Part2SettingupOpenGLonWindows3,《基于MFC的OpenGL编程》Part3DrawingSimple2DShapes4,《基于MFC的OpenGL编程》Part4DrawingSimple3Dobjects5,《基于MFC的OpenGL编程》Part5Transformations-Rotations,TranslationsandScaling6,《基于MFC的OpenGL编程
2、》Part6KeyboardandMouseControl 7,《基于MFC的OpenGL编程》Part7Animation 8,《基于MFC的OpenGL编程》Part8Colors 9,《基于MFC的OpenGL编程》Part9Lighting 10,《基于MFC的OpenGL编程》Part10TextureMapping 11,《基于MFC的OpenGL编程》Part11Blending,AntialiasingandFog 12,《基于MFC的OpenGL编程》Part12CreatingandUsingDisplayLists 13,《基于MFC的OpenG
3、L编程》Part13Creating2Dand3DText 14,《基于MFC的OpenGL编程》Part14Quadrics 15,《基于MFC的OpenGL编程》Part15Selection 16,《基于MFC的OpenGL编程》Part16Reflection 17,《基于MFC的OpenGL编程》Part17Shadows 18,《基于MFC的OpenGL编程》Part18ReadingobjectsfromtheOBJFileFormat 19,《基于MFC的OpenGL编程》Part19CreatingaVirtualRealityWalkthrough
4、Application 200(请您对文章做出评价)光荣在于平淡,艰巨因为漫长《基于MFC的OpenGL编程》Part1APrimer3D图形学基本概念PerspectivePerspectivereferstotheanglesbetweenthelinesthatlendtheillusionofthreedimensions.ColorsandShadingMovingbeyondlinedrawing,weneedtoaddcolortocreateasolidobject.Shadingreferstothewaythecolorisappliedtothe
5、polygon.ShadingcanbeoftwotypesinOpenGL-FlatorSmooth.LightsandShadowsPlainsolidcolordoesn’tofferenoughrealism.ByapplyingLightingeffectswecanmakeobjectsappearastheywouldinrealitydependingontheirmaterialpropertiesandthelightingparameters.Addingashadowfurtherincreasesrealism.TextureMappingW
6、ithTextureMappingwecanhavewoodgrains,clothtextures,brickliketexturesetcinsteadofplainmaterials.ThistechniqueofapplyinganimagetothesurfaceofapolygoniscalledTextureMapping.TheimageweuseiscalledtheTextureandtheindividualelementsofthetexturearecalledTexels.FogFogisanatmosphericeffectthatadd
7、shazinesstoobjectsinascenedependingonhowfartheobjectsarefromtheviewer.BlendingandTransparencyBlendingisthecombinationofcolorsofobjectsonthescreen.Thiseffectcanbeusedforavarietyofpurposes.Byvaryingtheamounteachobjectisblendedwiththescenewecanmakeobjectslooktransparent.Anti-Alias
此文档下载收益归作者所有