OmniEmitter.cpp

Go to the documentation of this file.
00001 /**<!-------------------------------------------------------------------->
00002    @file   OmniEmitter.cpp
00003    @author Travis Fischer (fisch0920@gmail.com)
00004    @author Matthew Jacobs (jacobs.mh@gmail.com)
00005    @date   Fall 2008
00006    
00007    @brief
00008       Point emitter / light which emits light uniformly in every direction, 
00009    defined at a single point in 3-space (omnidirectional)
00010    <!-------------------------------------------------------------------->**/
00011 
00012 #include "OmniEmitter.h"
00013 #include "Material.h"
00014 
00015 SpectralSampleSet OmniEmitter::getLe(const Vector3 &wo) {
00016    return m_radiantExitance / (4 * M_PI);
00017 }
00018 

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6