private void largePointsToolStripMenuItem_Click(object sender, EventArgs e) { const float len = 100.0f; const int nDim = 50; float[] pointBuffer = new float[nDim * nDim * nDim * 3]; int idx = -1; for (int ii = 0; ii < nDim; ++ii) { for (int jj = 0; jj < nDim; ++jj) { for (int kk = 0; kk < nDim; ++kk) { ++idx; pointBuffer[idx * 3] = ii * len; pointBuffer[idx * 3 + 1] = jj * len; pointBuffer[idx * 3 + 2] = kk * len; } } } PointStyle pointStyle = new PointStyle(); pointStyle.SetPointSize(4.0f); pointStyle.SetColor(new ColorValue(0.0f, 0.0f, 0.0f)); PointCloudNode pcn = new PointCloudNode(); pcn.SetPointStyle(pointStyle); pcn.SetPoints(pointBuffer); pcn.ComputeBBox(); renderView.SceneManager.AddNode(pcn); renderView.RequestDraw(); }