3Dグラフィック
このセクションでは、低レベル3Dレンダリングを行うためのクラス群の概要、及び、そのチュートリアルを含んでおります。
3Dグラフィック概要?
The Microsoft.Xna.Framework.Graphics namespace contains classes to utilize the graphics device to load and render resources and to apply effects to vertices and pixels.
How to: シェーダモデル2.0のサポートを確認する
この例では、グラフィックカードがシェーダモデル2.0をサポートするかどうかを判別する方法を示します。
How to: 参照デバイスを使用する?
This example demonstrates how to create a custom PreparingDeviceSettings event handler to change the device creation parameters used by a GraphicsComponent prior to the device being created.
How to: 基本エフェクトを使用する
このサンプルでは、BasicEffectクラスのインスタンスを作成して初期化する方法、BasicEffectに描画させたい頂点バッファを初期化する方法、エフェクトを適用する方法およびジオメトリ(何らかの形状)を描画する方法を説明する。
How to: 点や線、3D素材の描画?
In XNA, a 3D primitive is a special type of 3D shape that describes how the graphics device interprets vertices stored in a vertex stream. This example demonstrates how to use the point, line, and triangle primitive types that are the basis for all low-level drawing calls in XNA.
How to: カスタム エフェクトの生成と適用?
This example demonstrates how to create a simple effect to set the diffuse color and world, view, and projection transformation of a 3D object.
How to: カスタム テクスチャ エフェクトの生成?
This example builds on the demonstrations How to: Draw Points, Lines, and Other 3D Primitives and How to: Create and Apply Custom Effects to demonstrate how to create an effect to apply a texture to a 3D primitive object.
affillogo.gif