User:Zthomas22/sandbox

From Wikipedia, the free encyclopedia

Self-Shadowing[edit]

Self-Shadowing is a word that describes a moment where an object casts a shadow on itself. An example of this is when people are sitting around a camp fire and the firelight makes their noses cast shadows on their faces. This term is used in computer graphics when making 3D programs. This is used when a character has dynamic shadows on themselves or objects around them. This technique can cause problems with gpu’s and cpu since they may not be powerful enough to render the images smoothly.

One thing that needs to be specified is whether the shadow being cast is dynamic or static. A wall with a shadow on it is a static shadow. The wall is not moving and so its geometric shape is not going to move or change in the scene. A dynamic shadow is something that has its geometry changes within a scene.

Self-Shadowing methods have trade-offs between quality and speed depending on the desired result. To keep speed up, some techniques rely on fast and low resolution solutions which could result in wrong looking shadows which may be out of place in a scene. Others require the CPU and GPU to calculate with algorithms the exact location and shape of a shadow with a high level of accuracy. This requires a lot of computational overhead, which older machines could not handle.

Techniques[edit]

Height Field Self-Shadowing[edit]

A technique was created where a shadow on a rough surface can be calculated quickly by finding the high points along from the light source's origin and ignoring any other geometric points underneath the peaks. Imagine a sunrise in the mountains where the light hits a peak behind you but you are still in the dark. The computer wouldn’t need to worry about you needing a shadow or light since you are below the peak behind you. “Height Field Self-Shadowing” renders self-shadows on dynamic height fields under dynamic light environments in real time[1].

3D Hair[edit]

Self-Shadowing can be used for interactive hair animation, which is normally very difficult for computers to render due to the major increase in individual geometric shapes that hair can take. Shelf shadowing is a major part of a 3d application that contributes to the impression of volume.[2]

Shadow volume[edit]

Shadow volume is one way that self-shadowing can be used in a 3D image or scene. The method basically makes a 3D object occupy an enclosed volume in a scene where a shadow is being cast. This allows the renderer, or shader, to perform an analysis on whether or not the point or pixel is inside a shadowed area. This eventually allows the program to determine how the object will be lit.

Shadow Maps[edit]

3D shadow mapping is another method which creates approximate shadows from a set position to create very diffuse shadows that may not be entirely accurate.

Example of how a shadow volume shades itself and other objects behind it; referenced from the light source.

Radiosity Normal Mapping[edit]

Chris Green of Valve, a video game maker, says that bump map data is derived from geometric descriptions of the objects surface significant lighting cues due to lighting occlusion by surface details are not calculated[3]. A common fix is to use an additional texture channel to create an ambient occlusion field. This only provides a darkening effect that is not connected to the direction of the light source on acting on the surface[3].

History[edit]

Shadow volume was proposed by Frank Crow in 1977[4]. The advantage of a shadow volume was that is could be used to shadow everything, including itself.

Edits[edit]

I felt that each of your points were very clear and neutral. This topic seems very interesting. The only corrections I made wer punctuation and some small grammar fixes. I would like to know a little more about the history. It seemed like you meant to write about it but ran out of time.

As far as I can tell, each of your sources are scholarly pdfs and books, and are worthy sources of information.

  1. ^ Timonen, V., & Westerholm, J. (2010). Scalable Height Field Self-Shadowing. Computer Graphics Forum, 29(2), 723-731. doi:10.1111/j.1467-8659.2009.01642.x
  2. ^ Bertails, F., Ménier, C., & Cani, M.-P. (2005, May). A practical self-shadowing algorithm for interactive hair animation. Retrieved from http://www-evasion.imag.fr/Publications/2005/BMC05a/BertailsHairRendering.pdf
  3. ^ a b Green, Chris. "Efficient self-shadowed Radiosity normal mapping" (PDF).
  4. ^ Crow, Franklin C: "Shadow Algorithms for Computer Graphics", Computer Graphics (SIGGRAPH '77 Proceedings), vol. 11, no. 2, 242-248.