Thanks Jonathon, yeah I am talking about 2D quadrilaterals. I want to
stretch a texture in it. I know how to do this with regular DirectX,
but I don't know how to get the d3ddevice with dxf to draw it.
> ------=_Part_1501_24503320.1169492772760
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 976
>
> Sorry my reply is so late. You're referring to 2D quadrilaterals?<br><br>One way to do it would be to create a new blank texture and use the drawing functions to draw your quadrilateral on it, using FloodFill to fill it in.
> <br><br>If this works for you, you could create a supporting function that takes the four points and draws it from that.<br><br><div><span class="gmail_quote">On 1/16/07, <b class="gmail_sendername">Adam Stevenson</b> <
> <a href="mailto:
adamstev...@gmail.com">
adamstev...@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> In my game, I need to render arbitrary quadrilaterals to make slanted<br>slopes for terrain. Can you please offer any suggestions of how I<br>could do this?<br>Thank you,<br>Adam<br></blockquote></div><br>-- <br>Jonathan Voigt
> <br>Center for Cognitive Architecture<br>University of Michigan
>
> ------=_Part_1501_24503320.1169492772760--