Esempio n. 1
0
 public World()
 {
     Camera = null;
     BackgroundColor = new RGBColor();
     Tracer = null;
     AmbientLight=new Ambient();
 }
Esempio n. 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;
        }
Esempio n. 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;
        }
Esempio n. 4
0
 public void DisplayPixel(int row, int col, RGBColor color)
 {
     throw new NotImplementedException();
 }
Esempio n. 5
0
 public void DisplayPixel(int row, int col, RGBColor color)
 {
     throw new NotImplementedException();
 }