   Plane info
  Hi im doing a physx dx10 thingy and basically i want to draw a plane with possibly a texture on it. i would like to know if i can set a texture and normals etc to a D3DXPlane. cos my other option is to use my box class and set its height to like 0.4 so it basically becomes a plane with ends.   
  You can use only 2 triangles(4 vertices) Look how I did it in XNA:public override void Draw(GameTime gameTime){    _effects.CurrentTechnique = _effects.Techniques["GroundPlane"];    _effects.Parameters["xGroundRez"].SetValue(new Vector2(_rezX, _rezY));    _effects.Parameters["xTexture"].SetValue(texture);    _effects.Parameters["xWorld"].SetValue(Matrix.CreateTranslation(_camera.Position.X, 0f, _camera.Position.Z));    GraphicsDevice.VertexDeclaration = new VertexDeclaration(GraphicsDevice, VertexPositionNormalTexture.VertexElements);    GraphicsDevice.Vertices[0].SetSource(vertexBuffer, 0, VertexPositionNormalTexture.SizeInBytes);    GraphicsDevice.Indices = indexBuffer;    _effects.Begin();    foreach (EffectPass pass in _effects.CurrentTechnique.Passes)    {   pass.Begin();   GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, 4, 0, 2);   pass.End();    }    _effects.End();}The main important thing that I've done there is that I didn't set texture cordinate!This is how I calculate the texture coords in the PS:float2 TextureCoords;TextureCoords.x = PSIn.Position3D.x * xGroundRez.x;TextureCoords.y = PSIn.Position3D.z * xGroundRez.y;So just put a 4 long distanee corners as vertices.   