Rendering output to arbitary quadrilateral

Posted by Trainee4Life on Game Development See other posts from Game Development or by Trainee4Life
Published on 2012-04-22T04:19:21Z Indexed on 2012/06/25 15:23 UTC
Read the original article Hit count: 266

Filed under:
|
|

I want to render output on a device to an arbitary quadirlateral, i.e. project texture on to a quad. What are the possible ways I could implement it?

Till now, I have investigated:

  • Drawing textured quadrilateral - Quads look odd as they are composed of triangles, and the distortion looks odd. The issue I'm facing has been discussed here and here as well.
  • Setting transformation on device - Need help in getting this implemented.
  • Pixel shaders - Not able to implement the desired effect.

Any help would be much appreciated.

© Game Development or respective owner

Related posts about directx

Related posts about Windows