示例#1
0
 public MediumInterface(Medium inside, Medium outside)
 {
     Inside  = inside;
     Outside = outside;
 }
示例#2
0
        protected Camera(AnimatedTransform cameraToWorld, double shutterOpen, double shutterClose, Film film, Medium medium)
        {
            CameraToWorld = cameraToWorld;
            ShutterOpen   = shutterOpen;
            ShutterClose  = shutterClose;
            Film          = film;
            Medium        = medium;

            if (CameraToWorld.HasScale())
            {
                // todo:
                //Warning(
                //  "Scaling detected in world-to-camera transformation!\n"
                //"The system has numerous assumptions, implicit and explicit,\n"
                //"that this transform will have no scale factors in it.\n"
                //"Proceed at your own risk; your image may have errors or\n"
                //"the system may crash as a result of this.");
            }
        }
示例#3
0
 public MediumInterface(Medium medium)
 {
     Inside  = medium;
     Outside = medium;
 }