Original Post
This may seem like a silly question, but here goes. I'm using pretransformed verticies (D3DFVF_XYZRHW) for many GUI elements of my program.
Let's say I have a Button element whose verticies in a vertex buffer are at (0, 0), (100, 0), (100, 20), and (0, 20). What I'd like to be able to do is transform these verticies to the location of the button on the screen at (x, y). As opposed to locking the vertex buffer and updating the verticies for each button that exists. Is there any way to accomplish this idea of very basically "transforming" D3DFVF_XYZRHW verticies?
I had previously simply used untransformed verticies (D3DFVF_XYZ) and an Ortho view matrix to handle GUI elements. So I'm aware of that approach, along with its advantages and disadvantages.
Brett
[edited by - Bretttido on October 17, 2002 9:54:17 PM]