   [SlimDx] Why use Vector4
  Hi,Apologies for the noobish question, but looking at the SimpleTriangle10 sample in Slimdx, the following code exists:stream.WriteRange( new[] {new Vector4(0.0f, 0.5f, 0.5f, 1.0f), new Vector4(1.0f, 0.0f, 0.0f, 1.0f),new Vector4(0.5f, -0.5f, 0.5f, 1.0f), new Vector4(0.0f, 1.0f, 0.0f, 1.0f),new Vector4(-0.5f, -0.5f, 0.5f, 1.0f), new Vector4(0.0f, 0.0f, 1.0f, 1.0f)} );And a effect structure like:struct VS_IN {float4 pos : POSITION;float4 col : COLOR;};So why use Vector4 instead of Vector3? Afterall we're dealing with a simple triangle with 3 vertices, in 3D space. What is the 4th (W) value for?The fourth values seems to distort the triangle but I dont quite understand why?regardsLuca   
  Those are pre-transformed vectors. If you use a vector3 then you need to setup the appropriate matrices and multiply it all out. Color is a vector4 for ease of use.   ;  So is the W also referred to Rhw, is this the same thing?Can I assume that in general, it should just be set to 1.0f?;  If you want to understand W look up perspective projection and homogeneous coordinates.   ;  Also, color tends to contain an "Alpha" component, RGBA.   