Beta 1


Title A comparison of shadow algorithms
Author Sindholt, Joen
Supervisor Christensen, Niels Jørgen (Department of Informatics and Mathematical Modeling, Technical University of Denmark, DTU, DK-2800 Kgs. Lyngby, Denmark)
Institution Technical University of Denmark, DTU, DK-2800 Kgs. Lyngby, Denmark
Thesis level Master's thesis
Year 2005
Abstract Because shadows are very important in computer generated images, a lot of different algorithms for shadow generation have been proposed. However two algorithms namely Shadow Maps[WILL78] and Shadow Volumes[CROW77] are the mostly used for real-time purposes, and many of the current shadow algorithms are built upon these. While many game-engines choose a single algorithm for shadow generation we look into the possibility of using multiple algorithms, choosing the best based on the current scene at hand. The idea is, that the choice of algorithm might be done automatically at run- time or at least be specified as a parameter at design time. To do the above, we implement and analyze four di erent shadow algorithms which generates hard shadows, and look into the strengths and weaknesses of the four. We will also look into how to choose the appropriate algorithm depending on scene properties. An application is created allowing to choose among the different algorithms during runtime, enabling easy overview of the differences. It is found, that none of the four algorithms are perfect with regard to all aspects of shadow generation, as they focus on di erent problems. It is also found, that objectively measuring how good a specific algorithm is, seems to be an almost impossible task, and it is concluded that choosing algorithm at design time seems a better approach for choosing the right algorithm. The four algorithm examined in this thesis are the Shadow Map algorithm introduced by L.Williams [WILL78], the Shadow Volumes algorithm introduced by Frank Crow [CROW77], Perspective Shadow Maps by Marc Stamminger and George Drettakis[SD02] and a hybrid algorithm using ideas of both Shadow Maps and Shadow Volumes by Eric Chan and Fr edo Durand [CD04].
Imprint Department of Informatics and Mathematical Modeling, Technical University of Denmark, DTU : DK-2800 Kgs. Lyngby, Denmark
Fulltext
Original PDF imm3952.pdf (2.21 MB)
Admin Creation date: 2006-06-22    Update date: 2012-12-19    Source: dtu    ID: 185872    Original MXD