Collision Sample
http://xbox.create.msdn.com/ko-KR/education/catalog/sample/collision
Ray structure
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.ray(v=xnagamestudio.40).aspx
BoundingSphere structure
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.boundingsphere(v=xnagamestudio.40).aspx
BoundingBox structure
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.boundingbox(v=xnagamestudio.40).aspx
BoundingFrustum class
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.boundingfrustum(v=xnagamestudio.40).aspx
All posts by kpark
XNA4Particle
XNA4Particle
lecture17
lecture16
lecture15
XNA4AlphaTexture
XNA4AlphaTexture
– Ship Model (alpha=0.5) & p1_wedge Model (alpha=1)
– Crate Box (alpha=0.5) & xna_logo Box (alpha=1)
– Danc_princess Quad (alpha=0.5) & nice Quad (alpha=1)
XNA4AdditiveBlending
XNA4AdditiveBlending (using SpriteBatch)
XNA4 Billboards Sample
http://xbox.create.msdn.com/en-us/education/catalog/sample/billboard
This sample shows how to efficiently render large numbers of billboard sprites by using a vertex shader to perform the billboard computations entirely on the GPU.
-The VegetationProcessor takes in a simple landscape mesh and randomly creates billboard polygons scattered across it. These new polygons are set to render using the Billboard.fx effect, and a number of different billboard textures and sizes are randomly selected.
-In the vertex shader, the billboard effect calculates vertex positions by examining the view matrix to ensure the billboard sprite will always face toward the camera. It also uses a per-billboard random number to make each billboard a slightly different shape, and to randomly mirror the textures on half of the billboards, adding variety to the results. etc…
-The billboards are rendered in two passes by using different alpha test and depth buffer settings to achieve almost correct depth sorting of alpha blended sprites without requiring them to be depth sorted on the CPU first.
XNA4 Shadow Mapping Sample
http://xbox.create.msdn.com/en-us/education/catalog/sample/shadow_mapping_1
This sample shows you how to implement basic shadow mapping from a directional light where the view and projection of the shadow map adapt to the viewing frustum of the viewer’s camera. You can use the sample to shadow a large scene with multiple dynamic objects that cast dynamic shadows.
XNA4SaveStateMode
SpriteBatch and renderstates in XNA Game Studio 4.0
http://blogs.msdn.com/b/shawnhar/archive/2010/06/18/spritebatch-and-renderstates-in-xna-game-studio-4-0.aspx
XNA 4.0에서 SaveStateMode
http://gomdong-alchemist.tistory.com/entry/XNA-40%EC%97%90%EC%84%9C%EC%9D%98-SaveStateMode-%EA%B5%AC%ED%98%84%ED%95%98%EA%B8%B0