Example #1
0
 public World()
 {
     Camera = null;
     BackgroundColor = new RGBColor();
     Tracer = null;
     AmbientLight=new Ambient();
 }
Example #2
0
        public ShadeRec(World world)
        {
            HasHitObject  = false;
            Hitpoint      = new Point3d();
            Normal        = new Normal();
            LocalHitPoint = new Point3d();
            Ray           = new Ray();
            Depth         = 0;
            Direction     = new Vector3d();
            T             = 0;

            //Chapter 3 only
            Color = new RGBColor(0, 0, 0); //Black

            World = world;
        }
Example #3
0
        public ShadeRec(World world)
        {
            HasHitObject = false;
            Hitpoint = new Point3d();
            Normal = new Normal();
            LocalHitPoint = new Point3d();
            Ray=new Ray();
            Depth = 0;
            Direction = new Vector3d();
            T = 0;

            //Chapter 3 only
            Color = new RGBColor(0, 0, 0); //Black

            World = world;
        }
Example #4
0
 public void DisplayPixel(int row, int col, RGBColor color)
 {
     throw new NotImplementedException();
 }
Example #5
0
 public void DisplayPixel(int row, int col, RGBColor color)
 {
     throw new NotImplementedException();
 }