Difference between revisions of "Game Programming Class11"
(New page: Ship to XBox In class demo Creators Club Deploy to XBox360 with visual studio Package for deployment Intro To 3D Vectors : Vector3 x , y , z Right handed vs Left Handed Coordinate Sysem...) |
m (more small edits) |
||
Line 1: | Line 1: | ||
− | |||
Ship to XBox | Ship to XBox | ||
In class demo | In class demo | ||
Line 9: | Line 8: | ||
Vectors : Vector3 x , y , z | Vectors : Vector3 x , y , z | ||
− | Right handed vs Left Handed Coordinate | + | Right handed vs Left Handed Coordinate Systems RHCS and LHSC |
* 3D Basics | * 3D Basics | ||
* LHCS and RHCS - part 1 | * LHCS and RHCS - part 1 | ||
− | * | + | * Cartesian coordinates |
− | Matrices: A matrix is a class that is used to | + | Matrices: A matrix is a class that is used to transform vectors. |
High Level Shader Language | High Level Shader Language | ||
Line 26: | Line 25: | ||
View | View | ||
− | + | frustum of the camera view | |
ProjectionFlat 2D plane that intererates the 3D View | ProjectionFlat 2D plane that intererates the 3D View | ||
− | The video card is handed a list of vertices the vetices are then places in the world. The View is used to see the world and the projection is the | + | The video card is handed a list of vertices the vetices are then places in the world. The View is used to see the world and the projection is the actual view surface. |
* Vertex Buffer | * Vertex Buffer | ||
Line 37: | Line 36: | ||
Matrix Translations Simple Translation How To: Draw Points, Lines, and Other 3D Primitives | Matrix Translations Simple Translation How To: Draw Points, Lines, and Other 3D Primitives | ||
Modified How To: Draw Points, Lines, and Other 3D Primitives - source | Modified How To: Draw Points, Lines, and Other 3D Primitives - source | ||
− | + | Matrices can be multiplied together to combine the effects to their translation. The order in which you combine the does matter. | |
* I Identity | * I Identity | ||
Line 47: | Line 46: | ||
Intro3DVert1.zip - source | Intro3DVert1.zip - source | ||
− | Homework | + | |
− | Create a simple 3D Vertex buffer that draws some kind of simple object. You can use points | + | ==Homework== |
+ | Create a simple 3D Vertex buffer that draws some kind of simple object. You can use points, Triangles, or lines, but no meshes. |
Revision as of 01:23, 10 February 2009
Ship to XBox In class demo
Creators Club Deploy to XBox360 with visual studio Package for deployment Intro To 3D Vectors : Vector3 x , y , z
Right handed vs Left Handed Coordinate Systems RHCS and LHSC
* 3D Basics * LHCS and RHCS - part 1 * Cartesian coordinates
Matrices: A matrix is a class that is used to transform vectors. High Level Shader Language
HLSL pathway to Hardware.
World
Matrix that holds all Vertices send to video card View
frustum of the camera view ProjectionFlat 2D plane that intererates the 3D View
The video card is handed a list of vertices the vetices are then places in the world. The View is used to see the world and the projection is the actual view surface. * Vertex Buffer
Vertex buffer is a list of vertices that are used to make one of the XNA privative shapes. * VertexDeclaration
Matrix Translations Simple Translation How To: Draw Points, Lines, and Other 3D Primitives Modified How To: Draw Points, Lines, and Other 3D Primitives - source Matrices can be multiplied together to combine the effects to their translation. The order in which you combine the does matter.
* I Identity * S Scale * R Rotate * O Orbit * T Translate
Intro3DVert1.zip - source
Homework
Create a simple 3D Vertex buffer that draws some kind of simple object. You can use points, Triangles, or lines, but no meshes.