欢迎来到天天文库
浏览记录
ID:40726092
大小:1.13 MB
页数:11页
时间:2019-08-06
《Shadow Mapping for Hemispherical and Omnidirectional Light Sources》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ShadowMappingforHemisphericalandOmnidirectionalLightSourcesStefanBrabecThomasAnnenHans-PeterSeidelComputerGraphicsGroupMax-Planck-InstitutfurInfomatik¨Stuhlsatzenhausweg85,66123Saarbrucken,Germany¨fbrabec,tannen,hpseidelg@mpi-sb.mpg.deAbstractInthispaperwepresentashadowmappingtechniqueforhemisph
2、ericalandomnidirec-tionallightsourcesusingdual-paraboloidmapping.Incontrasttothetraditionalper-spectiveprojectionthisparameterizationhasthebenefitthatonlyaminimalnumberofrenderingpassesisneededduringgenerationoftheshadowmaps,makingthemethodsuitablefordynamicenvironmentsandrealtimeapplications.Byu
3、tilizingprogrammablefeaturesavailableonstate-of-the-artgraphicscardsweshowhowthealgorithmcanbeefficientlymappedtohardware.Keywords:ShadowAlgorithms,ShadowMapping,Dual-ParaboloidMapping,GraphicsHardware.1IntroductionandBackgroundOneofthemostchallengingeffectinthefieldofrealtimerenderingistheaccurat
4、eandfastcalculationofshadows.Formostapplications,e.g.incomputergames,shadowsarestillproblematicduetotheirglobalnature.Inordertodecideifagivensurfacepixelcanbeseenbyalightsourceonehastocheckalargenumberofpotentialoccludersthatmayblockthepathfromlighttosurface.Althoughtherearealargenumberofshadowa
5、lgorithms,onlyasmallsubsetofalgo-rithmsarereallyappropriateforrealtimerendering.Nearlyalltechniquesinthissubsetcanfurtherbecategorizedintotwomainbranchesofalgorithms:ThosewhicharebasedonCrow’sshadowvolumesapproach[3],andthosethatarevariantsofWilliams’shadowmappingtechnique[13].Bothcategorieshave
6、theirprosandcons:Theshadowvolumeapproachiscapableofproducingveryaccurateshadowsduetotheobjectspacecalculation.Foreach(possible)blockerobject,asemi-infiniteshadowvolumeisconstructedwhichdefinesthevolumeinwhichallpixelsinsidecannotbeseenbythelightsource.Althoughtheactualshadowvolumein-outtestcanbeac
7、celeratedbyusinggraphicshardware,theCPUstillhastoperformthetime-consumingtaskofconstructingtheactualshadowvolumes.TheshadowmappingtechniqueontheotherhanddoesnotneedanyCPUtimeatallsinceallstepscanbydirectlyimplementedonthegra
此文档下载收益归作者所有