Commits

Anonymous committed 7294fbc

Ran 47e6 rays on viz with an obscured source and two scattering centers.

  • Participants
  • Parent commits a91c2f2

Comments (0)

Files changed (1)

File src/emergence.cc

 // The class for storing the emerging rays info
 // $Id$
 // $Log$
+// Revision 1.1  1999/04/17 08:16:07  patrik
+// Initial revision of the Radiative Transfer code
+//
 
 #include "emergence.h"
 #include "matrix.h"
   n_dp=20;
 
   // Create histogram
-  h=new histogram(4,-1.,1.,n_pt,-pi,pi,n_pp,-1.,1.,n_dt,-pi,pi,n_dp);
+  //  h=new histogram(4,-1.,1.,n_pt,-pi,pi,n_pp,-1.,1.,n_dt,-pi,pi,n_dp);
 
 
   // Temporary projection plane
   lensradius=100; // Distance from center to the lens
   f=2; // focal length of the lens
   s=lensradius*f/(lensradius-f); // focus lens
-  R=100; // lens aperture - the lens is so fucking bad at large apertures
+  R=5; // lens aperture - the lens is so fucking bad at large apertures
   scale=xs/(s*2*tan(fov/2)); // image scale in pixels/image plane coordinate
   maxix=xs/(2*scale); // max image plane coords in the image
   maxiy=ys/(2*scale);
 
 emergence::~emergence()
 {
-  if(h)
-    delete h;
+  //if(h)
+  //delete h;
 }
 
 // Adds a ray to the emerging ensemble