public MeshDepthNode(int w, int h, GraphPixelType p = GraphPixelType.RGBA) { Name = "Mesh Depth"; Id = Guid.NewGuid().ToString(); width = w; height = h; tileX = tileY = 1; scaleZ = scaleY = scaleX = 1; rotationX = RotationY = rotationZ = 0; xOffset = yOffset = zOffset = 0; cameraZoom = 3; previewProcessor = new BasicImageRenderer(); processor = new MeshDepthProcessor(); internalPixelType = p; Inputs = new List <NodeInput>(); Output = new NodeOutput(NodeType.Gray, this); Outputs = new List <NodeOutput>(); Outputs.Add(Output); }
public MeshDepthNode(int w, int h, GraphPixelType p = GraphPixelType.RGBA) { Name = "Mesh Depth"; Id = Guid.NewGuid().ToString(); width = w; height = h; tileX = tileY = 1; scale = new MVector(1, 1, 1); position = new MVector(0, 0, 0); rotation = new MVector(0, 0, 0); cameraZoom = 3; previewProcessor = new BasicImageRenderer(); processor = new MeshDepthProcessor(); internalPixelType = p; Inputs = new List <NodeInput>(); Output = new NodeOutput(NodeType.Gray, this); Outputs = new List <NodeOutput>(); Outputs.Add(Output); }