468,505 Members | 1,686 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Texture Mapping?

I have a four-sided polygon that rotates and zooms as the user moves the mouse. Is there a way to incorporate a texture-mapped
image without DirectX? The GDI+ doesn't seem to support this.

--

Myk Quayce

"If we can't be free, at least we can be cheap." - Frank Zappa


Nov 15 '05 #1
1 2910
Hmm...this is good question for microsoft.public.dotnet.framework.drawing
NG, but I will try my best to answer it here.

Texture mapping is quite a complex process. While you can implement it
yourself (and this has been done by many game developers prior to wide use
of Direct3D), you should better stick to Direct3D as it provides an
optimized, hardware acceleration-aware texture mapping.

You could also try to play with GDI+ transforms, but I am not sure they work
well for bitmaps.

P.S. Why you are reluctant to using DirectX?

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Myk Quayce" <my*@quayce.freeserve.co.uk.spamless> wrote in message
news:bu**********@news8.svr.pol.co.uk...
I have a four-sided polygon that rotates and zooms as the user moves the mouse. Is there a way to incorporate a texture-mapped image without DirectX? The GDI+ doesn't seem to support this.

--

Myk Quayce

"If we can't be free, at least we can be cheap." - Frank Zappa


Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mark L | last post: by
3 posts views Thread by Xpyder | last post: by
reply views Thread by Doug | last post: by
2 posts views Thread by =?ISO-8859-2?Q?Rafa=B3?= Maj | last post: by
reply views Thread by ...:::JA:::... | last post: by
reply views Thread by brixton | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.