Exemplo n.º 1
0
 static SpriteContext()
 {
     XScalingInterpolator = new Interpolator();
     XScalingInterpolator.SetNumberOfInterpolationPoints(1);
     YScalingInterpolator = new Interpolator();
     YScalingInterpolator.SetNumberOfInterpolationPoints(1);
 }
Exemplo n.º 2
0
 static SpriteContext()
 {
     XScalingInterpolator = new Interpolator();
     XScalingInterpolator.SetNumberOfInterpolationPoints(1);
     YScalingInterpolator = new Interpolator();
     YScalingInterpolator.SetNumberOfInterpolationPoints(1);
 }
Exemplo n.º 3
0
        static Triangle()
        {
            FlatInterpolator = new Interpolator();
            FlatInterpolator.SetNumberOfInterpolationPoints(4);

            GouraudInterpolator = new Interpolator();
            GouraudInterpolator.SetNumberOfInterpolationPoints(12);

            TextureInterpolator = new Interpolator();
            TextureInterpolator.SetNumberOfInterpolationPoints(8);
        }
Exemplo n.º 4
0
        static Triangle()
        {
            FlatInterpolator = new Interpolator();
            FlatInterpolator.SetNumberOfInterpolationPoints(4);

            GouraudInterpolator = new Interpolator();
            GouraudInterpolator.SetNumberOfInterpolationPoints(12);

            TextureInterpolator = new Interpolator();
            TextureInterpolator.SetNumberOfInterpolationPoints(8);
        }
Exemplo n.º 5
0
		static SimpleSpanRenderer()
		{
			DepthInterpolator = new Interpolator();
			DepthInterpolator.SetNumberOfInterpolationPoints(1);
			DepthInterpolator.InitializePoints(DefaultSpanLength);

			GouraudInterpolator = new Interpolator();
			GouraudInterpolator.SetNumberOfInterpolationPoints(5);
			GouraudInterpolator.InitializePoints(DefaultSpanLength);

			TextureInterpolator = new Interpolator();
			TextureInterpolator.SetNumberOfInterpolationPoints(3);
			TextureInterpolator.InitializePoints(DefaultSpanLength);
		}
Exemplo n.º 6
0
        static SimpleSpanRenderer()
        {
            DepthInterpolator = new Interpolator();
            DepthInterpolator.SetNumberOfInterpolationPoints(1);
            DepthInterpolator.InitializePoints(DefaultSpanLength);

            GouraudInterpolator = new Interpolator();
            GouraudInterpolator.SetNumberOfInterpolationPoints(5);
            GouraudInterpolator.InitializePoints(DefaultSpanLength);

            TextureInterpolator = new Interpolator();
            TextureInterpolator.SetNumberOfInterpolationPoints(3);
            TextureInterpolator.InitializePoints(DefaultSpanLength);
        }