mapping a circle with a texture in D3D8

Started by
3 comments, last by Xeno 21 years, 6 months ago
im rendering a circle in Direct3D8 using D3DPT_TIRANGLEFAN and im wondering how should i map the texels of the texture, does anyone can help me?

------------------------------- Goblineye Entertainment------------------------------

Advertisement
Maybe this thread should be put in the "DirectX" forum or "Graphics Programming and Theory"?
I''ll move to DirectX... they can move it again if they feel the need.

[ MSVC Fixes | STL | SDL | Game AI | Sockets | C++ Faq Lite | Boost | Asking Questions | Organising code files | My stuff ]
Let''s take this one step further. How do you map a texture to a sphere?
i know how to map a texture to a sphere. im trying some similar why for a circle but it wont work...
can anyone wxpline how he doing it?
i need to map a circle coz i want to texture the two circled sides of the cylinder.

------------------------------- Goblineye Entertainment------------------------------

This topic is closed to new replies.

Advertisement