Perspective scaling in GDI+ .net 2.0

PhatoseAlpha

Platinum Member
Apr 10, 2005
2,131
21
81
Are there any freely available libraries that will allow me to do perspective scaling (or at the very least, to distort a square image into a trapezoid)? When attempting to do this via microsoft's built in libs, I get 'not implemented' exception, which makes me cuss at the type of people who expose a function then don't implement it.
 

aCynic2

Senior member
Apr 28, 2007
710
0
0
Off the top of my head with no code to present, have you considered mapping it as a texture to a square polygon and then moving it in 3-space or moving the camera to a lower part looking up?

 

PhatoseAlpha

Platinum Member
Apr 10, 2005
2,131
21
81
Unfortunately, GDI+ doesn't do 3d. Unless I'm wildly mistaken, DirectX or XNA won't help me here as a workaround, since this is for a web deployment, and I can't expect the server to have either installed, even if they are usable via asp.net.
 

PhatoseAlpha

Platinum Member
Apr 10, 2005
2,131
21
81
Theoretically, sure. It's just that the time/benefit ratio changes a great deal if I have to implement it myself, and it's not worth it.