Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
YafaRay plugin; update roadmap and change list
10-23-2013, 03:43 PM
Post: #138
RE: YafaRay plugin; update roadmap and change list
(10-23-2013 02:08 PM)oort Wrote:  .....
What was updated in the YafaRay 0.1.5 SSS binary?

I added correct number photons to banner info..
Code:
diff --git a/src/integrators/directlight.cc b/src/integrators/directlight.cc
index b91ba51..0e5bbc6 100644
--- a/src/integrators/directlight.cc
+++ b/src/integrators/directlight.cc
@@ -87,7 +87,7 @@ bool directLighting_t::preprocess()
    {
        //success = createSSSMaps();
        success = createSSSMapsByPhotonTracing();
-        set << "SSS shoot:" << nCausPhotons << " photons. ";
+        set << "SSS shoot:" << nSSSPhotons << " photons. ";
        std::map<const object3d_t*, photonMap_t*>::iterator it = SSSMaps.begin();
        while (it!=SSSMaps.end())
         {
diff --git a/src/integrators/pathtracer.cc b/src/integrators/pathtracer.cc
index 62dbbaf..1b9d46e 100644
--- a/src/integrators/pathtracer.cc
+++ b/src/integrators/pathtracer.cc
@@ -96,7 +96,7 @@ bool pathIntegrator_t::preprocess()
    {
        //success = createSSSMaps();
        success = createSSSMapsByPhotonTracing();
-        set << "SSS shoot:" << nCausPhotons << " photons. ";
+        set << "SSS shoot:" << nSSSPhotons << " photons. ";
        std::map<const object3d_t*, photonMap_t*>::iterator it = SSSMaps.begin();
        while (it!=SSSMaps.end())
         {
diff --git a/src/integrators/photonintegr.cc b/src/integrators/photonintegr.cc
index d35001a..942568e 100644
--- a/src/integrators/photonintegr.cc
+++ b/src/integrators/photonintegr.cc
@@ -529,6 +529,8 @@ bool photonIntegrator_t::preprocess()
        //Y_INFO << "SSSMap : " << SSSMaps.size() << yendl;
        //createSSSMaps();
        createSSSMapsByPhotonTracing();
+        // povman:add text to banner info
+        set << "SSS shoot:" << nSSSPhotons << " photons. ";
        std::map<const object3d_t*, photonMap_t*>::iterator it = SSSMaps.begin();
        while (it!=SSSMaps.end())
         {
@@ -881,7 +883,6 @@ colorA_t photonIntegrator_t::integrate(renderState_t &state, diffRay_t &ray) con
                }
            }
        }

The Universe is an infinite equation
Reply


Messages In This Thread
RE: YafaRay plugin; update roadmap and change list - povmaniac - 10-23-2013 03:43 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)