我認爲你喜歡學習非常基本的圖形和繪圖。從開始就很好,但要記住它會有一點點沉重的學習曲線。
Here是一個很好的教程,你可以開始。
我也給了一個示例從教程,讓你更好的理解。
VertexPositionColor[] vertices;
private void SetUpVertices()
{
vertices = new VertexPositionColor[3];
vertices[0].Position = new Vector3(-0.5f, -0.5f, 0f);
vertices[0].Color = Color.Red;
vertices[1].Position = new Vector3(0, 0.5f, 0f);
vertices[1].Color = Color.Green;
vertices[2].Position = new Vector3(0.5f, -0.5f, 0f);
vertices[2].Color = Color.Yellow;
}
device.DrawUserPrimitives(PrimitiveType.TriangleList, vertices, 0, 1, VertexPositionColor.VertexDeclaration);
這有點兒產生以下
像顯示圖像,我希望我理解你的問題正確,則這個細節會爲您提供您需要的答案。