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