2008-07-06から1日間の記事一覧

円形

中心と周囲361個の点が必要 private const int VERT_NUM = 362; // 円形 vertexBuf = new VertexBuffer(typeof(CustomVertex.PositionTextured), VERT_NUM, device, Usage.None, CustomVertex.PositionTextured.Format, Pool.Managed); // 円形、プール自動…

三角形回った

http://www.atelier-blue.com/program/mdirectx/3d/3d01-10.htmくるくる Macbookではハードウェアで頂点処理できないっぽい device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, // softwareで頂点処理 presentParam);…