Raytracing
Raytracing
Raytracing
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
RayColor with PenumbraCPoisson2D poissonPoisson.SetMinDistance( sqrt(lightarea) / (2 * sqrt(antialiascnt) )color = ambient lightforeach lightfor p=1 to penumbraCntPP = random point on surface of light (Poisson distribution)L = PP – intersectif shadowfeeler doesn’t hit anythingcolor += contribution from this light / penumbraCntcolor += any reflectionscolor += any transmissionreturn colorCSE 472 Spring 20135916x Antialiasing, 8x penumbra, 1 level of recursionCSE 472 Spring 201360