Weathering Project Code documentation Doug Kavendek May 2006 Photons The weathering is performed by the interaction of particles with the models in the program. We will be calling them photons, as some of the motivation behind the project involved using particles in a manner similar to photon mapping. The photons will move through the world, affected by various forces, from gravity, initial velocity, or the vector field. Collisions with model faces will result in both geometric perturbations as well as adjustments to residues. Model faces and photons can contain residues, which can then be spread around on the model, leaving traces behind. Residue is just a measure of some kind of contaminant on a surface/particle. There are structures for dirt, rust, and moss, but only moss is currently used, to demonstrate how it works. A surface can be initialized to have specific residues, as a photon can be initialized with some residues. Currently, faces start with no residue, and photons start with some moss, and so as photons move around, they deposit some moss. Photons also will pick up residue from the surfaces they encounter. The residue structure also records collision counts for given faces, for testing. Photons can be fired from the camera. In this way, there can be a large number of ac DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO ance that the photon may land on the face, ratᱽ‹Eàƒǀ‹Mø;с๽‹Eԃǀ‹Mø;ࡁռéՀÛEì‹EøÜ၈Ü࡭‹MøÜၱÜd:\~Documents\~Project DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO bug\vector_field.objxϤᘃᄖđ Microsoft (R) Optimizing Compilercwdd:\~Documents\~Projects\Weathering\Finalout\weathering_finalclD:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.execmd-Od -I"C:\Documents and Settings\dkavende\My Documents\~Includes\include" DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO ram Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include" -I"D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include" -Xsrc.\vector_field.cpppdbd:\~Documents\~Projects\Weathering\Finalout\weathering_final\Debug\vc70.pdstreamsize%ᄈ᭼std::_DebugHeapAllocator3ᄈ᳑std::_DebugHeapAllocator::rebindLᄈ᩼std::basic_iostream >Qᄈᥕstd::istreambuf_iterator >ᄈቫstd::_Locinfo&ᄈ᳏std::random_access_iterator_tagᄈᭁofstream$ DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO DEMO :fposQᄈᢹstd::num_get > >Eᄈ᳈std::iteratorGᄈᩛstd::basic_ios >ᄈძstd::_String_base8ᄈᭁstd::basic_ofstream >ᄈᏇstd::_Mutex ᄈᆳstringᄈኬstd::localeᄈኇstd::locale::facetᄈዋstd::locale::_Locimpᄈ኷std::locale::idᄈቂstd::_TimevecᄈႭstd::bad_allociᄈ᧥std::basic_string >::iteratoryᄈᮢstd::basic_string,std::allocator