Texture mapping on gluDisk
- by Marnix
I'm trying to map a brick texture on the edge of a fountain and I'm using gluDisk for that. How can I make the right coordinates for the disk? My code looks like this and I have only found a function that takes the texture along with the camera.
I want the cubic texture to be alongside of the fountain, but gluDisk does a linear mapping. How do I…