PDA

View Full Version : Texturing a Circle



Arkeshen
04-19-2012, 05:58 AM
I am having trouble Texturing a circle. I understand how to texture a quad, but texturing a Circle befuddles me. Any help would be appreciated.

carsten neumann
04-19-2012, 07:49 AM
You are not saying what exactly your problem is, other than your attempts to texture a circle don't yield the expected results. That makes it difficult to help you, see the forum posting guidelines (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=305969&an=2#Pos t305969) for suggestions how to avoid that problem.

In general texturing always works the same way: you assign texture coordinates to the vertices thereby identifying points in your texture with points on your object. For a circle you probably want to map a circular part of your texture to it, so you need to choose texture coordinates that describe that circular part.

Arkeshen
04-19-2012, 08:18 AM
I have figured out my problem, I no longer need assistance.