protected void DrawPlane()
{
rgbPlane = new Vec3[pData.Width, pData.Height];
for (int i = 0; i < pData.Width; i++)
{
for (int j = 0; j < pData.Height; j++)
{
rgbPlane[i, j] = GetRgb(i, j);
}
}
}