AbsorbentBSDF.cpp
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @file AbsorbentBSDF.cpp 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @author Matthew Jacobs (jacobs.mh@gmail.com) 00005 @date Fall 2008 00006 00007 @brief 00008 Ideal, cool, black-body absorbent material (absorbs all incoming light) 00009 <!-------------------------------------------------------------------->**/ 00010 00011 #include "AbsorbentBSDF.h" 00012 00013 Event AbsorbentBSDF::sample() { 00014 return Event(Vector3(), this); 00015 } 00016 00017 real_t AbsorbentBSDF::getPdf(const Event &event) { 00018 return 0; 00019 } 00020 00021 SpectralSampleSet AbsorbentBSDF::getBSDF(const Vector3 &wi, const Vector3 &wo) { 00022 return SpectralSampleSet::black(); 00023 } 00024
Generated on 28 Feb 2009 for Milton by
1.5.6