I wanna to draw and without ID3DX10Sprite,below is my idea,
I have created a buffer,only 1 vertex and assign one ShaderResourceView when I draw it,
when it's on Vertex shader I setup a Matrix Resource to indicate it's position,
and I have to setup position info on GeometryShader,
it should be like this
2loop for 2face,3loop for each vertex,assign position data to each vertex
but I have no idea how to get 2d coordinate,
for example I have one image size is 50,50
and I want to draw it on screen position 80,80.
I have using
D3DXMatrixTransformation2D(,,,,,&Pos);
to assign WorldMatrixVariable and multiple it with camera worldView Projection
but I can't see any the image on the screen...
please give a direction to me ,thanks :)