MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FormFactorDiffToDiff

Function FormFactorDiffToDiff

src/utils/vrad/vrad.cpp:1103–1110  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Computes the form factor from a differential element to a differential element. This is okay when the distance between patches is 5 times greater than patch size. Lecture slides by Pat Hanrahan, http://graphics.stanford.edu/courses/cs348b-00/lectures/lecture17/radiosity.2.pdf ----------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MakeTransferFunction · 0.85

Calls 3

VectorSubtractFunction · 0.50
VectorNormalizeFunction · 0.50
DotProductFunction · 0.50

Tested by

no test coverage detected