Ejemplo n.º 1
0
 public Node(NodeMap map)
 {
     enableMask = false;
     //This is here to make sure that setInput can always be called
     children = new Node[1];
     this.map = map;
 }
Ejemplo n.º 2
0
        public ImageFileNode(NodeMap map, Heightmap heightmap) : base(map)
        {
            //Creates one from a pre-existing heightmap.

            image          = heightmap.ToBitmap();
            this.heightmap = heightmap;
        }
Ejemplo n.º 3
0
 public TempNode(NodeMap map) : base(map)
 {
     this.latWeight = 0.3f;
 }
Ejemplo n.º 4
0
 public TempNode(NodeMap map, float latWeight) : base(map)
 {
     this.latWeight = latWeight;
 }
Ejemplo n.º 5
0
 public OutputNode(NodeMap map) : base(map)
 {
     this.parent = null;
     this.mask   = null;
 }
Ejemplo n.º 6
0
 public ImageFileNode(NodeMap map, String fileName) : base(map)
 {
     image     = new Bitmap(fileName);
     heightmap = new Heightmap(image);
 }