I've got a set of 1-8 CustomVertex.PositionColored vertices that I am rendering as a point list. Once I've rendered them, I need to label the points using transformed viewport coordinates and a call to DrawText.
Is there a way to get the transformed viewport coordinates of these vertices from directx w/o doing the math myself?
I assume that Device.ProcessVertices is the way to get the job done but I can't figure out how to make it work. In DirectX 9 C#, I keep getting System.InvalidArgumentException. I created the destBuffer with TransformedColored vertices.
Does anyone have a working example?
Thanks for any links or such!
Is there a way to get the transformed viewport coordinates of these vertices from directx w/o doing the math myself?
I assume that Device.ProcessVertices is the way to get the job done but I can't figure out how to make it work. In DirectX 9 C#, I keep getting System.InvalidArgumentException. I created the destBuffer with TransformedColored vertices.
Does anyone have a working example?
Thanks for any links or such!