PDA

View Full Version : Texture mapping on Disk surface



tds
02-11-2003, 10:50 PM
Hi,
It is required in our application that a square image should be converted to circular one.
we have decided to take advantage of OpenGL's Texture mapping concept.

We had started with considering Disk surface. But Texture mapping to a Disk surface cuts off image data at corners.i.e. it's
appearance on a disk surface is same as that in case of original one with corner cut.

Can anybody can guide me regarding this.

Regards
Ankit
(Textronics Design System)

DFrey
02-12-2003, 10:06 AM
Calculate the texture coordinates by way of a conformal map. And then rest assured, that you will always be missing some portion of the image. All you can do is minimize what is left out.

[This message has been edited by DFrey (edited 02-12-2003).]